asp.net - Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' after idle time -


in our web.config specify sql user , password log sql sql authentication , not windows authentication.

when deployed iis, works fine, when keep browser session open long time without user interaction error:

login failed user 'nt authority\anonymous logon'.

if sql timeout error expect different error, happens after idle time, assume related timeout.

is sql timeout error? trying log sql nt authority?

error message:

application error: sqlexception.

login failed user 'nt authority\anonymous logon'.

at system.data.sqlclient.sqlinternalconnection.onerror(sqlexception exception, boolean breakconnection, action`1 wrapcloseinaction) @ system.data.sqlclient.tdsparser.throwexceptionandwarning(tdsparserstateobject stateobj, boolean callerhasconnectionlock, boolean asyncclose) @ system.data.sqlclient.tdsparser.tryrun(runbehavior runbehavior, sqlcommand cmdhandler, sqldatareader datastream, bulkcopysimpleresultset bulkcopyhandler, tdsparserstateobject stateobj, boolean& dataready)


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -