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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Connection string

Status
Not open for further replies.

cykophysh

Programmer
May 10, 2002
2
GB
Right People , my Dilemma is such, don't shoot me if the answer is perfectly simple, I'm a desktop programmer who's had to do a Intranet page, so easy on me!1
Right Problem!!
I have a Intranet based web page, that is hosted on one server, but needs to contact an Access Database that is located on another server, now my problem is this,
I have established the connection using "DSn= MyDSnConnection", now this works fine when I view the page on my box, but as soon as I get a user to logon to the page, it gives me an error saying, "Attempting to retrieve data from another domain",
Okay I suppose more background maybe required, I have written all the connection Logic in a Javascript file, .JS , which is linked to the webpage appropriately, anyway,
my question is such,
I am now attempting to write a connectionstring, to connect to the .mdb , is there any way of writing a connection string that can connect to another server to locate the mdb file??

sorry if the question sounds sketchy , but I am normally piss poor at explaining myself :)
 
Sure can. Go to the ASP forum here at Tek-tips and look in the FAQS. there are several on connecting to Access files.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top