Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2418
  • Last Modified:

SBS 2011 RWA

When trying to use Small Business Server 2011 Remote Web Access we get this error, if I reboot the SBS server it will start working again for a day or so. Any suggestions on where to start troubleshooting?

"An unexpected error occurred, Please try again. If the problem continues, contact the person who manages your server.
0
jsarinana
Asked:
jsarinana
3 Solutions
 
Chris MillardCommented:
The first thing to look at are the event logs on the server. See if there are any errors or warnings.
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
You didn't state when exactly that error is occurring (ie, what feature of RWA causes it to occur), but I suspect it may be when accessing a workstation remotely?

The answer to this problem is well documented:
http://blogs.technet.com/b/sbs/archive/2014/01/13/troubleshooting-an-unexpected-error-occurred-message-when-using-remote-web-access-to-connect-to-computers.aspx

Jeff
TechSoEasy
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Oh, and if it's not when accessing a computer remotely, there are a few other causes:
http://blogs.technet.com/b/sbs/archive/2009/06/19/common-remote-web-workplace-rww-connect-to-a-computer-issues-in-sbs-2008.aspx

(RWA is essentially the same in SBS 2008 and 2011, so the article applies)

Jeff
TechSoEasy
0
Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
jsarinanaAuthor Commented:
Ok, I finely found sometime to get back to this, sorry for the long delay

In Event Viewer I see Event ID 3 WebHost
Here is what it details, please advice:

System.ServiceModel.Activation.HostedHttpRequestAsyncResult/27625033
   System.ServiceModel.ServiceActivationException: The service '/Remote/BuiltIns/RDP/RemoteDesktopWebService.svc' cannot be activated due to an exception during compilation. The exception message is: Memory gates checking failed because the free memory (524255232 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element.. ---> System.InsufficientMemoryException: Memory gates checking failed because the free memory (524255232 bytes) is less than 5% of total memory. As a result, the service will not be available for incoming requests. To resolve this, either reduce the load on the machine or adjust the value of minFreeMemoryPercentageToActivateService on the serviceHostingEnvironment config element. at System.ServiceModel.Activation.ServiceMemoryGates.Check(Int32 minFreeMemoryPercentage, Boolean throwOnLowMemory, UInt64& availableMemoryBytes) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CheckMemoryCloseIdleServices(EventTraceActivity eventTraceActivity) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result)
   w3wp
   9688
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Funny, that's exactly what I had originally posted!

Jeff
TechSoEasy
0
 
jsarinanaAuthor Commented:
I did this chanage, was forwarding ports 4125 and 3389 to SBS
I now also included ports TCP 987 and TCP 443
so far so good
0
 
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
So, next time you close out a question -- please don't split points when someone just repeats what was already said.

Thanks.
0
 
pbaeeCommented:
Tried this fix on my system and it didn't help. I did an iisreset /restart and it fixed the issue...for now.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now