Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SQL Server error ‘80004005’ – version 7.9
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SQL Server error ‘80004005’ – version 7.9

 Post Reply Post Reply
Author
Hjemmebio View Drop Down
Newbie
Newbie


Joined: 20 October 2004
Location: Denmark
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hjemmebio Quote  Post ReplyReply Direct Link To This Post Topic: SQL Server error ‘80004005’ – version 7.9
    Posted: 20 October 2004 at 2:29pm

Hello helpful people

I have some problems with my new installed forum. My friends and I often have a problem with this error:

Microsoft OLE DB Provider for SQL Server error ‘80004005’

Timeout expired

/functions/functions_common.asp, line 710

Once I had this error in Default.asp in line 236

I don’t know what to do; I have bought the system, so I very much hope I can make it work..

Best regards

Denmark



Edited by Hjemmebio
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 October 2004 at 1:44pm
This is a server issue.

Your MS SQL Server is not returning the data in the allowed time.
Back to Top
Hjemmebio View Drop Down
Newbie
Newbie


Joined: 20 October 2004
Location: Denmark
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hjemmebio Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2004 at 1:02pm

From the hosting company I received this information..

 

Timeout expired – is something you can place in the connection string – see example

 

The what me to connect like following, the new thing is "Connect Timeout=30"

 

I have kept the org. code for the forum, but is it possible to set the connect Timeout=30 in one of the files??

 

Please be specific, because my knowledge of ASP is junior amateur..



'--- Database forbindelse ---
strDBConn = "Provider=sqloledb;" & _
"Data Source=195.69.128.142,1433;" & _
"Network Library=DBMSSOCN;" & _
"Connect Timeout=30;" & _
"Initial Catalog=XXXXXXX;" & _
"User ID=XXXXXX;" & _
"Password=XXXXXXX;"

I have found the file containing data source, user id, password but nothing about connect timeout??

 

Please help me..

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2004 at 2:39pm
Try placing the connection timeout property at the end of the connection string.
Back to Top
Hjemmebio View Drop Down
Newbie
Newbie


Joined: 20 October 2004
Location: Denmark
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hjemmebio Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2004 at 2:49pm

Please give me an example... I don’t know ASP yet, but perhaps in time.

 

Best with an example form the org. code (please filename)

 

I don’t know what two look for??  Is there only one place to do this or hundreds???

 

Best regards

 

Overgaard

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 23 October 2004 at 2:13pm
It's held in the SQL connection file in the admin area.

I've never tried adding a timeout to the connection so you'll just have to try it.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.