I am having issues with an ASP.NET web application on a windows 2008 server. It is currently running on a Windows 2000 server without issues. Any help is appreciated! HAVE BEEN STRUGGLING WITH THIS FOR WEEKS....
I can access http://SERVER/app/ just fine but upon trying to access files further than that Ex.http://SERVER/app/home.aspx I get an unauthorized error.
Server Error in '/app' Application.
The request failed with HTTP status 401: Unauthorized.
Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[WebException: The request failed with HTTP status 401: Unauthorized.] IRSWebApp.ServiceCaller.IR_GetRequestType(Object[] inputParameter, Object[]& outputParameter) in C:\\.13\.13\\.cs:213 IRSWebApp.Global.GetInstalledRequest() in C:\\.13\.13\\.asax.cs:108 IRSWebApp.Global.Application_Start(Object sender, EventArgs e) in C:\\.13\.13\\.asax.cs:49 [HttpException (0x80004005): The request failed with HTTP status 401: Unauthorized.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +2725282 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +128 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +188 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +295 System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context) +56 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +231 [HttpException (0x80004005): The request failed with HTTP status 401: Unauthorized.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8910527 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333 |
Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223
My event viewer is showing the following warning:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 6/12/2013 11:13:18 AM
Event time (UTC): 6/12/2013 3:13:18 PM
Event ID: cd2c820dfaa043aa853a596b2a00bf87
Event sequence: 2
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/2/ROOT/IR.DVR35-1-130155235980644030
Trust level: Full
Application Virtual Path: /app
Application Path: D:\\app\app\
Machine name: .....
Process information:
Process ID: 13576
Process name: w3wp.exe
Account name: IIS APPPOOL\2.050727 int
Exception information:
Exception type: HttpException
Exception message: The request failed with HTTP status 401: Unauthorized.
Request information:
Request URL: http:///IR./home.aspx
Request path: /IR./home.aspx
User host address: ::1
User:
Is authenticated: False
Authentication Type:
Thread account name: \_
Thread information:
Thread ID: 7
Thread account name:
Is impersonating: False
Stack trace: at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.HttpApplicationFactory.GetPipelineApplicationInstance(IntPtr appContext, HttpContext context)
at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)