RE: Website Administration has errors
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng[MSFT])
- Date: Sun, 16 Jul 2006 16:26:22 GMT
Thanks for your response and the further information.
As you mentioned that the problem went away after you added the following
config sections:
=========================
<roleManager defaultProvider="SqlProvider"
enabled="true"
cacheRolesInCookie="true"
cookieName=".ASPROLES"
cookieTimeout="30"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="All" >
<providers>
<add
name="SqlProvider"
type="System.Web.Security.SqlRoleProvider"
connectionStringName="loginConnection"
applicationName="NuclearDedication" />
</providers>
</roleManager>
========================
I think this make sense because if you're using both membership and role
management service(enable role) in the ASP.NET application, the admin site
will try establishing the connection to the storage of both the membership
and role management providers(they're separated). Therefore in your
scenario, if you haven't provided the custom "RoleManager" provide setting
which pointing to your own SQL Server 7.0 database, the ASP.NET runtime
still try connecting to the default "Local SQL Express" database, and
result to the error you mentioned earlier. Do you think so?
In addition, here is a blog article which has provided many good resources
on ASP.NET 2.0 membership and role management service:
#ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security
Resources
http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx
Hope this also helps. Please feel free to let me know if there is anything
else you're looking for or we can help you.
Regards,
Steven Cheng
Microsoft MSDN Online Support Lead
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may
learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
.
- References:
- RE: Website Administration has errors
- From: Steven Cheng[MSFT]
- RE: Website Administration has errors
- From: Herb
- RE: Website Administration has errors
- Prev by Date: Re: OnLoggedIn/OnLoggedOut - not session?
- Next by Date: Re: OnLoggedIn/OnLoggedOut - not session?
- Previous by thread: RE: Website Administration has errors
- Next by thread: How can we fire the db method when user reads the email
- Index(es):
Relevant Pages
|