Tuesday, March 27, 2012

Login failed for user '(null)'. Reason: Not associated with a trus

I got the following error message when I access the web application, in whic
h
the web application use SPPI to connect to database.
"Login failed for user '(null)'. Reason: Not associated with a trusted
connection"
The web application is grant to a group only in web.config
<authorization>
<allow roles="Domain\AGroup" />
<deny users="*" />
</authorization>
I have two 2 accounts, userA and userB, which belong to the same group
"Domain\AGroup". userA can access the web application successfully, whereas
userB cannot and prompted the above error.
Do all you have encountered the same problem?
Thanks!Is the database on the same machine?
Are you using impersonation <identity impersonate="true"/> ?
Scott
http://www.OdeToCode.com/blogs/scott/
On Fri, 29 Apr 2005 02:32:14 -0700, boy
<boy@.discussions.microsoft.com> wrote:

>I got the following error message when I access the web application, in whi
ch
>the web application use SPPI to connect to database.
>"Login failed for user '(null)'. Reason: Not associated with a trusted
>connection"
>The web application is grant to a group only in web.config
> <authorization>
> <allow roles="Domain\AGroup" />
> <deny users="*" />
> </authorization>
>I have two 2 accounts, userA and userB, which belong to the same group
>"Domain\AGroup". userA can access the web application successfully, wherea
s
>userB cannot and prompted the above error.
>Do all you have encountered the same problem?
>Thanks!

0 comments:

Post a Comment