locked
SBS2011 RWW not working RRS feed

  • Question

  • Background:

    1. I installed an Evaluation Copy of SBS 2011 Standard Edition, subsequently bought the package and licenced....

    2. We do not have a Static IP - hence using Dynamic DNS service

    3. Had some Certificate issues - In SETUP YOUR INTERNET WIZARD i supplied "company.com" as I thought that this would be used as Exchange Server e-mail addy etc... Which worked fine, but the Certificate which was self issued was also then obviously for "company.com" and not "xxxxxxx.dyndns.org" I ran the wizzard again specifying "xxxxxxx.dyndns.org" and ticking the prefix box, so no "remote" was added to the "xxxx.dyndns.org". Its seems as if the certificate issue was corrected....

    4. OWA is working fine from IE (directly on server), on internal Workstations and from the internet  - https://xxxxxxxx.dyndns.org/OWA

    5. RWW is not working at all..... the response when accessing from server is: - DONT KNOW WHERE TO START....

    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) +12895975
      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) +4043621
      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) +11612256
      System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
      System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4842149
    



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

     

    OWA is working fine from inside the internal network and from outside... https://xxxxxx.dyndns.org/OWA

     


    RehanSBS2011Rookie
    Wednesday, July 20, 2011 8:01 AM

Answers

  • The error seems obvious enough :)

    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)

    Wednesday, July 20, 2011 8:54 AM

All replies

  • The error seems obvious enough :)

    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)

    Wednesday, July 20, 2011 8:54 AM
  • lol thank you for that - i did create the FOLDER before i posted but my permissions were so wrong.....

    RESPECT!

     


    RehanSBS2011Rookie
    Wednesday, July 20, 2011 9:21 AM
  • No problem, glad you have it resolved :).
    Wednesday, July 20, 2011 2:04 PM