?
Solved

NT AUTHORITY\NetworkService Access denied

Posted on 2007-08-03
2
Medium Priority
?
14,315 Views
Last Modified: 2011-07-27
I am having a problem with sharepoint services and sqlexpress.  My system was running just fine, and I did a dcpromo to make the system a DC.  Now, the SQL services will not start along with Sharepoint service.  
The sharepoint and sql are configured to run on NT AUTHORITY\NetworkService.  

I get the following errors in event viewer

Event Type:      Error
Event Source:      ASP.NET 2.0.50727.0
Event Category:      None
Event ID:      1088
Date:            8/3/2007
Time:            8:33:38 AM
User:            N/A
Computer:      XXX
Description:
Failed to execute request because the App-Domain could not be created. Error: 0x80070005 Access is denied.  

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:      None
Event ID:      1073
Date:            8/3/2007
Time:            8:33:38 AM
User:            N/A
Computer:      TOC1
Description:
Failed to initialize the AppDomain:/LM/W3SVC/415611546/Root

Exception: System.IO.FileLoadException
Message: Could not load file or assembly 'System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Access is denied.
StackTrace:    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.AppDomain.CreateInstance(String assemblyName, String typeName)
   at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
   at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)

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

Event Type:      Error
Event Source:      SPAdmin
Event Category:      None
Event ID:      0
Date:            8/3/2007
Time:            6:58:36 AM
User:            N/A
Computer:      TOC1
Description:
Service cannot be started. System.ComponentModel.Win32Exception: The group name could not be found
   at Microsoft.SharePoint.AdministrationOperation.Win32.SPNetApi32.NetLocalGroupGetMembers(String groupName)
   at Microsoft.SharePoint.AdministrationService.SPAdministrationService.RegisterSPAdministrationOperation()
   at Microsoft.SharePoint.AdministrationService.SPAdministrationService.OnStart(String[] args)
   at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)

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


Event Type:      Error
Event Source:      MSSQL$SQLEXPRESS
Event Category:      (2)
Event ID:      17053
Date:            8/3/2007
Time:            6:58:13 AM
User:            N/A
Computer:      TOC1
Description:
UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 9d 42 00 00 10 00 00 00   B......
0008: 10 00 00 00 54 00 4f 00   ....X.X.
0010: 43 00 31 00 5c 00 53 00   X.X.\.S.
0018: 51 00 4c 00 45 00 58 00   Q.L.E.X.
0020: 50 00 52 00 45 00 53 00   P.R.E.S.
0028: 53 00 00 00 00 00 00 00   S.......

Event Type:      Error
Event Source:      MSSQL$SQLEXPRESS
Event Category:      (2)
Event ID:      17053
Date:            8/3/2007
Time:            6:58:13 AM
User:            N/A
Computer:      TOC1
Description:
UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 9d 42 00 00 10 00 00 00   B......
0008: 10 00 00 00 54 00 4f 00   ....T.O.
0010: 43 00 31 00 5c 00 53 00   C.1.\.S.
0018: 51 00 4c 00 45 00 58 00   Q.L.E.X.
0020: 50 00 52 00 45 00 53 00   P.R.E.S.
0028: 53 00 00 00 00 00 00 00   S.......


I looked for the NT AUTHORITY\NetworkService in the directory but can not find it.

Any ideas?




0
Comment
Question by:sterudpa
2 Comments
 
LVL 6

Accepted Solution

by:
Da1King earned 1500 total points
ID: 19625718
Wow talk about odd errors.  Regardless the problem is obviously a permissions issue with the account that is being used the run those services.  First option that comes to mind would be to change the account that those services are using.

Start -> Run -> Services.msc.

Look for the services in question.  I would imagine those would be MSSQLExpress, NET Runtime Optimization Service v2.0.50727, ASP.NET State Service.  Double click on the first and then click on the 'Log On' tab.  Change the 'Log on as' option from 'This account...' to 'Local system account'.

I am fairly certain that will for sure resolve the MSSQLExpress problem.  However I am not 100% sure about the ASP.NET.  However here are some links to steps to try.  These steps are to resolve errors that are similar but not exactly the same as yours.

Error message when you try to run an ASP.NET 2.0 application on a Windows Server 2003-based computer: "Server unavailable" - http://support.microsoft.com/kb/933638

EventID.net - http://www.eventid.net/display.asp?eventid=1073&eventno=7126&source=ASP.NET%202.0.50215.0&phase=1

With regards to the ASP problems I would attempt the instructions in these links before the service account change.  I know the link to Microsoft isn't exactly your situation however the error is describes it nearly the same.  Once you change those service accounts around it can be a bear to change them back.

0
 
LVL 1

Author Comment

by:sterudpa
ID: 19631966
changing the services to a local system worked, and then I just uninstalled .net 2.0 and sharepoint and  that seemed to take care of it.

Thanks for your help
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question