500 Internal server error on RPC over HTTP using TS Gateway
-
Wednesday, November 14, 2012 8:27 PM
I've been happily using TS Gateway on Windows Server 2008 x64 for 18 months and everything was working perfectly. Suddenly this week it started giving "access denied" errors to any user who tried to connect, evidenced in event viewer as a failed login attempt. After restarting the server, it got worse in that if I browse to the /rpc folder it gives me 500 Internal server error and I don't even get as far as authenticating credentials. I've tried removing IIS, RPC over HTTP and TS Gateway, and re-adding all of them, but I still get the same error 500. The RPC and TS Gateway services are both running. What could be causing this and how can I fix it?
All Replies
-
Saturday, November 17, 2012 2:46 PMI still can't resolve this. Can anyone suggest a solution please?
-
Monday, November 19, 2012 3:16 AMModerator
Hi,
Thanks for your post.
Firstly, check the following KB article to troubleshoot this issue.
This computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable
http://support.microsoft.com/default.aspx?scid=kb;EN-US;969743
If the issue still persists, you may perform the below steps:
- Uninstalled TSGateway, IIS role, all IIS related components.
- Delete all files in the folder %windir%\system32\inetsrv\config
- Delete all files in the folder %windir%\system32\inetsrv\metaback
- Restart the server and try to re-install TSGateway again
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
- Proposed As Answer by Aiden_CaoMicrosoft Contingent Staff, Moderator Wednesday, November 21, 2012 6:40 AM
- Marked As Answer by Aiden_CaoMicrosoft Contingent Staff, Moderator Monday, November 26, 2012 2:45 AM
-
Monday, November 26, 2012 7:22 AM
Hi,
Thanks for your post.
Firstly, check the following KB article to troubleshoot this issue.
This computer can't connect to the remote computer because the Terminal Services Gateway server is temporarily unavailable
http://support.microsoft.com/default.aspx?scid=kb;EN-US;969743
If the issue still persists, you may perform the below steps:
- Uninstalled TSGateway, IIS role, all IIS related components.
- Delete all files in the folder %windir%\system32\inetsrv\config
- Delete all files in the folder %windir%\system32\inetsrv\metaback
- Restart the server and try to re-install TSGateway again
Best Regards,
Aiden
Aiden Cao
TechNet Community Support
Thank you very much for this. I confirm it fixed the problem, although there was an error in reinstalling IIS and TS Gateway until I also removed Windows Process Activation Service.

