(local.computer)\ASPNET.... User Authentication Failed

rated by 0 users
This post has 3 Replies | 2 Followers

Top 500 Contributor
Posts 46
Points 720
JPortnoy Posted: Wed, Aug 16 2006 11:49 AM

 Even though my connection string reads as follows:

"server=mycomp\sqlexpress;uid=myuser;pwd=mypw;Trusted_Connection=yes;database=communityserver" 

 

I am receiving the following error:

Cannot open database "communityserver" requested by the login. The login failed.
Login failed for user 'mycomp\ASPNET'.

 

Why is it attempting to run under the user 'ASPNET", rather than the specified "myuser"? Any help would be appreciated. 

Jacob Portnoy www.JacobPortnoy.com -- Question Common Belief. --
Top 10 Contributor
Posts 2,527
Points 28,845
MVPs
Partners
You have set Trusted Connection=yes, meaning it will try to use Windows authentication, regardless of the userid and password you've defined. Change it to "no" and it will revert to using SQL authentication.

Four Roads

  • | Post Points: 20
Top 500 Contributor
Posts 46
Points 720
JPortnoy replied on Wed, Aug 16 2006 11:59 AM

Great. That seems to work. However, it now supplies this error instead:

 

Procedure or Function 'aspnet_Profile_GetProperties' expects parameter '@TimeZoneAdjustment', which was not supplied.

 

Could this have something to do with this coinciding with my attempt to upgrade to CS 2.1? 

 

[ Edit: On second note, let me re-post this out of this thread because it no long relates to authentication ] 

Jacob Portnoy www.JacobPortnoy.com -- Question Common Belief. --
  • | Post Points: 20
Top 10 Contributor
Posts 5,292
Points 49,195
CS Developers
Responded to this in your other thread...
  • | Post Points: 5
Page 1 of 1 (4 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com