Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cross Server database connection

Status
Not open for further replies.

ducky62

Programmer
Jul 10, 2001
24
CA
Hi,
I'm trying to connect to a Access 97 Database through ASP. The Server my database is on is not the same server that my asp pages are on. Now when I try to connect to the database I get the following error:

Microsoft JET Database Engine error '80040e4d'

Cannot start your application. The workgroup information file is missing or opened exclusively by another user.

the connection line I am using to reference the database is:

objConnection.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=f:\CCOPR\Data\db2.mdb;Jet OLEDB:Database=c:\inetpub\
and the paths are correct...

If you have any info as to what my problem is any help would be appreciated

thx
Derek
 
You can't connect to an Access database from across servers. It needs to reside on the same server as the asp pages. The only way I think you can do this, is through RDS (i'm not sure), but in order to do that you would need to create a separate component.

hope this helps
leo
 
Can you connect to an sql database between servers?
 
also If I do have to use RDS can you recommend a good site which will tell me how to use it..

thx
Derek
 
you can connect to a SQL database, across server, across the internet even. Check out the connectivity FAQ (faq333-178) and change the Data Source name to SQL Server's IP Address or whatever's applicable in your situation.

Personally - I've never really used RDS, I was researching it for an application that I was creating, but I wasn't able to find an extensive resource on it, so I scrapped the idea.

good luck to you.
leo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top