long use of project web access causes HTTP status 401: Unauthorize

M

myfootsmells

if i stop and restart the application pools and start using project
web access it functions properly though awfully slow. if i continue
use it i'll get hit with the following error:

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.

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.]

Microsoft.Office.Project.Server.WebServiceProxy.PSIProxyBase.InvokePSI(String
serviceName, String methodName, Object[] parameters) +167

Microsoft.Office.Project.Server.WebServiceProxy.PWA.SecurityCheckUserPagePermission(Guid
pageUid) +186

Microsoft.Office.Project.PWA.PJBaseWebPartPage.CheckPagePermission()
+100
Microsoft.Office.Project.PWA.PJBaseWebPartPage.OnPreInit(EventArgs
e) +60
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+521

Then I check the event logs and I a few errors:

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 6/13/2007
Time: 11:49:33 AM
User: N/A
Computer: PWA
Description:
Event code: 3005 Event message: An unhandled exception has occurred.
Event time: 6/13/2007 11:49:33 AM Event time (UTC): 6/13/2007 6:49:33
PM Event ID: aa9d0804b07c4a96a1a0156a56861868 Event sequence: 421
Event occurrence: 3 Event detail code: 0 Application
information: Application domain: /LM/W3SVC/1712501541/
Root-1-128262325630746046 Trust level: WSS_Minimal
Application Virtual Path: / Application Path: C:\Inetpub\wwwroot
\wss\VirtualDirectories\80\ Machine name: PWA
Process information: Process ID: 14768 Process name:
w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception
information: Exception type: WebException Exception message:
The request failed with HTTP status 401: Unauthorized. Request
information: Request URL: http://project/projects.aspx
Request path: /projects.aspx User host address: 10.0.4.29
User: ACME\BugsBunny
Is authenticated: True Authentication Type: Negotiate
Thread account name: NT AUTHORITY\NETWORK SERVICE Thread
information: Thread ID: 9 Thread account name: NT AUTHORITY
\NETWORK SERVICE Is impersonating: False Stack trace: at
Microsoft.Office.Project.Server.WebServiceProxy.PSIProxyBase.InvokePSI(String
serviceName, String methodName, Object[] parameters)
at
Microsoft.Office.Project.Server.WebServiceProxy.PWA.SecurityCheckUserPagePermission(Guid
pageUid)
at
Microsoft.Office.Project.PWA.PJBaseWebPartPage.CheckPagePermission()
at
Microsoft.Office.Project.PWA.PJBaseWebPartPage.OnPreInit(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 6/13/2007
Time: 11:49:33 AM
User: N/A
Computer: PWA
Description:
Event code: 3005 Event message: An unhandled exception has occurred.
Event time: 6/13/2007 11:49:33 AM Event time (UTC): 6/13/2007 6:49:33
PM Event ID: aa9d0804b07c4a96a1a0156a56861868 Event sequence: 421
Event occurrence: 3 Event detail code: 0 Application
information: Application domain: /LM/W3SVC/1712501541/
Root-1-128262325630746046 Trust level: WSS_Minimal
Application Virtual Path: / Application Path: C:\Inetpub\wwwroot
\wss\VirtualDirectories\80\ Machine name: PWA
Process information: Process ID: 14768 Process name:
w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception
information: Exception type: WebException Exception message:
The request failed with HTTP status 401: Unauthorized. Request
information: Request URL: http://project/projects.aspx
Request path: /projects.aspx User host address: 10.0.4.29
User: ACME\BugsBunny Is authenticated: True Authentication
Type: Negotiate Thread account name: NT AUTHORITY\NETWORK
SERVICE Thread information: Thread ID: 9 Thread account
name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False
Stack trace: at
Microsoft.Office.Project.Server.WebServiceProxy.PSIProxyBase.InvokePSI(String
serviceName, String methodName, Object[] parameters)
at
Microsoft.Office.Project.Server.WebServiceProxy.PWA.SecurityCheckUserPagePermission(Guid
pageUid)
at
Microsoft.Office.Project.PWA.PJBaseWebPartPage.CheckPagePermission()
at
Microsoft.Office.Project.PWA.PJBaseWebPartPage.OnPreInit(EventArgs e)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Timer
Event ID: 6398
Date: 6/13/2007
Time: 1:13:00 PM
User: N/A
Computer: PWA
Description:
The Execute method of job definition
Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob
(ID 3c1cf642-95db-47ef-8cb7-d8a4d8589cc1) threw an exception. More
information is included below.

Error loading type library/DLL.



For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

=====================================================================

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 7076
Date: 6/13/2007
Time: 1:13:00 PM
User: N/A
Computer: PWA
Description:
An exception occurred while executing the Application Server
Administration job.

Message: Error loading type library/DLL.


Techinal Support Details:
System.Runtime.InteropServices.COMException (0x80029C4A): Error
loading type library/DLL.


Server stack trace:
at System.DirectoryServices.DirectoryEntry.Bind(Boolean
throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
at System.DirectoryServices.DirectoryEntries.Find(String name,
String schemaClassName)
at
Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.Find(String
name)
at
Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.get_Item(String
name)
at
Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String
name, ApplicationPoolIdentityType identityType, String userName,
SecureString password, TimeSpan idleTimeout, TimeSpan
periodicRestartTime)
at
Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String
name, Int32 identityType, String userName, String password, TimeSpan
idleTimeout, TimeSpan periodicRestartTime)
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String
name, Int32 identityType, String userName, String password, TimeSpan
idleTimeout, TimeSpan periodicRestartTime)
at
Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String
name, Int32 identityType, String userName, SecureString password,
TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at
Microsoft.Office.Server.Administration.SharedWebServiceInstance.CreateSharedWebServiceApplicationPool(SharedResourceProvider
srp)
at
Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean
isAdministrationServiceJob)



For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

=====================================================================

Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 6482
Date: 6/13/2007
Time: 1:13:00 PM
User: N/A
Computer: PWA
Description:
Application Server Administration job failed for service instance
Microsoft.Office.Project.Server.Administration.ProjectApplicationServiceInstance
(567999a5-259b-46d1-908a-02aff1ab9fbd).

Reason: Error loading type library/DLL.


Techinal Support Details:
System.Runtime.InteropServices.COMException (0x80029C4A): Error
loading type library/DLL.


Server stack trace:
at System.DirectoryServices.DirectoryEntry.Bind(Boolean
throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.CheckIsContainer()
at System.DirectoryServices.DirectoryEntries.Find(String name,
String schemaClassName)
at
Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.Find(String
name)
at
Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.get_Item(String
name)
at
Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String
name, ApplicationPoolIdentityType identityType, String userName,
SecureString password, TimeSpan idleTimeout, TimeSpan
periodicRestartTime)
at
Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String
name, Int32 identityType, String userName, String password, TimeSpan
idleTimeout, TimeSpan periodicRestartTime)
at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String
name, Int32 identityType, String userName, String password, TimeSpan
idleTimeout, TimeSpan periodicRestartTime)
at
Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String
name, Int32 identityType, String userName, SecureString password,
TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at
Microsoft.Office.Server.Administration.SharedWebServiceInstance.Synchronize()
at
Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean
isAdministrationServiceJob)

If I restart the application pools, it starts working again. Anyone
have any ideas?
 

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