August 2005
« Jul   Sep »

Credentials.GetCredentials exception

August 6th, 2005 by

From: <dante@nospam.nospam>

Subject: Credentials.GetCredentials exception

Date: Thu, 4 Aug 2005 07:42:07 -0700

Newsgroups: microsoft.public.sharepoint.portalserver.development


Calling Credentials.GetCredentials from an OnEvent method that fires when a new doc hits a doc lib.  New SPS installaion, set up according to instructions in Scot Hillier’s Microsfot SharePoint: Building Office

2003 Solutions book.


When calling Credentials. GetCredentials, an exception occurs, and the following is entered in the Event Log:


The Microsoft Single Sign-on (SSOSrv) service failed to retrieve credentials for user NT AUTHORITY\NETWORK SERVICE, enterprise application definition Workflow. The error returned was 0x80630490. For more information, see the Microsoft SharePoint Products and Technologies Software Development Kit (SDK).


The message makes me believe that I have not configured a service in the stack with the correct security credentials, however the only processes and services currently running under the NT AUTHORITY\NETWORK SERVICE account are not part of the stack.


Any help or pointers is appreciated.  




From: (Wei-Dong XU [MSFT])

Date: Fri, 05 Aug 2005 02:18:59 GMT

Subject: RE: Credentials.GetCredentials exception

Newsgroups: microsoft.public.sharepoint.portalserver.development




The account “NT AUTHORITY\NETWORK SERVICE” is the default identity set for the IIS site application pool. It means that your SPS site is using this account in the application pool. Since this account is the default account used for IIS site, it is granted very low permission which may cause this error.


So I’d suggest you could set the built-in system account to it or specify one high-privilege for your SPS site application pool. The IIS online help article “Configuring Application Pool Identity” introduce the steps for you on how to configure this.


1. In IIS Manager, right-click the application that you want to assign to an application pool, and then click Properties.

2. Click the Home Directory tab.

3. In the Application pool list box, the site application pool is the current selected one.

4. Then in the IIS Manager, in the application pools tree, we could locate the application pool.


Please feel free to let me know if any question. It is my pleasure to be of any assistance.


Best Regards,

Wei-Dong XU

Microsoft Product Support Services

This posting is provided “AS IS” with no warranties, and confers no rights.




From: <dante@nospam.nospam>

Subject: RE: Credentials.GetCredentials exception

Date: Fri, 5 Aug 2005 12:20:01 -0700

Newsgroups: microsoft.public.sharepoint.portalserver.development


Thanks for the response!   That was it!


Posted in SPPS03_Tips | No Comments »

Comments are closed.