Biu tng "a kt ni" khng xut hin trong vung thng bao khi ban kt ni vi ng dung t xa bng cach s dung Remote Desktop Web Access trn may tinh ang chay Windo...

D?ch tiu ? D?ch tiu ?
ID c?a bi: 977507 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

Khi ban kt ni vi ng dung t xa bng cach s dung Remote Desktop Web Access (RD Web Access), biu tng a kt ni khng xut hin trong vung thng bao.

Chu y Khi ban chay ng dung t xa ln u, biu tng a kt ni xut hin trong vung thng bao.

WebSSO (Web Single Sign On) khng hoat ng nh mong i, tao ra "nhc hai ln" i vi cac uy nhim trong ng dung c khi chay qua RemoteApps c xut ban qua Remote Desktop Web Access trong Windows Server 2008 R2.

NGUYN NHN

S c nay xay ra khi co nhiu cookie cha ht han trn may khach.

CCH GI?I QUY?T KHC

khc phuc s c nay, hay xoa cookie.

yu cu chung ti khc phuc s c nay giup ban, hay chuyn n phn "Khc phuc s c cho ti". Nu ban mun t minh khc phuc s c nay, hay i ti phn " ti t khc phuc s c".

Kh?c ph?c s? c? cho ti



? kh?c ph?c s? c? ny t? ?ng, hay b?m vo nt ho?c lin k?t Kh?c ph?c s? c?. Trong hp thoai File Download (Tai Tp xung), bm Run (Chay) ri lam theo cac bc trong Thut sy Khc phuc s c.


Khc phuc s c nay
Microsoft Fix it 50631


Chu y
  • Thut sy nay co th chi co bng ting Anh. Tuy nhin, ban va t? ?ng c?ng s? ho?t ?ng ?i v?i cc phin b?n ngn ng? khc c?a Windows.
  • Nu ban hin khng lam vic trn may tinh xay ra s c, hay lu giai phap Khc phuc s c vao ia flash hoc CD ri chay trn may tinh co s c.

Sau o, i ti phn "Phng phap nay co khc phuc c s c khng?".



? ti t? kh?c ph?c s? c?

xoa cookie trong Windows Internet Explorer 8, hay lam theo cac bc sau:
  1. Bm Bt u, bm Pa-nen iu khin, bm Kt ni Mang va Internetri bm Tuy chon Internet.
  2. Trn tab Chung, bm Xoa.
  3. chi xoa cookie, bm chon hp kim Cookie ri bm bo chon tt ca cac hp kim khac.
  4. Bm Xoa.

Mt tuy chon khac khng xoa cookie la thay i tp tp lnh C:\windows\Web\RDWeb\Pages\renderscripts.js trn may chu RD Web Access.

? thay ?i tp t?p l?nh C:\windows\Web\RDWeb\Pages\renderscripts.js, hay lam theo cc b?c sau:

1. ng nhp vao may chu Remote Desktop Web Access vi t cach la thanh vin cua nhom Quan tri vin cuc b.
2. Duyt tp jscript sau, bm chut phai va chon Chinh sa.

C:\windows\Web\RDWeb\Pages\renderscripts.js

3. Tim cach trin khai ham sau trong tp jscript
function getCookieContents(strNameOfCookie)

4. Sa i ma trong tp jscript khp vi nhng muc sau:


Ma hin co trong tp Renderscripts.js:

------------------------------------------
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);



Thay i phn trn trong tp Renderscripts.js khp vi nhng muc sau:

---------------------------------------------------------------------------------------
// 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);

Phng php ny c kh?c ph?c ?c s? c? khng?

  • Ki?m tra xem s? c? ? ?c kh?c ph?c hay cha. N?u s? c? a ?c kh?c ph?c, b?n a hon thnh phn ny. N?u s? c? v?n cha ?c kh?c ph?c, b?n c th? lin h? v?i b? ph?n h? tr?.
  • Chng ti nh gi cao ph?n h?i c?a b?n. cung cp phan hi hoc bao cao bt ky s c nao v giai phap nay, vui long lai nhn xet trn blog "Khc phuc s c giup ti" hoc gi th email cho chung ti.

THNG TIN THM

S c nay co th xay ra khi cac iu kin sau ung:
  • Remote Desktop Web Access nm trong min con co min cha.
  • Min chinh hay bt ky min phu nao khac u ghi cookie co min c t thanh cp min cha. Hnh vi ny chia s? cookie gi?a t?t c? cc tn mi?n con.
Nu Remote Desktop Web Access c t cp min cha thi biu tng kt ni se xut hin trong vung thng bao. Ngoai ra, tinh nng ng nhp mt ln (SSO), ng dung t xa va Kt ni May ban hoat ng nh mong i khi ban kt ni vi ng dung t xa.


Ngoai ra, co th thy biu tng kt ni xut hin khi co thng tin cookie b sung co trong cookie c a tr lai may khach bi may chu Web.



Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Thu?c tnh

ID c?a bi: 977507 - L?n xem xt sau cng: 21 Thang Mi 2011 - Xem xt l?i: 1.0
p d?ng
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
T? kha:
kbtshoot kbexpertisebeginner kbsurveynew kbprb kbfixme kbmsifixme KB977507

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com