AxeonTech
asked on
Cannot open Companyweb - Server Error in '/' Application - runtime error Access is denied
I recently am having issues with opening companyweb on my Server 2008 pc. it was working fine until this morning and now i receive this error:
Server Error in '/' Application.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Access is denied.
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.Runtime.InteropServ ices.COMEx ception: Access is denied.
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:
[COMException (0x80070005): Access is denied.
]
System.DirectoryServices.D irectoryEn try.Bind(B oolean throwIfFail) +557
System.DirectoryServices.D irectoryEn try.Bind() +44
System.DirectoryServices.D irectoryEn try.get_Is Container( ) +42
System.DirectoryServices.C hildEnumer ator..ctor (Directory Entry container) +36
System.DirectoryServices.D irectoryEn tries.GetE numerator( ) +36
Microsoft.SharePoint.Appli cationRunt ime.SPRequ estModule. System.Web .IHttpModu le.Init(Ht tpApplicat ion app) +699
System.Web.HttpApplication .InitModul esCommon() +124
System.Web.HttpApplication .InitInter nal(HttpCo ntext context, HttpApplicationState state, MethodInfo[] handlers) +1162
System.Web.HttpApplication Factory.Ge tNormalApp licationIn stance(Htt pContext context) +312
System.Web.HttpApplication Factory.Ge tApplicati onInstance (HttpConte xt context) +133
System.Web.HttpRuntime.Pro cessReques tInternal( HttpWorker Request wr) +196
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4205
servererror.jpg
Server Error in '/' Application.
--------------------------
Access is denied.
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.Runtime.InteropServ
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:
[COMException (0x80070005): Access is denied.
]
System.DirectoryServices.D
System.DirectoryServices.D
System.DirectoryServices.D
System.DirectoryServices.C
System.DirectoryServices.D
Microsoft.SharePoint.Appli
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpApplication
System.Web.HttpRuntime.Pro
--------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4205
servererror.jpg
have you access using different username try to give permission in nt security from website folder properties allow everyone and see
Are all SharePoint services running on your server? Did you recently install any updates (SP2?)
ASKER
All Sharepoint Services are running and I did not install any updates recently, unless the server did it overnight on its own. Every user account has this issue, it does not matter if your a standard user or administrator, it wont open for anyone.
can you try to add another test application and see what happens
ASKER
I would need some help in running a test application because I have not set one up before.
alright if you have never setup then i would say do you know how to use mssql server? if not then post back i asked you something a bit earlier did you allowed diretory access to everyone?
if you go in c drive then inetpub folder right click on it and then properties and security give permission to everyone and then see what happens
if you go in c drive then inetpub folder right click on it and then properties and security give permission to everyone and then see what happens
ASKER
I am not completely familiar with mssql setup. But I did what you wanted me to try and gave "everyone" full control to the inetpub folder, and I am still getting the same error.
you know if you go in sbs console and then select one user properties allow him to access company web then try to connect using him
ASKER
I just tried granting company web access to a user, and then tried accessing it as the user and still received the same error. I even created a brand new user with company web access and still got the same error.
are you sure you havent installed any updates
can you run comapnyweb inside the server or its not running there either sql server is running
do you notice any errors related to this in the event log?
check security events log as well
ASKER
no, i can not run companyweb even from the server. I checked "Installed Updates" under Programs and Features and there was nothing listed since 8-18-10, which this issue just started today, and yes sql server is running.
have you changed password for any admin account or any account which are running services
have you checked the event log? it might be another issue preventing access, such as disk is low in space
ASKER
Ok, when I try to access companyweb i get this error under Application in the Event Viewer with Source ASP.NET 2.0.50727.0 and Event ID 1309:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/8/2010 1:58:25 PM
Event time (UTC): 9/8/2010 8:58:25 PM
Event ID: 32cf7d131b7d4c87a3533fbe62 999b83
Event sequence: 7
Event occurrence: 6
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/594812419/ROOT-1 -129284524 798368802
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Program Files\Windows Small Business Server\Bin\WebApp\Internal WebSite\
Machine name: KEYSTONE
Process information:
Process ID: 4376
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: COMException
Exception message: Access is denied.
Request information:
Request URL: http://companyweb/
Request path: /
User host address: 192.168.16.10
User:
Is authenticated: False
Authentication Type:
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 System.DirectoryServices.D irectoryEn try.Bind(B oolean throwIfFail)
at System.DirectoryServices.D irectoryEn try.Bind()
at System.DirectoryServices.D irectoryEn try.get_Is Container( )
at System.DirectoryServices.D irectoryEn tries.Chil dEnumerato r..ctor(Di rectoryEnt ry container)
at System.DirectoryServices.D irectoryEn tries.GetE numerator( )
at Microsoft.SharePoint.Appli cationRunt ime.SPRequ estModule. System.Web .IHttpModu le.Init(Ht tpApplicat ion app)
at System.Web.HttpApplication .InitModul esCommon()
at System.Web.HttpApplication .InitInter nal(HttpCo ntext context, HttpApplicationState state, MethodInfo[] handlers)
at System.Web.HttpApplication Factory.Ge tNormalApp licationIn stance(Htt pContext context)
at System.Web.HttpApplication Factory.Ge tApplicati onInstance (HttpConte xt context)
at System.Web.HttpRuntime.Pro cessReques tInternal( HttpWorker Request wr)
Custom event details:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/8/2010 1:58:25 PM
Event time (UTC): 9/8/2010 8:58:25 PM
Event ID: 32cf7d131b7d4c87a3533fbe62
Event sequence: 7
Event occurrence: 6
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/594812419/ROOT-1
Trust level: WSS_Minimal
Application Virtual Path: /
Application Path: C:\Program Files\Windows Small Business Server\Bin\WebApp\Internal
Machine name: KEYSTONE
Process information:
Process ID: 4376
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: COMException
Exception message: Access is denied.
Request information:
Request URL: http://companyweb/
Request path: /
User host address: 192.168.16.10
User:
Is authenticated: False
Authentication Type:
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 System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at System.DirectoryServices.D
at Microsoft.SharePoint.Appli
at System.Web.HttpApplication
at System.Web.HttpApplication
at System.Web.HttpApplication
at System.Web.HttpApplication
at System.Web.HttpRuntime.Pro
Custom event details:
this is what i said nt authority account is not getting security pass try to run the service with your admin account and see what happen
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
how would I change the service to use a different account or give NT AUTHORITY access?