navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Page: [1]
 
lu lu

 

Posts: 418
From: wpg, mb
Status: offline

 
Microsoft OLE DB Provider for ODBC Drivers error '80004... - 11/1/2004 16:09:26   
Was wondering if anyone has come across this error:), and what they did:), thanks

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]General network error. Check your network documentation.

/db/connection.asp, line 8

Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Microsoft OLE DB Provider for ODBC Drivers error '8... - 11/2/2004 1:59:29   
What query is it trying to run?

quote:

This is often a firewall / router issue. Test that your web server can ping the SQL Server (both by name and IP) and make sure that your connection string points to a valid IP address or network name.


http://www.aspfaq.com/show.asp?id=2009

_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to lu lu)
lu lu

 

Posts: 418
From: wpg, mb
Status: offline

 
RE: Microsoft OLE DB Provider for ODBC Drivers error '8... - 11/2/2004 11:53:29   
this is the asp:

set conn = server.createobject("ADODB.connection")
conn.ConnectionTimeout=1000

conn.open {Driver=SQL Server};" & _
"Server = 192.168.1.13;" & _
"Database=blah_blah;" & _
"Uid=blah;" & _
"Pwd=blah2;"

(in reply to Spooky)
Spooky

 

Posts: 26599
Joined: 11/11/1998
From: Middle Earth
Status: offline

 
RE: Microsoft OLE DB Provider for ODBC Drivers error '8... - 11/2/2004 12:08:48   
Try something different - but youll also need to check with your host if it fails

sDSN = "Provider=sqloledb;Data Source=xxx.xxx.xxx.xxx,1433;Network Library=DBMSSOCN;Initial Catalog=[DatbaseName];User Id=[UserName];Password=[Password];"

 set conn = server.createobject("ADODB.connection")
conn.ConnectionTimeout=1000

conn.open sDSN


_____________________________

If you arent part of the solution, then there is good money to be made prolonging the problem

§þ:)


(in reply to lu lu)
lu lu

 

Posts: 418
From: wpg, mb
Status: offline

 
RE: Microsoft OLE DB Provider for ODBC Drivers error '8... - 11/2/2004 14:18:34   
Hey Spooky,
now have this error:

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionRead (recv()).]General network error. Check your network documentation.

E:\WEBSITES\blahblah\INCLUDES\../db/connection.asp, line 25

I'm looking this up on the net, no luck yet, any suggestions on this?

< Message edited by lu lu -- 11/2/2004 14:28:37 >

(in reply to lu lu)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts