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

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

>I got the following error message when I access the web application, in which
>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!

.



Relevant Pages

  • Login failed for user (null). Reason: Not associated with a trus
    ... I got the following error message when I access the web application, ... the web application use SPPI to connect to database. ... I have two 2 accounts, userA and userB, which belong to the same group ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Login failed for user (null). Reason: Not associated with a
    ... the database is installed on another machine from the web application. ... >>I got the following error message when I access the web application, ... >>I have two 2 accounts, userA and userB, which belong to the same group ... >>userB cannot and prompted the above error. ...
    (microsoft.public.dotnet.framework.aspnet)