Remote Web Access is not working

Posted on 2013-05-15
Last Modified: 2013-12-02
After a migration from 2003 SBS to 2011, I can not browse most of my sites.  The only sites I can see are http://connect and

Viewing from the server I see:

Server Error in '/Remote' Application.

Access to the path 'C:\Program Files\Windows Small Business Server\Logs\WebApp' 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.UnauthorizedAccessException: Access to the path 'C:\Program Files\Windows Small Business Server\Logs\WebApp' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

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:

[UnauthorizedAccessException: Access to the path 'C:\Program Files\Windows Small Business Server\Logs\WebApp' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12898791
   System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj) +1594
   System.IO.Directory.CreateDirectory(String path) +311
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.TraceListeners.RotatingFileStreamFactory.CreateInitialFileStream() +55
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.TraceListeners.RotatingLogTraceListener.UpdateWriter(String message) +100
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.TraceListeners.LogTraceListener.Write(String message) +74
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.TraceListeners.LogTraceListener.TraceData(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, Object data) +195
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.LogTraceSource.TraceData(TraceEventType eventType, Int32 id, LogEventInfo logEventInfo) +231
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.LogOrchestrator.Write(LogEventInfo log) +511
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.Log.Write(Object value, IEnumerable`1 categories, Int32 priority, Int32 eventId, TraceEventType severity, String description) +296
   Microsoft.WindowsServerSolutions.Diagnostics.Logging.Log.WriteInfo(Object value, String category) +47
   Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.Global.Application_Start(Object sender, EventArgs e) +53

[HttpException (0x80004005): Access to the path 'C:\Program Files\Windows Small Business Server\Logs\WebApp' is denied.]
   System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4055413
   System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191
   System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352
   System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407
   System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375

[HttpException (0x80004005): Access to the path 'C:\Program Files\Windows Small Business Server\Logs\WebApp' is denied.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11698928
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4867637


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272


From any other computer I see:

Server Error in '/Remote' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

        <customErrors mode="Off"/>

Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

        <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>

I've attached a screen shot of the IIS7 Manager and SBS console
Question by:tsgroup1
  • 2
  • 2
LVL 25

Accepted Solution

Tony Johncock earned 500 total points
ID: 39170747
From :

Can you check the NTFS permissions on the "C:\Program Files\Windows Small Business Server\Logs\WebApp" folder? The issue could also be that it doesn't exist.

Permissions here are:

System: Full Control
Network Service: Modify (all except full control / special)
Domain Administrators: Full Control
Administrators: Full Control

The owner of the RemoteAccess.log in the folder is the Network Service account. Issues could also come from the website running under another user or something like that (which doesn't have permissions to write to the log file)

Author Comment

ID: 39179427
Sorry it has taken so long to respond.  My oldest just got his Doctor of Pharmacy at University of Wisconsin so I've been out of town.  

There is no folder in logs called WebApp.  There is one in Bin though.  

Should I uninstalled IIS7 and reinstall and if I do that, what is the affect on SBS2011?
LVL 25

Assisted Solution

by:Tony Johncock
Tony Johncock earned 500 total points
ID: 39179744

No.. At this stage I'd just create the folder where it's asking.

Author Comment

ID: 39179943
Did and it did.  Thank you.

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

If you are a user of the discontinued Microsoft Office Accounting 2008 (MSOA) and have to move to a new computer running Windows 8, you will be unhappy to discover that it won't install.  In particular, Microsoft SQL Server 2005 Express Edition (SSE…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 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