Sometimes the button for connecting to the computers stops working and/or the “unexpected error” message appears when you try to browse folders on RWW.
Error like this:
Another sign is you see this in Event Viewer (Application):
Log Name: Application
Source: ASP.NET 4.0.30319.0
Date: 30/04/2014 15:31:28
Event ID: 1309
Task Category: Web Event
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 30/04/2014 15:31:28 Event time (UTC): 30/04/2014 13:31:28 Event ID: 401c8120945a4115abb39de75d347aba
Event sequence: 5
Event occurrence: 1
Event detail code: 0
Application domain: /LM/W3SVC/1/ROOT/Remote-1-130099878420126008
Trust level: Full
Application Virtual Path: /Remote
Application Path: C:Program FilesWindows Small Business ServerBinWebAppRemoteAccess
Machine name: SBS
Process ID: 5100
Process name: w3wp.exe
Account name: NT AUTHORITYNETWORK SERVICE
There could be multiple contributors to the above problem but If you have applied .NET Framework 4.5.1 recently, you can work around this issue by modifying the Remote Web Access web.config file using the following steps:
1. Edit (via Notepad) the file called web.config located in C:Program FilesWindows Small Business ServerBinWebAppRemoteAccess
*Note – Take a copy of web.config just in case!
2. Find the line (near the bottom):
<serviceHostingEnvironment aspNetCompatibilityEnabled=”true” />
3. Replace with:
<serviceHostingEnvironment aspNetCompatibilityEnabled=”true” minFreeMemoryPercentageToActivateService=”0″ />
4. Save the file
5. Start Command Prompt (with Administrator rights) and type: IISRESET
6. Reload your site and thats it!