A. I recently had this problem on a Server 2008 R2 Remote Desktop server. The problem is a file, tsportalwebpart(1).dll, which is found in the folder C:\Windows\Web\RDWeb\Pages\Bin. Delete this file and the access to https://<tsserver>/RDWeb should work without the error.

Related Reading:

Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.