Server Error in '/' Application

K

Kevin McD

I'm getting this from the root of my PWA setup (Project server 2007 running
on Win2003 SP2, SQL2005, all on the same machine) after I enter my
credentials:

Server Error in '/' 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.
Stack Trace:

[WebException: The request failed with HTTP status 401: Unauthorized.]
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb) +1641
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie) +877
Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone) +367
Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor() +273
ASP.DEFAULT_ASPX_529955207..ctor() +10

__ASP.FastObjectFactory_app_web_default_aspx_529955207_frh_o4n6.Create_A
SP_DEFAULT_ASPX_529955207() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49

System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(Virtua
lPath virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +115
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath) +31

System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHand
ler(HttpContext context, String requestType, VirtualPath virtualPath,
String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig) +139

System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecution
Step.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +155


I also see this in the App log:


Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 4/24/2008
Time: 6:50:03 PM
User: N/A
Computer: DC-CM
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/24/2008 6:50:03 PM
Event time (UTC): 4/24/2008 10:50:03 PM
Event ID: 7e42f737d7ed4e30808062e666288965
Event sequence: 129
Event occurrence: 36
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1890379346/Root-21-128535475028536328
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: DC-CM

Process information:
Process ID: 5956
Process name: w3wp.exe
Account name: DC-CM\svc_Project

Exception information:
Exception type: WebException
Exception message: The request failed with HTTP status 401:
Unauthorized.

Request information:
Request URL: http://dc-cm/pwa/default.aspx
Request path: /pwa/default.aspx
User host address: 172.27.190.94
User: DC-CM\svc_Project
Is authenticated: True
Authentication Type: NTLM
Thread account name: DC-CM\svc_Project

Thread information:
Thread ID: 12
Thread account name: DC-CM\svc_Project
Is impersonating: True
Stack trace: at
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb)
at
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie)
at Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone)
at Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor()
at ASP.DEFAULT_ASPX_529955207..ctor()
at
__ASP.FastObjectFactory_app_web_default_aspx_529955207_frh_o4n6.Create_A
SP_DEFAULT_ASPX_529955207()
at System.Web.Compilation.BuildResultCompiledType.CreateInstance()
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(Virtua
lPath virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHand
ler(HttpContext context, String requestType, VirtualPath virtualPath,
String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)


I've tried creating a new PWA site, same result

Any ideas on where to look?
 
P

Paul Conroy

try re-registering the .NET Framework

From the command line
ASPNET_REGIIS -i

http://technet.microsoft.com/en-us/library/cc197661.aspx

--
Did this post help you. Consider passing on the good will by making a
donation this great charity.
http://www.fundraiseonline.co.nz/TheProjectServerGuru/

http://theprojectserverguru.spaces.live.com


Kevin McD said:
I'm getting this from the root of my PWA setup (Project server 2007 running
on Win2003 SP2, SQL2005, all on the same machine) after I enter my
credentials:

Server Error in '/' 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.
Stack Trace:

[WebException: The request failed with HTTP status 401: Unauthorized.]
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb) +1641
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie) +877
Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone) +367
Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor() +273
ASP.DEFAULT_ASPX_529955207..ctor() +10

__ASP.FastObjectFactory_app_web_default_aspx_529955207_frh_o4n6.Create_A
SP_DEFAULT_ASPX_529955207() +20
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +49

System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(Virtua
lPath virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert) +115
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath) +31

System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHand
ler(HttpContext context, String requestType, VirtualPath virtualPath,
String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig) +139

System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecution
Step.Execute() +120
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +155


I also see this in the App log:


Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 4/24/2008
Time: 6:50:03 PM
User: N/A
Computer: DC-CM
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/24/2008 6:50:03 PM
Event time (UTC): 4/24/2008 10:50:03 PM
Event ID: 7e42f737d7ed4e30808062e666288965
Event sequence: 129
Event occurrence: 36
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1890379346/Root-21-128535475028536328
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: DC-CM

Process information:
Process ID: 5956
Process name: w3wp.exe
Account name: DC-CM\svc_Project

Exception information:
Exception type: WebException
Exception message: The request failed with HTTP status 401:
Unauthorized.

Request information:
Request URL: http://dc-cm/pwa/default.aspx
Request path: /pwa/default.aspx
User host address: 172.27.190.94
User: DC-CM\svc_Project
Is authenticated: True
Authentication Type: NTLM
Thread account name: DC-CM\svc_Project

Thread information:
Thread ID: 12
Thread account name: DC-CM\svc_Project
Is impersonating: True
Stack trace: at
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb)
at
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie)
at Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone)
at Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor()
at ASP.DEFAULT_ASPX_529955207..ctor()
at
__ASP.FastObjectFactory_app_web_default_aspx_529955207_frh_o4n6.Create_A
SP_DEFAULT_ASPX_529955207()
at System.Web.Compilation.BuildResultCompiledType.CreateInstance()
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(Virtua
lPath virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHand
ler(HttpContext context, String requestType, VirtualPath virtualPath,
String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplic
ation.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)


I've tried creating a new PWA site, same result

Any ideas on where to look?
 
K

Kevin McD

Hi Paul -- thanks for the reply, but no change.

Here's my App Log Event:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 4/28/2008
Time: 9:00:03 AM
User: N/A
Computer: DC-CM
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 4/28/2008 9:00:03 AM
Event time (UTC): 4/28/2008 1:00:03 PM
Event ID: f83e5a8eda014fc6bd5160d1341c60df
Event sequence: 20
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1890379346/Root-1-128538611627963309
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\80\
Machine name: DC-CM

Process information:
Process ID: 1908
Process name: w3wp.exe
Account name: DC-CM\svc_Project

Exception information:
Exception type: WebException
Exception message: The request failed with HTTP status 401: Unauthorized.

Request information:
Request URL: http://dc-cm/PWA/default.aspx
Request path: /PWA/default.aspx
User host address: 172.27.223.63
User: DOMAIN\kmcdermott
Is authenticated: True
Authentication Type: NTLM
Thread account name: DC-CM\svc_Project

Thread information:
Thread ID: 9
Thread account name: DC-CM\svc_Project
Is impersonating: True
Stack trace: at
Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
validateUser, String username, Boolean checkTimebomb)

at Microsoft.Office.Project.PWA.PJContext.AuthenticateUserForPWA(Boolean
newCookie)
at Microsoft.Office.Project.PWA.PJContext.GetContext(Boolean
isWebServiceCall, Boolean newCookie, Guid siteId, Nullable`1 zone)

at Microsoft.Office.Project.PWA.PJBaseWebPartPage..ctor()


And from IIS Log:

2008-04-28 12:59:05 W3SVC1890379346 172.27.190.94 GET /PWA - 80 -
172.27.223.63
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 401 2 2148074254

2008-04-28 12:59:22 W3SVC1890379346 172.27.190.94 GET /PWA - 80 -
172.27.223.63
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 401 1 0

2008-04-28 12:59:45 W3SVC1890379346 172.27.190.94 GET /PWA - 80
DOMAIN\kmcdermott 172.27.223.63
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 200 0 0

2008-04-28 13:00:03 W3SVC1890379346 172.27.190.94 GET /PWA/default.aspx - 80
DOMAIN\kmcdermott 172.27.223.63
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727) 500 0 0

at ASP.DEFAULT_ASPX_529955207..ctor()
at
__ASP.FastObjectFactory_app_web_default_aspx_529955207_se5manae.Create_ASP_DEFAULT_ASPX_529955207()
at System.Web.Compilation.BuildResultCompiledType.CreateInstance()
at
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)

at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context,
String requestType, VirtualPath virtualPath, String physicalPath)

at
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String physicalPath)

at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)

at
System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
 
D

Dave S

Hello,

Were you able to get this problem resolved? I'm observing the exact same
thing with my PWA.

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top