locked
ASP.NET 2.0 app in IIS 7 not loading from remote machine. RRS feed

  • Question

  • User2092815775 posted

    Hi

    I'm struggling to get ASP.NET 2.0 application up in IIS 7 (Windows 2008 Server R2). The problem is 

    that, the application is coming up fine when I run it in the browser from within the server (where it

    is deployed) by doing RDC. But gives "HTTP 404 Not Found" when I run it from a browser from another 

    machine.

    I checked below configurations in IIS, but still the application is not coming up in the browser in 

    another machine:
    1. The AppPool is set to "ASP.NET v2.0 Classic"
    2. 32 bit "ASP.NET v2.0.50727" is allowed in "ISAPI and CGI Restrictions".
    3. The default document is properly set.
    4. Anonymous, Windows and ASP.NET Impersonation is enabled in the "Authentication" section.
    5. Added this "<httpHandlers>" section in application Web.config.
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" 

    type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0,

    Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="*" path="*_AppService.axd" validate="false" 

    type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0,

    Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" 

    type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, 

    Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
        </httpHandlers>


    Please someone show me direction and help me fix this.
    Thanks a lot in advance.

    Kamal

    Friday, September 6, 2013 1:08 PM

All replies

  • User388626632 posted

    Please try to keep your typing style simple to enable forum members understand your problem easily and quickly.

    Sunday, September 8, 2013 9:31 AM
  • User-714064767 posted

    ASP.NET 2.0 application is not coming up in IIS 7 (Windows 2008 Server R2). The problem is that, the application is coming up fine when it is run in the browser from within the server (where it is deployed) by doing RDC. But gives "HTTP 404 Not Found" when it is run in a browser from another machine.

    Checked below configurations in IIS, but still the application is not coming up in the browser in another machine:
    1. The AppPool is set to "ASP.NET v2.0 Classic"
    2. 32 bit "ASP.NET v2.0.50727" is allowed in "ISAPI and CGI Restrictions".
    3. The default document is properly set.
    4. Anonymous, Windows and ASP.NET Impersonation is enabled in the "Authentication" section.
    5. Added this "<httpHandlers>" section in application Web.config.
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
        </httpHandlers>

    Please someone help fix this.
    Thanks,

    Sunday, September 8, 2013 9:45 AM