|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
windows authentication problemI've got the following error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. In my webconfig file I use: <authentication mode="Windows"/> <identity impersonate="true"/> My connectionstring is: data source=SAN-SRV4; initial catalog=LessiusData; Integrated Security=SSPI; And when I check my login it is lessius\filip.debacker So that is correct I check it with System.Security.Principal.WindowsIdentity.GetCurrent().Name; So what do you think the problem is? thanks! Filip Hello Filip,
classical double hop problem. check this: http://msdn.microsoft.com/msdnmag/issues/05/09/SecurityBriefs/default.aspx --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > Hi everyone, > > I've got the following error: > Login failed for user '(null)'. Reason: Not associated with a trusted > SQL > Server connection. > In my webconfig file I use: > <authentication mode="Windows"/> > <identity impersonate="true"/> > My connectionstring is: > data source=SAN-SRV4; initial catalog=LessiusData; Integrated > Security=SSPI; > And when I check my login it is lessius\filip.debacker So that is > correct > > I check it with > System.Security.Principal.WindowsIdentity.GetCurrent().Name; > So what do you think the problem is? > > thanks! > > Filip > Try Windows and SQL Authentication in the SQL Server
Show quoteHide quote "Filip De Backer" <FilipDeBac***@discussions.microsoft.com> wrote in message news:B0BD22F9-4EEF-432B-AACE-328BFAA04568@microsoft.com... > Hi everyone, > > I've got the following error: > Login failed for user '(null)'. Reason: Not associated with a trusted SQL > Server connection. > > In my webconfig file I use: > <authentication mode="Windows"/> > <identity impersonate="true"/> > > My connectionstring is: > data source=SAN-SRV4; initial catalog=LessiusData; Integrated Security=SSPI; > > And when I check my login it is lessius\filip.debacker > So that is correct > > I check it with > System.Security.Principal.WindowsIdentity.GetCurrent().Name; > > So what do you think the problem is? > > thanks! > > Filip Try Windows and SQL Authentication in the SQL Server
Show quoteHide quote "Filip De Backer" <FilipDeBac***@discussions.microsoft.com> wrote in message news:B0BD22F9-4EEF-432B-AACE-328BFAA04568@microsoft.com... > Hi everyone, > > I've got the following error: > Login failed for user '(null)'. Reason: Not associated with a trusted SQL > Server connection. > > In my webconfig file I use: > <authentication mode="Windows"/> > <identity impersonate="true"/> > > My connectionstring is: > data source=SAN-SRV4; initial catalog=LessiusData; Integrated Security=SSPI; > > And when I check my login it is lessius\filip.debacker > So that is correct > > I check it with > System.Security.Principal.WindowsIdentity.GetCurrent().Name; > > So what do you think the problem is? > > thanks! > > Filip
LogonUser
Can i run more then one session on the computer? TripleDESCryptoServiceProvider Code Signing Certificates for individuals / open-source Correctly using RSACryptoServiceProvider? simple way to encrypt data security engineering for windows forms aspnet users permission under SSL on windows server 2003 how to get the number of milliseconds between two System.DateTime objects AzMan LDAP Query Groups |
|||||||||||||||||||||||