Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIS server times out
Message
De
24/08/2006 15:53:14
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Test et débogage
Titre:
IIS server times out
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01148349
Message ID:
01148349
Vues:
66
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform