Select the product you need help with
The "Connected" icon does not appear in the notification area when you connect to a remote application by using Remote Desktop Web Access on a computer that is running Windows Server 2008 R2Article ID: 977507 - View products that this article applies to. SYMPTOMSWhen you connect to a remote application by using Remote Desktop Web Access (RD Web Access) on a computer that is running Windows Server 2008 R2, the Connected icon does not appear in the notification area. Note When you first run a remote application, the Connected icon appears in the notification area. WebSSO (Web Single Sign On) does not work as expected, causing a "double prompt" for credentials in applications launched via RemoteApps published via Remote Desktop Web Access in Windows Server 2008 R2. CAUSEThis issue occurs when there are multiple unexpired cookies on the client computer. WORKAROUNDTo work around this issue, delete the cookies. To have us work around the issue for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section. Fix it for meTo fix this problem automatically, click the Fix it button or link. In the File Download dialog box, click Run and then follow the steps in the Fix it Wizard. Notes
Then, go to the "Did this fix the problem?" section. Let me fix it myselfTo delete the cookies in Windows Internet Explorer 8, follow these steps:
Another option than deleting the cookies is to change the script file C:\windows\Web\RDWeb\Pages\renderscripts.js on the RD Web Access server. To change the script file C:\windows\Web\RDWeb\Pages\renderscripts.js, follow these steps: 1. Log in to the Remote Desktop Web Access server as a member in the local Administrators group. 2. Browse to the following jscript file, right-click and select Edit. C:\windows\Web\RDWeb\Pages\renderscripts.js 3. Find the implement of the following function in that jscript file. function getCookieContents(strNameOfCookie) 4. Modify the codes in the jscript file to match the following: Existing code in Renderscripts.js file: ------------------------------------------ function getCookieContents(strNameOfCookie) { var objCookie; var objCookieName; var objCookieContents = null; if ( strNameOfCookie != null && strNameOfCookie != "" && document.cookie.length > 0 ) { var objCookies = document.cookie.split(";"); for (var iIndex = 0; iIndex < objCookies.length; iIndex++) { objCookie = objCookies[iIndex]; objCookieName = objCookie.substring(0, strNameOfCookie.length); Change the above section in the Renderscripts.js file to match the following: --------------------------------------------------------------------------------------- // Add a function called trim as a method of the prototype // object of the String constructor. String.prototype.trim = function() { // Use a regular expression to replace leading and trailing // spaces with the empty string return this.replace(/(^\s*)|(\s*$)/g, ""); } // End of the new-added function function getCookieContents(strNameOfCookie) { var objCookie; var objCookieName; var objCookieContents = null; if ( strNameOfCookie != null && strNameOfCookie != "" && document.cookie.length > 0 ) { var objCookies = document.cookie.split(";"); for (var iIndex = 0; iIndex < objCookies.length; iIndex++) { objCookie = objCookies[iIndex]; objCookie = objCookie.trim(); //Calling the new-added function objCookieName = objCookie.substring(0, strNameOfCookie.length); Did this fix the problem?
MORE INFORMATIONThis issue may occur when the following conditions are true:
Additionally this can be seen to occur when there is additional cookie information contained in the cookie presented back to the client by the Web server. Properties | Article Translations
|


Back to the top








