Hi I get this error when I am accessing the custom page from a client machine.
==========================
==========
==========
==========
==========
==========
=
Server Error in '/CUST_CaseHistory' Application.
__________________________
__________
____
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlE
xception: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SqlException (0x80131904): Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.]
System.Data.SqlClient.SqlI
nternalCon
nection.On
Error(SqlE
xception exception, Boolean breakConnection) +3176017
System.Data.SqlClient.TdsP
arser.Thro
wException
AndWarning
(TdsParser
StateObjec
t stateObj) +245
System.Data.SqlClient.TdsP
arser.Run(
RunBehavio
r runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1357
System.Data.SqlClient.SqlI
nternalCon
nectionTds
.CompleteL
ogin(Boole
an enlistOK) +53
System.Data.SqlClient.SqlI
nternalCon
nectionTds
.LoginNoFa
ilover(Str
ing host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +3188374
System.Data.SqlClient.SqlI
nternalCon
nectionTds
.OpenLogin
Enlist(Sql
Connection
owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +3182568
System.Data.SqlClient.SqlI
nternalCon
nectionTds
..ctor(DbC
onnectionP
oolIdentit
y identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +385
System.Data.SqlClient.SqlC
onnectionF
actory.Cre
ateConnect
ion(DbConn
ectionOpti
ons options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +770
System.Data.ProviderBase.D
bConnectio
nFactory.C
reatePoole
dConnectio
n(DbConnec
tion owningConnection, DbConnectionPool pool, DbConnectionOptions options) +54
System.Data.ProviderBase.D
bConnectio
nPool.Crea
teObject(D
bConnectio
n owningObject) +2866958
System.Data.ProviderBase.D
bConnectio
nPool.User
CreateRequ
est(DbConn
ection owningObject) +96
System.Data.ProviderBase.D
bConnectio
nPool.GetC
onnection(
DbConnecti
on owningObject) +2857363
System.Data.ProviderBase.D
bConnectio
nFactory.G
etConnecti
on(DbConne
ction owningConnection) +64
System.Data.ProviderBase.D
bConnectio
nClosed.Op
enConnecti
on(DbConne
ction outerConnection, DbConnectionFactory connectionFactory) +2854535
System.Data.SqlClient.SqlC
onnection.
Open() +274
CaseListing.CaseList.WebGr
id1_Initia
lizeDataSo
urce(Objec
t sender, DataSourceEventArgs e) in C:\Development\Web\CUST_Ca
seListing\
CaseListin
g\CaseList
.aspx.vb:2
3
ISNet.WebUI.WebGrid.WebGri
d.OnInitia
lizeDataSo
urce(Objec
t dataSource) +577
ISNet.WebUI.WebGrid.WebGri
d.OnLoad(E
ventArgs e) +223
System.Web.UI.Control.Load
Recursive(
) +66
System.Web.UI.Control.Load
Recursive(
) +191
System.Web.UI.Control.Load
Recursive(
) +191
System.Web.UI.Page.Process
RequestMai
n(Boolean includeStagesBeforeAsyncPo
int, Boolean includeStagesAfterAsyncPoi
nt) +2604
__________________________
__________
____
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
==========================
==========
==========
==========
==========
==========
=
Things that have been done.
1.Website is set to windows integrated authentication only.
2. Delegation has set Between the Web Server and the SQL server
3. Domain functional level is 2000
4. In Web.config we have already set <identity impersonate="true"/>
Start Free Trial