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

IIS on XP Pro & Database Connection w/System DSN

Status
Not open for further replies.

jlong9

Programmer
Oct 17, 2003
4
US
Before I got my new PC with WinXP Pro on it, I was using Personal Web Server on Windows 2000. All of my pages worked fine.

Now, that I have to use IIS on XP Pro, I am getting an error every time I access a page. Here is the one that I am getting:

Error Type:
Provider (0x80004005)
Unspecified error
/index.asp, line 7

Here is the code for index.asp, lines 6 & 7:

Set Con = Server.CreateObject( "ADODB.Connection" )
Con.Open "accessDSN"

I do have a System DSN set up called accessDSN and it is pointing to an Access Database. All of my .asp files worked fine on PWS on my Win2000 machine and I haven't changed any ASP code since I have pointed the default web site on IIS to my production folder on my c drive where my asp files are.

Any ideas? I'm pretty new to IIS, so I could be missing something fairly easy. Thanks.
 
does the "IUSR_machine" have the access rights to the folder where the DB is located? 2x check them....by using IS manager from your Administrator Tools
All the best!

> need more info?
:: don't click HERE ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top