September 10, 2012 at 10:14 am
Hello everyone. I have a .mdb file from an instance of sql 2000 that I copied from the server and I need to connect to it from my office. I am currently running sql server 2012 and am getting many different types of errors. I've tried linked server, attaching with no success. Any ideas?
THanks
September 10, 2012 at 10:27 am
You can't attach a SQL 2000 DB to SQL 2012, you need to first upgrade the DB to SQL 2005 or SQL 2008 (by attaching it to one of those versions), then you can detach it and attach it to SQL 2012
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 10, 2012 at 11:00 am
Is there any other way that I can connect to it? I just need to connect and run queries against the DB for sending hourly reports.
September 10, 2012 at 11:12 am
No. SQL Server is not a file-based database like MS Access. To use a DB, the DB must be attached to a running SQL instance.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 11, 2012 at 11:16 am
You can created the Linked server using OLEDB Provider for ODBC Connection (You need to attach the file to an SQL 2000 Instance)
Data Source=SERVER;Initial Catalog=Data;User Id=YOURUSR;Password=yourpassword;
& you will be able to query data.
Select top 100 * from Server.Catalog.dbo.Tablename
Regards.
September 11, 2012 at 11:23 am
I don't have the USERID/Password to Computer A. I use windows authentication to connect.
September 11, 2012 at 11:26 am
you can use
Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;
for the ODBC
September 11, 2012 at 11:37 am
What about "Provider String" and "Location"?
Also, did you mean "Microsoft OLE DB Provider for ODBC Drivers"?
September 11, 2012 at 11:42 am
Provider:
Microsoft OLE DB Provider for ODBC Drivers
Product Name: (Not Required)
DataSource:
YourDesireDataSourceNAME
Provider String:
Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated Security=SSPI;
Location: (Not Required)
Catalog:
myDatabase
September 11, 2012 at 11:57 am
Still getting errors:
Invalid Authorization Specification.
I noticed a "Security" tab. I've tried several options there with no success either.
I appreciate your help on this.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply