Remote Web Access Error ” An unexpected error occurred”

Remote Web Access is awesome, when it works. We recently set up Remote Web Access on a server running Server Essentials R2 . It was working beautifully, until it went down without warning. You could log onto the website but when you clicked on a computer to connect remotely nothing would happen. When I tried to click on a shared folder it would come up with the following error:

RemoteWebAccessError

An unexpected error occurred. Please try again. If the problem continues, contact the person who manages your server. 

Between another tech and I,  we troubleshot this error for hours, but we couldn’t find a solution. I called Microsoft about the issue and after a one and a half hours of troubleshooting they fixed the issue. This is what they said was the issue.

Troubleshooting Steps:

1.  We were getting unexpected errors while accessing shared folders remotely

2.  The tech found IIS handlers were missing

3.  She went to IIS > server level ( parent level) and added managed handler mapping  :

Name: svc-Integrated-4.0
Request path: *.svc
Executable: System.ServiceModel.Activation.ServiceHttpHandlerFactory, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35

4. Added script mapping:
Name: svc-ISAPI-4.0_64bit
Request path: *.svc
Executable: windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
Name: svc-ISAPI-4.0_32bit
Request path: *.svc
Executable: windir%\Microsoft.NET\Framework32\v4.0.30319\aspnet_isapi.dll

5. Ran IISreset.
6. We were able to access resources in Remote access, then.

This frankly went over my head, but I thought I would post this just in case someone else had the same issue as our client had. Good luck!

Update: 1/22/14 Another customer was getting the same error when trying to connect to their computer remotely. For that situation, the problem was resolved when I opened command prompt as an administrator and ran the command: IISreset (step five). I could then access the computers and shared files just fine.

This was posted by techspeeder.

 

 

 

3 thoughts on “Remote Web Access Error ” An unexpected error occurred”

  1. HotSpot Computing

    For us, this issue started in the past few weeks running SBS 2011, but was intermittent. Reboots and/or IISReset commands (elevated command prompt) addressed the issue, but usually only for a few hours.

    I’m hesitant to make changes like the one above without a KB article or some explicit indication this is the problem, but we are continuing to troubleshoot.

    Reply

Leave a Reply