L?I: L?i khi b?n g?i phng php trn m?t d?ch v? Web b?ng cch s? d?ng ASP

D?ch tiu ? D?ch tiu ?
ID c?a bi: 322886 - Xem s?n ph?m m bi ny p d?ng vo.
Chng ti ? ngh? t?t c? ng?i dng nng c?p ? Microsoft Internet Information Services (IIS) Phin b?n 7.0 ch?y trn Microsoft Windows Server 2008. IIS 7.0 lm tng ng k? Web c s? h? t?ng b?o m?t. ? bi?t thm chi ti?t v? cc ch? ? lin quan ?n an ninh IIS, gh thm Web site sau c?a Microsoft:
http://www.Microsoft.com/technet/Security/prodtech/IIS.mspx
? bi?t thm chi ti?t v? IIS 7.0, gh thm Web site sau c?a Microsoft:
http://www.iis.net/default.aspx?tabid=1
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

Khi b?n g?i phng php trn m?t d?ch v? Web, b?n c th? nh?n thng bo l?i sau:
System.InvalidOperationException: Unable to generate a temporary class
(result=1). error CS2001: Source file 'C:\WINNT\TEMP\gggcyckb.0.cs' could not 
be found error CS2008: No inputs specified at 
System.Xml.Serialization.Compiler.Compile() at 
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) at 
System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings) at 
System.Web.Services.Protocols.SoapClientType..ctor(Type type) at 
System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() at 
SDAccounts.swd_dotnetdev.Organizations..ctor() at 
SDAccounts.Contacts.GetContactInfo(Object Status, Object& ErrorString)
					

NGUYN NHN

ASP.D?ch v? Web NET i khi s? d?ng h? th?ng th m?c Temp khi h? x? l? WebMethods. N?u ch? ? x? l? yu c?u s? d?ng m?t danh tnh khng c truy c?p ?c/ghi vo th m?c , b?n nh?n ?c thng bo l?i.

GI?I PHP

? trnh v?n ? ny, cung c?p cho ?c/ghi gi?y php cho cc Temp th m?c vo ti kho?n c?a ASPNET. Khi ASP.Qu tr?nh d?ch v? Web NET WebMethods, danh tnh ?c s? d?ng th?ng xuyn nh?t ? truy c?p vo cc h? th?ng Temp th m?c l ?a phng ASPNET ti kho?n, m l trng m?c m?c ?nh Theo ASP.NET cc ?ng d?ng ch?y.

Tuy nhin, n?u b?n c c?u h?nh ?ng d?ng c?a b?n ? s? d?ng m?o danh trong Web.config t?p tin c?a n, cc ch? ? c?ng c th? s? d?ng nh?n d?ng c?a b?t k? ng?i g?i ?n. N?u nh v?y, t?t c? cc ti?m nng g?i danh hng tnh ph?i c ?c/ghi gi?y php ? Temp th m?c. M?t danh tnh c th? g?i l Internet Information Services (IIS) ti kho?n c?a ?ng d?ng v danh (thng th?ng cc ISUR_xxx ti kho?n). Cc ch? ? c?ng c th? s? d?ng cc IWAM_xxx ti kho?n.

T?NH TR?NG

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong cc s?n ph?m c?a Microsoft ?c li?t k ?u bi vi?t ny.

Thu?c tnh

ID c?a bi: 322886 - L?n xem xt sau cng: 27 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Internet Information Services 5.0
T? kha:
kbbug kbpending kbmt KB322886 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:322886

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