Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Server Timeout Error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Server Timeout Error

 Post Reply Post Reply
Author
velkymx View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote velkymx Quote  Post ReplyReply Direct Link To This Post Topic: Server Timeout Error
    Posted: 01 October 2003 at 6:54pm

I am using the forum (ver 7.01 SQL) and i keep getting this error:

Microsoft OLE DB Provider for SQL Server error '80004005'

[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

However the server DOES exist... it seems to happen under load. Any ideas?

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2003 at 8:07pm
Check that your password, username, database name, and server address are correct.
Back to Top
velkymx View Drop Down
Groupie
Groupie


Joined: 24 February 2003
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote velkymx Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2003 at 10:27pm

It works some of the time, thats how I know it isnt a configuration problem.... check out: http://www.novaworld.com/forum

You can see for yourself.

Back to Top
fernan82 View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 17 November 2002
Location: United States
Status: Offline
Points: 362
Post Options Post Options   Thanks (0) Thanks(0)   Quote fernan82 Quote  Post ReplyReply Direct Link To This Post Posted: 01 October 2003 at 11:28pm

Ok the error came up once on your latest post at the bottom of the default page but when I hit refresh i didn't got the error anymore but the latest posts still didn't show up...

I guess you're using a mod with it's own db connection string, so open your default.asp (or whater file the mod is) and make sure the connection string is the same for the forum, or a much better idea would be to mod the mod to use the same connection objects as the forum...., here's the code I used for that mod on my default.asp:


   Dim PostCountInfo
   Dim strTopicSubjectInfo

   Set rsCommon = Server.CreateObject("ADODB.Recordset")

   strSQL = "SELECT " & strDbTable & "Topic.Topic_ID, " & strDbTable & "Topic.Subject, " & strDbTable & "Forum.Forum_ID, " & strDbTable & "Forum.[Read] "
   strSQL = strSQL & "FROM " & strDbTable & "Forum INNER JOIN " & strDbTable & "Topic ON " & strDbTable & "Forum.Forum_ID = " & strDbTable & "Topic.Forum_ID "
   strSQL = strSQL & "WHERE ((" & strDbTable & "Forum.Password) Is Null) "
   strSQL = strSQL & "ORDER BY " & strDbTable & "Topic.Last_entry_date DESC;"

   rsCommon.Open strSQL, adoCon

   If rsCommon.EOF Then
    Response.Write "<span class=""smltext"">No Forum Posts Made</span>"
   Else
    Do while NOT rsCommon.EOF AND PostCountInfo < 6

    intForumID = CInt(rsCommon("Forum_ID"))
    intForumReadRights = CInt(rsCommon("Read"))
    Call forumPermisisons(intForumID, intGroupID, intForumReadRights, 0, 0, 0, 0, 0, 0, 0, 0, 0)

    If blnRead Then
    PostCountInfo = PostCountInfo + 1
    strTopicSubjectInfo = rsCommon("Subject")
    Response.Write(vbCrLf & "<a href=""/forum/forum_posts.asp?TID=" & rsCommon("Topic_ID") & "&PN=1"" class=""smLink"">" & strTopicSubjectInfo & "</a>")
    If NOT rsCommon.EOF Then Response.Write("<br />")
    End If

    rsCommon.MoveNext

    Loop
   End If

   rsCommon.Close

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: 02 October 2003 at 6:10am
This error can also happen if the SQL server can not be connected to. This can happen if there is a problem with the network for example the network has to much load on it and con not connect to the SQL server. This then is a problem with the network rather than the forum software.
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.