Hey.
I have a website and i used the network service on iis and the site security to work it.
I also added network service as sysadmin to sql server 2005 db.
Now i got these error from the Server manager:
MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system TESTSQLSERVER.
And a problem with w3wp.exe NT AUTHORITY\NETWORK SERVICE :
Event code: 3007
Event message: A compilation error has occurred.
Event time: 12/3/2012 6:44:49 AM
Event time (UTC): 12/3/2012 4:44:49 AM
Event ID: 404e1c22c07b4184945c3f753cb56119
Event sequence: 9
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /xxxx
Trust level: Full
Application Virtual Path: /
Application Path: C:\inetpub\withDT\
Machine name: TESTSQLSERVER
Process information:
Process ID: 2504
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: HttpCompileException
Exception message: C:\inetpub\withDT\pN.aspx.vb(338): error BC30451: Name 'CommandType' is not declared.
Request information:
Request URL: http://xxx/xxx.aspx
Request path: /PN.aspx
User host address: xxx
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
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.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Custom event details:
So in short i think network service went crazy and could not handle sql transactions.
This went away with a server restart but i want to be sure that this was just a temp problem of i must do something.Any thought?
Thanks.
sapator
Member
395 Points
502 Posts
server 2008rc2 network service problem (now works but i want to be sure)
Dec 03, 2012 04:17 AM|LINK
Hey.
I have a website and i used the network service on iis and the site security to work it.
I also added network service as sysadmin to sql server 2005 db.
Now i got these error from the Server manager:
MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system TESTSQLSERVER.
And a problem with w3wp.exe NT AUTHORITY\NETWORK SERVICE :
Event code: 3007 Event message: A compilation error has occurred. Event time: 12/3/2012 6:44:49 AM Event time (UTC): 12/3/2012 4:44:49 AM Event ID: 404e1c22c07b4184945c3f753cb56119 Event sequence: 9 Event occurrence: 2 Event detail code: 0 Application information: Application domain: /xxxx Trust level: Full Application Virtual Path: / Application Path: C:\inetpub\withDT\ Machine name: TESTSQLSERVER Process information: Process ID: 2504 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE Exception information: Exception type: HttpCompileException Exception message: C:\inetpub\withDT\pN.aspx.vb(338): error BC30451: Name 'CommandType' is not declared. Request information: Request URL: http://xxx/xxx.aspx Request path: /PN.aspx User host address: xxx User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE Thread information: Thread ID: 5 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) 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.GetHandler(HttpContext context, String requestType, String virtualPath, String path) at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Custom event details:So in short i think network service went crazy and could not handle sql transactions.
This went away with a server restart but i want to be sure that this was just a temp problem of i must do something.Any thought?
Thanks.
Angie xu - M...
All-Star
18602 Points
1575 Posts
Microsoft
Re: server 2008rc2 network service problem (now works but i want to be sure)
Dec 10, 2012 01:41 AM|LINK
Hi sapator
Your configuration isn't uploaded properly, and restart fixes the error.
If there is really something else error with network service on iis and the site security , restart only can't fix it.
Kind regards
Feedback to us
Develop and promote your apps in Windows Store