Tuesday, March 27, 2012

Login failed for user ''. The user is not associated with a truste

I am new with this personalization stuff.
Everything was working fine, however, now I always get the Login failed for
user ''. The user is not associated with a trusted SQL Server connection.
error message.
This is for anonymous personalization, very simple. I am just trying to
retrieve a string from Profile. This is what I have in my web.config file:
<system.web>
<anonymousIdentification enabled="true" />
<profile enabled="true">
<properties>
<add name="MainMapPane1XML" defaultValue="" type="string"
allowAnonymous="true" />
<add name="MB2_LocatorXML" defaultValue="" type="string"
allowAnonymous="true" />
<add name="MB2_MapPaneXML" defaultValue="" type="string"
allowAnonymous="true" />
</properties>
</profile>
</system.web>
It also does this on my identical ISP site. Any ideas?
Roger Bedell, President, Sylvan Ascent Inc.Sounds like your connection string is using "Integrated Security".
Jeff
"Sylvan" wrote:

> I am new with this personalization stuff.
> Everything was working fine, however, now I always get the Login failed fo
r
> user ''. The user is not associated with a trusted SQL Server connection.
> error message.
> This is for anonymous personalization, very simple. I am just trying to
> retrieve a string from Profile. This is what I have in my web.config file:
> <system.web>
> <anonymousIdentification enabled="true" />
> <profile enabled="true">
> <properties>
> <add name="MainMapPane1XML" defaultValue="" type="string"
> allowAnonymous="true" />
> <add name="MB2_LocatorXML" defaultValue="" type="string"
> allowAnonymous="true" />
> <add name="MB2_MapPaneXML" defaultValue="" type="string"
> allowAnonymous="true" />
> </properties>
> </profile>
> </system.web>
>
> It also does this on my identical ISP site. Any ideas?
> --
> Roger Bedell, President, Sylvan Ascent Inc.

0 comments:

Post a Comment