G
Guest
Dear all,
I have an application that use session state without any trouble when my
SessionState element of my webConfig file is set to "InProc"
Then I just try some test to make it work as out process. For that I have
modefied the web config SessionStae element part as follow :
<sessionState
mode="SQLServer"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=nomos_srvr;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
Then on the server side I install the ASPState database using the OSQL tool
as follow :
osql -s nomos_srvr -E installSqlStqte.sql
Then I run my application and get the following error :
Exception Details:
============
System.Data.SqlClient.SqlException: Login failed for user '(null)'. Reason:
Not associated with a trusted SQL Server connection.
What does it means and how to solve it ?
Thanks fro your help
regards
serge
I have an application that use session state without any trouble when my
SessionState element of my webConfig file is set to "InProc"
Then I just try some test to make it work as out process. For that I have
modefied the web config SessionStae element part as follow :
<sessionState
mode="SQLServer"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data
source=nomos_srvr;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
Then on the server side I install the ASPState database using the OSQL tool
as follow :
osql -s nomos_srvr -E installSqlStqte.sql
Then I run my application and get the following error :
Exception Details:
============
System.Data.SqlClient.SqlException: Login failed for user '(null)'. Reason:
Not associated with a trusted SQL Server connection.
What does it means and how to solve it ?
Thanks fro your help
regards
serge