Click here to Skip to main content
15,880,967 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
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
Updated 6-Sep-13 4:59am
v2
Comments
thatraja 6-Sep-13 10:29am    
what's the error message? Include the screenshot in your question
ZurdoDev 6-Sep-13 12:42pm    
404 means it is not found which likely means you aren't using the right url. Open it from the server and copy the url and then only replace localhost with the servername and try it outside the server.
I'm sure, I'm using the right URL. This is the issue I mentioned in the question. I'm able to open the app from within the server (with both localhost and servername). But when I open the app from another machine while using the servername; I get this "HTTP 404 Not Found".

The other applications (classic ASP and ASP.Net 4.0 apps) on the same server are working fine.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900