469,945 Members | 1,815 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,945 developers. It's quick & easy.

error on ASP

9
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

Pls help me
Aug 16 '06 #1
2 1327
lipsa
35
hi,
plz check ur database connection string.
Aug 16 '06 #2
sha407
9
hi,
plz check ur database connection string.

I am alredy chk my string

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

I am using following script,when i am connected to VB it's work,


Sub OpenDB()
Set conDB = Server.CreateObject("ADODB.Connection")
conDB.ConnectionTimeOut=60
If Request.ServerVariables("HTTP_HOST")="www.shan.com " Or Request.ServerVariables("HTTP_HOST")="shan.com" Then
conDB.Open "shan", "shan1", "test"
Else
conDB.Open "shan", "", "test1"
End If
End Sub
Aug 17 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Gregory | last post: by
7 posts views Thread by p | last post: by
3 posts views Thread by Manuel | last post: by
1 post views Thread by developer | last post: by
reply views Thread by mchuc7719 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.