“Failed to create directory ‘\\myshare\inetpub\wwwroot\mywebsite\mywebsite\mywebsite_20100610.3′. User ‘NT AUTHORITY\NETWORK SERVICE’ needs write permissions to the path.”
To change the account, you’ll need to:
- Log in to the server hosting the Team Foundation Build service
- Start the Team Foundation Server Administration Console
- Select the ‘Build Configuration’ node in the left hand tree
- Find your build service at the top of the panel and select ‘Properties’ to configure it
- You’ll need to ‘Stop to make changes’ via the link in the popup window
- Finally in the ‘credentials’ section at the bottom change the radio button and put in the name and password for the account you wish to use.
I now have builds being pushed up successfully to our development server.
To change the account, you’ll need to:
- Log in to the server hosting the Team Foundation Build service
- Start the Team Foundation Server Administration Console
- Select the ‘Build Configuration’ node in the left hand tree
- Find your build service at the top of the panel and select ‘Properties’ to configure it
- You’ll need to ‘Stop to make changes’ via the link in the popup window
- Finally in the ‘credentials’ section at the bottom change the radio button and put in the name and password for the account you wish to use.
Event Log:
The server encountered an unexpected error and stopped.
”ERR: MMS(1516): sql.cpp(5580): Query (CSession::Open()) performed with error
ERR: MMS(1516): sql.cpp(5601): Error retrieving error
BAIL: MMS(1516): sql.cpp(568): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(384): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(256): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): storeimp.cpp(272): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): server.cpp(294): Failed to connect to the database User Profile Service Application_SyncDB_25480d71476c456e861f8d660a1eb297 on TSTMSDB02
BAIL: MMS(1516): server.cpp(295): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): server.cpp(3518): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): service.cpp(1528): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): service.cpp(977): Error creating com objects. Error code: -2145188858. This is retry number 0.
ERR: MMS(1516): sql.cpp(5580): Query (CSession::Open()) performed with error
ERR: MMS(1516): sql.cpp(5601): Error retrieving error
BAIL: MMS(1516): sql.cpp(568): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(384): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(256): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): storeimp.cpp(272): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): server.cpp(294): Failed to connect to the database User Profile Service Application_SyncDB_25480d71476c456e861f8d660a1eb297 on TSTMSDB02
BAIL: MMS(1516): server.cpp(295): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): server.cpp(3518): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): service.cpp(1528): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): service.cpp(977): Error creating com objects. Error code: -2145188858. This is retry number 1.
ERR: MMS(1516): sql.cpp(5580): Query (CSession::Open()) performed with error
ERR: MMS(1516): sql.cpp(5601): Error retrieving error
BAIL: MMS(1516): sql.cpp(568): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(384): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(256): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): storeimp.cpp(272): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): server.cpp(294): Failed to connect to the database User Profile Service Application_SyncDB_25480d71476c456e861f8d660a1eb297 on TSTMSDB02
BAIL: MMS(1516): server.cpp(295): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): server.cpp(3518): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): service.cpp(1528): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): service.cpp(977): Error creating com objects. Error code: -2145188858. This is retry number 2.
ERR: MMS(1516): sql.cpp(5580): Query (CSession::Open()) performed with error
ERR: MMS(1516): sql.cpp(5601): Error retrieving error
BAIL: MMS(1516): sql.cpp(568): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(384): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): sql.cpp(256): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): storeimp.cpp(272): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): server.cpp(294): Failed to connect to the database User Profile Service Application_SyncDB_25480d71476c456e861f8d660a1eb297 on TSTMSDB02
BAIL: MMS(1516): server.cpp(295): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): server.cpp(3518): 0×80230406 (An error has occurred at the store)
BAIL: MMS(1516): service.cpp(1528): 0×80230406 (An error has occurred at the store)
ERR: MMS(1516): service.cpp(977): Error creating com objects. Error code: -2145188858. This is retry number 3.
BAIL: MMS(1516): service.cpp(991): 0×80230406 (An error has occurred at the store)
Forefront Identity Manager 4.0.2450.11″
Solution:
Cumulative Update from 31. August 2010.
- Install SharePoint Foundation 2010 hotfix KB 2352346 and restart server
- Install SharePoint Server 2010 hotfix KB 2352342 and restart server
- Delete and Config the User Profile Service again.
Categories: Uncategorized