Data source name not found and no default driver specified
- From: rabblerowzer@xxxxxxxxx
- Date: Tue, 05 Jun 2007 16:31:18 -0700
Hi, I have IIS and SQL Server2K on the same machine where I am trying
to get an ASP file to return data. I can not get past this one error
though:
ERROR MESSAGE:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified
/WebFiles/Page1.asp, line 122
I've messed with and tripple checked each of the areas below
-Web Site's Configuration in IIS
-Registry key associated with ODBC Driver
-ODBC driver / DSN
-Changed the connection string in every way.
CONNECTION STRING:
MyConn= "PROVIDER=SQLOLEDB.1;DATA
SOURCE=xxx.xxx.xx.xx;UID=User;PWD=pwd;Network Library=dbmssocn;Initial
Catalog=DB Name;"
LINE 122:
<%Set MyConn = Server.CreateObject ("ADODB.Connection")
%>
<%Set RS=Server.CreateObject ("ADODB.RecordSet")%>
Any ideas?
Thanks,
.
- Follow-Ups:
- Re: Data source name not found and no default driver specified
- From: Erland Sommarskog
- Re: Data source name not found and no default driver specified
- Prev by Date: To get row in XML
- Next by Date: RE: To get row in XML
- Previous by thread: To get row in XML
- Next by thread: Re: Data source name not found and no default driver specified
- Index(es):
Relevant Pages
|
|