« Previous Next »

Thread: Need help - IIS7 delivering blank page randomly only recycle helps

Last post 07-01-2009 3:27 AM by attilaf. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 06-30-2009, 7:22 AM

    • attilaf
    • Not Ranked
    • Joined on 06-30-2009, 6:28 AM
    • Posts 3

    Need help - IIS7 delivering blank page randomly only recycle helps

    Hi all,

    We have a W2008 server running with IIS7 and Plesk 8.4.0. The server configuration includes asp .net 3.0 , php 5.2.5 , mysql 5.0.77 community, and SQL Server 2005.

    The site starts un normally, after a period of time the html is getting received in the browser but the page content is not displayed only if javascript is disabled. If you wait more IIRC the page is not rendered at all. Other sites in different pools continue to work fine. If we put the site to the global default pool, most of the sites act same way (render the page partially or not at all). There was an older site without ajaxpro that seemed to work in this condition.

    The site is made with asp .net 2.0 C# and it's using the latest version of mysql.data.dll to connect to the database. The data is handled with stored procedures. The site does have a dedicated pool.

    The website uses a few third party dll like ajaxpro2, mysqldata, fck editor, GMDatePicker.dll .

    The event log shows once in 10 minutes the error

    Faulting application w3wp.exe, version 7.0.6001.18000, time stamp 0x47919413, faulting module ntdll.dll, version 6.0.6001.18000, time stamp 0x4791a783, exception code 0xc0000374, fault offset 0x000aada3, process id 0xa20, application start time 0x01c9f96eb2b75b2b.

    Sometimes when we try to do iisreset /stop we receive the error :

    Attempting stop...
    Stop attempt failed.
    The data is invalid. (2147942413, 8007000d)

    We installed Debug Diagnostic Tool and made a profile for each scenario, Crash, Hang etc... we don't have any result yet.

    We suspect there is a memory leak but we are not sure where to search.
    Any ideas what is going on ?

    The webconfig:

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <appSettings>
            <add key="ProjectName" value="Project" />
            <add key="ListInitialItems" value="20" />
            <add key="ListInitialItemsSite" value="10" />
            <add key="DefaultCulture" value="ro-RO" />
            <add key="EnableErrorHandling" value="true" />
            <add key="ErrorsEmailSender" value="xxx@company.ro"/>
            <add key="SupportEmail" value="xxx@company.ro" />
            <add key="NewsletterEmail" value="xxx@Project.ro" />
            <add key="FromEmail" value="xxx@Project.ro" />
            <add key="FromEmailRegister" value="xxx@Project.ro" />
            <add key="FromEmailRezervariIntern" value="xxx@Project.ro" />
            <add key="FromEmailRezervariExtern" value="xxx@Project.ro" />
            <add key="FromEmailRezervariCorporate" value="xxx@Project.ro" />
            <add key="FromEmailBileteAvion" value="xxx@Project.ro" />
            <add key="FromEmailRentaCar" value="xxx@Project.ro" />
           
            <add key="SpoolPath" value="x:\\surgemail\\spool\\" />
            <add key="MailSendMethod" value="smtp" />
            <add key="ServerAddress" value="localhost" />
            <!-- Settings for Images Control-->
            <add key="ImagesPath" value="/Images/" />
            <add key="XmlFile" value="/XML/Formats.xml" />
            <!-- End Settings-->
            <!-- Settings for Documents Control -->
            <add key="DocumentPath" value="/Document_Files/" />
            <add key="ClientDocuments" value="/Document_Files/" />
            <add key="DocumentSize" value="10" />
            <add key="DocIcons" value="/i/doc_icons/" />
            <add key="AdsServerIP" value="www.Project.ro" />
            <add key="AdsCampaignID" value="1" />
            <!-- Extesiile sunt definite astfel: |poza_icon/extensie1,extensie2,extensie3,etc|-->
            <add key="DocExtensions" value="unknown.gif/*|rar.gif/rar|zip.gif/zip|ace.gif/ace|jpeg.gif/jpg,jpeg|gif.gif/gif|avi.gif/avi|doc.gif/doc|html.gif/htm,html|mp3.gif/mp3|mpg.gif/mpg|pdf.gif/pdf|ppt.gif/ppt|txt.gif/txt|xls.gif/xls" />
            <add key="FCKeditor:UserFilesPath" value="/FCKEditorUserFiles/" />
            <add key="IsUrlRewrite" value="true" />
            <!-- End Settings -->
        </appSettings>
        <connectionStrings>
            <add name="xxxxx" providerName="MySql.Data.MySqlClient" connectionString="SERVER=localhost;DATABASE=xxxxx;UID=xxxxx;PASSWORD=xxxxx;" />
            <add name="xxxxx2" providerName="MySql.Data.MySqlClient" connectionString="SERVER=xxxxx;DATABASE=xxxxx;UID=xxxx;PASSWORD=xxxxx;" />
            <add name="Statistics" providerName="MySql.Data.MySqlClient" connectionString="SERVER=xxxxx;DATABASE=xxxxx;UID=xxxx;PASSWORD=xxxx;" />
        </connectionStrings>
        <system.web>
            <httpRuntime maxRequestLength="51200" />
            <pages enableEventValidation="false" validateRequest="false" viewStateEncryptionMode="Never" enableViewStateMac="false" />
            <httpHandlers>
                <add verb="*" path="*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
            </httpHandlers>
            <customErrors mode="Off"></customErrors>
            <compilation debug="false">
                <assemblies>
                    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
                    <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                    <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /></assemblies>
            </compilation>
                <sessionState mode="InProc" cookieless="false" timeout="600" />
        </system.web>
        <system.webServer>
            <validation validateIntegratedModeConfiguration="false" />
                <defaultDocument>
                    <files>
                    <clear />
                    <add value="Default.aspx" />
                    <add value="Login.aspx" />
                    <add value="temp.aspx" />
                    <add value="Index.html" />
                    <add value="Index.htm" />
                    <add value="Index.cfm" />
                    <add value="Index.shtml" />
                    <add value="Index.shtm" />
                    <add value="Index.stm" />
                    <add value="Index.php" />
                    <add value="Index.php3" />
                    <add value="Index.asp" />
                    <add value="Index.aspx" />
                    <add value="Default.htm" />
                    <add value="Default.asp" />
                
                    </files>
                </defaultDocument>
                <handlers>
                        <add verb="*" path="*.ashx" name="AjaxPro" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2" />
                </handlers>
                <rewrite>
                <rules>
                    <clear />
                    <rule name="Documente">
                        <match url="/Document_Files//documente--(.*)--d([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="//Document_Files//documente/{R:2}/{R:1}" />
                    </rule>
                    <rule name="agentii" patternSyntax="ECMAScript">
                        <match url="((ro|en|de)/){0,1}agentii/(.*)--([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="agentii.aspx?lang={R:2}&amp;eID={R:4}" />
                    </rule>
                    <rule name="Culture" stopProcessing="true">
                        <match url="^ro$|^en$|^de$" />
                        <action type="Rewrite" url="/default.aspx?lang={R:0}" />
                    </rule>
                    <rule name="geografie">
                        <match url="((ro|en|de)/){0,1}(Oras|Regiune|Tara)/(.*)--g([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/geografie.aspx?lang={R:2}&amp;t={R:3}&amp;eid={R:5}" />
                    </rule>
                    <rule name="rezervare">
                        <match url="((ro|en|de)/){0,1}(solicita-oferta)/(.*)/(.*)--s([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/rezervare.aspx?lang={R:2}&amp;p={R:5}&amp;d={R:4}&amp;s={R:6}" />
                    </rule>
                        <rule name="rezervare fara parametrii">
                        <match url="((ro|en|de)/){0,1}(solicita-oferta).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/rezervare.aspx?lang={R:2}" />
                    </rule>
                    <rule name="bilete de avion">
                        <match url="((ro|en|de)/){0,1}(rezervari-bilete-avion)/(.*)/(.*)--(.*).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/rezervariAvion.aspx?lang={R:2}&amp;dest={R:5}&amp;depart={R:4}&amp;airline={R:6}&amp;tab=avion" />
                    </rule>
                    <rule name="bilete de avion oferte speciale">
                        <match url="((ro|en|de)/){0,1}(rezervari-bilete-avion)/(oferte-speciale).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/rezervariAvion.aspx?lang={R:2}&amp;p=OferteSpeciale" />
                    </rule>
                    <rule name="bilete de avion fara parametrii">
                        <match url="((ro|en|de)/){0,1}(rezervari-bilete-avion).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/rezervariAvion.aspx?lang={R:2}&amp;tab=avion" />
                    </rule>
                    <rule name="HomePages">
                        <match url="((ro|en|de)/){0,1}(Vacante-in-Romania|Vacante-in-strainatate|Cazare-si-evenimente-in-orase)--s([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/defaultVacante.aspx?lang={R:2}&amp;s={R:4}&amp;t={R:3}" />
                    </rule>
               
                    <rule name="DetaliuProdusFaraCultura">
                        <match url="(.*)--(.*)--([0-9]+)/([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/produs.aspx?lang=ro&amp;param={R:2}&amp;page={R:3}&amp;pID={R:4}" />
                    </rule>
                    <rule name="ListaProduseCuCultura">
                        <match url="(ro|en|de)/(.*)--(.*)--([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/produse.aspx?lang={R:1}&amp;param={R:3}&amp;page={R:4}" />
                    </rule>
                    <rule name="ListaProduseFaraCultura">
                        <match url="(.*)--(.*)--([0-9]+).html" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                        </conditions>
                        <action type="Rewrite" url="/produse.aspx?lang=ro&amp;param={R:2}&amp;page={R:3}" />
                    </rule>
                    <rule name="PaginiCuCultura" stopProcessing="true">
                        <match url="(ro|en|de)/([0-9a-zA-Z-_]+).html" />
                        <action type="Rewrite" url="/detaliu.aspx?lang={R:1}&amp;t={R:2}" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        </conditions>
                    </rule>
                    <rule name="PaginiFaraCultura" stopProcessing="true">
                        <match url="([0-9a-zA-Z-_]+).html" />
                        <action type="Rewrite" url="/Detaliu.aspx?t={R:1}" />
                        <conditions>
                            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                        </conditions>
                    </rule>
                   

                </rules>
            </rewrite>   
            <httpErrors errorMode="DetailedLocalOnly" defaultPath="C:\inetpub\vhosts\xxx.ro\httpdocs\Eroare.aspx" defaultResponseMode="File">
                <remove statusCode="404" subStatusCode="-1" />
                <error statusCode="404" prefixLanguageFilePath="" path="C:\inetpub\custerr\en-US\404.htm" responseMode="File" />
            </httpErrors>
        </system.webServer>
        <system.net>
            <mailSettings>
                <smtp>
                    <network host="mail.Project.ro" userName="website@Project.ro" password="xxxx" port="25" />
                </smtp>
            </mailSettings>
        </system.net>
    </configuration>
     

  • 06-30-2009, 5:29 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Need help - IIS7 delivering blank page randomly only recycle helps

    The c0000374 error means STATUS_HEAP_CORRUPTION which means that one of your 3rd party dlls is corruption the heap in the IIS worker process - you will probably need to work with the owners of those 3rd party dlls to identify the culprit.  If at all possible, if you can separate applications using those dlls into separate application pools, you may be able to identify which of those dlls is causing the heap corruption.  Also, if you want to try to figure out the cause yourselves, you can try using application-verifier to help you with it.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 07-01-2009, 2:27 AM In reply to

    • attilaf
    • Not Ranked
    • Joined on 06-30-2009, 6:28 AM
    • Posts 3

    Re: Need help - IIS7 delivering blank page randomly only recycle helps

     Thanks. It was Regex without try catch in the code

  • 07-01-2009, 3:27 AM In reply to

    • attilaf
    • Not Ranked
    • Joined on 06-30-2009, 6:28 AM
    • Posts 3

    Re: Need help - IIS7 delivering blank page randomly only recycle helps

     no. it was not :(

Page 1 of 1 (4 items)
Microsoft Communities