|
-
Sep 15th, 2000, 11:26 AM
#1
Thread Starter
Member
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
help!!!!!!!!!!!!
Trying to make a DSN, can I do thid to a local file through control panel then ftp it to my remote server???
Thanks,
SG
-
Sep 15th, 2000, 11:35 AM
#2
Thread Starter
Member
my code getting the error...
Set dbGlobalWeb = Server.CreateObject
("ADODB.Connection")
dbGlobalWeb.Open ("Employees")
--------------------------------
I think this last line is getting the error.
-
Sep 17th, 2000, 07:43 AM
#3
Hi, i may not be able to help u with solid solution, but why dont u try creating a system DSN using the appropriate ODBC driver (remember different drivers for different databases! ). somehow this is just an idea. hope it will help you. sorry if it doesnt. all the best
-
Sep 17th, 2000, 10:45 AM
#4
Guru
Maybe this...
dbGlobalWeb.Open ("DSN=Employees")
You are usually better off (for simplicity and performance reasons) to use a DSN-less connection string
like this:
dbGlobalWeb.Open "Provider=SQLOLEDB;Data Source=ServerName;UID=UserName;PWD=Password"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|