L?I: ?c ?t tn theo ?ng khng ho?t ?ng khi ng?i lao ?ng qu tr?nh ch?y d?i ti kho?n ASPNET

D?ch tiu ? D?ch tiu ?
ID c?a bi: 315159 - 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

B?n c th? nh?n ?c m?t thng bo l?i n?u t?t c? cc i?u ki?n sau l ng:
  • M?t ASP.NET cng nhn qu tr?nh (Aspnet_wp.exe) ch?y theo cc trng m?c m?c ?nh ASPNET.
  • B?n khng cho php m?o danh trn ?ng d?ng .
  • B?n s? d?ng my ch? SQL.NET d? li?u nh cung c?p ho?c OLE DB .NET d? li?u nh cung c?p ? k?t n?i v?i c s? d? li?u.
B?n c th? nh?n ?c b?t k? thng bo l?i sau y:
Th 1
OleDbException (0x80004005): [DBNETLIB] [ConnectionOpen (Connect()).]SQL Server khng t?n t?i ho?c truy c?p b? t? ch?i.]
Th 2
SqlException (0x80004005): [DBNETLIB][ConnectionOpen (Connect()).]SQL Server khng t?n t?i ho?c truy c?p vo b? t? ch?i.]
Tin nh?n 3
System.Data.SqlClient.SqlException: SQL H? ph?c v? khng t?n t?i ho?c truy c?p b? t? ch?i
Th 4
System.Data.OleDbClient.OleDbException: SQL H? ph?c v? khng t?n t?i ho?c truy c?p b? t? ch?i

NGUYN NHN

Khi ASP.NET cng nhn qu tr?nh ch?y d?i ASPNET ti kho?n, n?u b?n khng cho php m?o danh cho m?t ?ng d?ng, cc ch? ? m ch?y cc yu c?u cho r?ng ?ng d?ng ch?y d?i ti kho?n qu tr?nh. Cc ASPNET ti kho?n khng th? thi?t l?p k?t n?i ?ng ?ng ?c ?t tn theo c s? d? li?u h? ph?c v?.

GI?I PHP

? lm vi?c xung quanh v?n ? ny, s? d?ng m?t trong cc cch sau phng php:
  • B?t m?o danh ngy c?a b?n ASP.NET ?ng d?ng. i?u ny phng php lm vi?c n?u ng?i dng impersonated c th? truy c?p vo my tnh v ?n cc h? ph?c v? c s? d? li?u m b?n truy c?p.
  • S? d?ng Transmission Control Protocol/Internet Protocol (TCP/IP) thay v? c?a giao th?c ?c ?t tn theo ?ng ? k?t n?i v?i c s? d? li?u. ? lm i?u ny, thm cc thu?c tnh sau y ? k?t n?i chu?i:
    "Network Library =dbmssocn"
    						
    V d?:
    "User ID=myUserId;Password=myPassword;Initial Catalog=Pubs;Data Source=myServer;Network Library =dbmssocn"
    					
  • Ki?m tra c s? d? li?u cho cc giao th?c ?c kch ho?t. ?i v?i c s? d? li?u SQL Server, ch?y m?ng my ch? Utility ? ki?m tra cc giao th?c c? th?.

T?NH TR?NG

Microsoft ? xc nh?n r?ng y l m?t l?i trong cc s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

THAM KH?O

? bi?t thm chi ti?t v? ASP.NET b?o m?t, b?m s? bi vi?t sau y ? xem bi vi?t trong c s? ki?n th?c Microsoft:
306590ASP.T?ng quan v? an ninh m?ng
? bi?t thm v? <processmodel> o dan adran, h?y tham kh?o ti li?u h?ng d?n MSDN sau:<b00> </b00> </processmodel>
http://msdn2.Microsoft.com/en-US/Library/7w2sway1 (vs.71) .aspx

Thu?c tnh

ID c?a bi: 315159 - L?n xem xt sau cng: 27 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft ASP.NET 1.1
  • Microsoft ADO.NET 1.1
  • Microsoft ADO.NET 2.0
T? kha:
kbbug kbdatabase kbhttpruntime kbnofix kbreadme kbsecurity kbmt KB315159 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:315159

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