none
RWW stopped working

    Question

  • Hi

    SBS 2011.

    I installed Visual Studio 2012 on the server and now I cannot RWW from outside to the server. I can RWW and Remote Desktop to server internally just fine. I have run all wizards under Network in SBS console but no luck. What can I do from here to fix the external RWW?

    Thanks

    Regards

    Update: I noticed IIS Express 8 was installed as part of VS2012 installation. I uninstalled it and re-ran all wizards under Console->Network but no luck.

    Update 2: Running BPA gives below warning. I did the suggested resolution but no luck?

    Category: Configuration

    Source: 432

    Issue: The certificate for the Remote Desktop Gateway service seems to be bound incorrectly.

    Impact: If the certificate for the Remote Desktop Gateway service is not configured correctly, users cannot connect to Remote Web Workplace.

    Resolution: At an administrator-level command prompt, type
    REG ADD HKLM\SYSTEM\CurrentControlSet\services\HTTP\Parameters\SslBindingInfo\0.0.0.0:443  /v DefaultFlags /t REG_DWORD /d 1 /f
    net stop tsgateway
    net start tsgateway

    For more information about the Remote Desktop Gateway, see "How to Manage the Remote Desktop Gateway Service in SBS 2011" at http://support.microsoft.com/default.aspx?scid=kb;EN-US;2472211.


    • Edited by Y a h y a Sunday, September 01, 2013 8:50 PM
    Saturday, August 31, 2013 7:36 PM

Answers

  • Hi Larry

    I have uninstalled net fw 4.5 which was installed as part of VS2012 and reinstalled net fw 4.0 and RWW is now working. Is net fw 4.5 not supported for RWW on SBS2011?

    Thanks

    Regards
    • Marked as answer by Y a h y a Monday, September 09, 2013 5:47 AM
    Wednesday, September 04, 2013 2:50 PM

All replies

  • Hi

    Below event appears when user tries to use RWW externally.

    Regards

    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          01/09/2013 22:03:56
    Event ID:      1309
    Task Category: Web Event
    Level:         Warning
    Keywords:      Classic
    User:          N/A
    Computer:      MYSERVER.mydomain.local
    Description:
    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 01/09/2013 22:03:56 
    Event time (UTC): 01/09/2013 21:03:56 
    Event ID: 6f78b0f65995446ead7caec16bf9920a 
    Event sequence: 486 
    Event occurrence: 265 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/Remote-2-130225421263045682 
        Trust level: Full 
        Application Virtual Path: /Remote 
        Application Path: C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess\ 
        Machine name: MYSERVER 
     
    Process information: 
        Process ID: 13112 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\NETWORK SERVICE 
     
    Exception information: 
        Exception type: HttpException 
        Exception message: Unable to validate data.
       at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Microsoft.WindowsServerSolutions.Web.Security.AuthenticationHelper.TryGetRememberedUserName(String& username)
       at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     
     
    Request information: 
        Request URL: https://remote.myexternaldomain.com:443/Remote/logon?ReturnUrl=/remote 
        Request path: /Remote/logon 
        User host address: xx.xx.xx.xx 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
     
    Thread information: 
        Thread ID: 24 
        Thread account name: NT AUTHORITY\NETWORK SERVICE 
        Is impersonating: False 
        Stack trace:    at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Microsoft.WindowsServerSolutions.Web.Security.AuthenticationHelper.TryGetRememberedUserName(String& username)
       at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
     
    Custom event details: Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="ASP.NET 4.0.30319.0" />
        <EventID Qualifiers="32768">1309</EventID>
        <Level>3</Level>
        <Task>3</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-09-01T21:03:56.000000000Z" />
        <EventRecordID>611630</EventRecordID>
        <Channel>Application</Channel>
        <Computer>MYSERVER.mydomain.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>3005</Data>
        <Data>An unhandled exception has occurred.</Data>
        <Data>01/09/2013 22:03:56</Data>
        <Data>01/09/2013 21:03:56</Data>
        <Data>6f78b0f65995446ead7caec16bf9920a</Data>
        <Data>486</Data>
        <Data>265</Data>
        <Data>0</Data>
        <Data>/LM/W3SVC/1/ROOT/Remote-2-130225421263045682</Data>
        <Data>Full</Data>
        <Data>/Remote</Data>
        <Data>C:\Program Files\Windows Small Business Server\Bin\WebApp\RemoteAccess\</Data>
        <Data>MYSERVER</Data>
        <Data>
        </Data>
        <Data>13112</Data>
        <Data>w3wp.exe</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>HttpException</Data>
        <Data>Unable to validate data.
       at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Microsoft.WindowsServerSolutions.Web.Security.AuthenticationHelper.TryGetRememberedUserName(String&amp; username)
       at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    </Data>
        <Data>https://remote.myexternaldomain.com:443/Remote/logon?ReturnUrl=/remote</Data>
        <Data>/Remote/logon</Data>
        <Data>78.144.67.11</Data>
        <Data>
        </Data>
        <Data>False</Data>
        <Data>
        </Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>24</Data>
        <Data>NT AUTHORITY\NETWORK SERVICE</Data>
        <Data>False</Data>
        <Data>   at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo, Boolean useLegacyMode, IVType ivType, Boolean signData)
       at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket)
       at Microsoft.WindowsServerSolutions.Web.Security.AuthenticationHelper.TryGetRememberedUserName(String&amp; username)
       at Microsoft.WindowsServerSolutions.Web.RemoteAccessSite.LogOn.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    </Data>
      </EventData>
    </Event>


    • Edited by Y a h y a Sunday, September 01, 2013 9:10 PM
    Sunday, September 01, 2013 9:07 PM
  • Hi:

    Have you looked through this:

    http://eventid.net/display-eventid-1309-source-ASP.NET%204.0.30319.0-eventno-11022-phase-1.htm


    Larry Struckmeyer[SBS-MVP] If your question is answered, please mark the response as the answer so that others can benefit.

    Monday, September 02, 2013 2:01 AM
  • Hi Larry

    I have uninstalled net fw 4.5 which was installed as part of VS2012 and reinstalled net fw 4.0 and RWW is now working. Is net fw 4.5 not supported for RWW on SBS2011?

    Thanks

    Regards
    • Marked as answer by Y a h y a Monday, September 09, 2013 5:47 AM
    Wednesday, September 04, 2013 2:50 PM
  • No it's not.  4.5 is server 2012 era not 2008r2.

    Don't Retire TechNet

    Thursday, September 05, 2013 6:06 AM
  • Hi Yahya,

    Is there any update?

    Thanks.


    Best Regards
    Jeremy Wu

    Monday, September 09, 2013 5:38 AM