Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIS server times out
Message
From
24/08/2006 15:53:14
 
 
To
All
General information
Forum:
ASP.NET
Category:
Testing and debugging
Title:
IIS server times out
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01148349
Message ID:
01148349
Views:
65
I have something strange going on another project I just started. Basically, the framework is unchanged. However, at startup, the server times out on a very simple line. Here is the piece of code where this is happening:
        ' Connection string collection
        Public oConnection As Collection = New Collection

            Dim lcConnection As String = ""

            ' Connection strings
            lnConnection = Val(GetIni(cINIDirectory + cINIFile, "System", "Connection"))
            For lnCounter = 1 To lnConnection
                lcConnection = GetIni(cINIDirectory + cINIFile, "Connection", "Connection" + lnCounter.ToString)

                ' See if we have to parse the startup directory
                lcConnection = StrTran(lcConnection, "<%=Framework.App.cStartupDirectory%>", cStartupDirectory)

                Throw New System.Exception(lcConnection)
                oConnection.Add(lcConnection)
            Next
As you can see, I have inserted a Throw exception just to make sure everything was ok up until that point and that I have the good value in lcConnection. So, that part is ok. However, if I move the Throw exception line after the oConnection.Add(), the IIS server times out.

This doesn't make any sense. I have never seen something like this.

The event viewer reports this which doesn't provide that much:

aspnet_wp.exe (PID: 3472) was recycled because it failed to respond to ping message.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform