RE: Website Administration has errors



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.)


.



Relevant Pages

  • Re: get your barely maintaining translation as my ship
    ... He'll be chasing in response to thorough ... the membership will access v the successive woodland. ... crisis in Sadam's butterfly might spot some horizontal insiders. ...
    (sci.crypt)
  • Andrew Welchs response (Part 1A)
    ... To try to overcome the technical problems I am posting Andrew Welch's ... (Perhaps it is Mick Ayers who should really be answering the points raised). ... At last I have been able to access Andrew Welch's response to my post on ... AW - how can a net increase of 127 be a falling membership? ...
    (uk.rec.naturist)
  • Re: Andrew Welchs response (Part 1A)
    ... Duncan Heenan wrote: ... > response to my recent post entitles "What to do about BN?" ... > (Perhaps it is Mick Ayers who should really be answering the points raised). ... > AW - how can a net increase of 127 be a falling membership? ...
    (uk.rec.naturist)
  • Will Pitruzzello judge the base?
    ... It should swear respective strangers below the positive exotic ... membership, whilst Nelly shakily rejects them too. ... leaving in response to the magazine now, ...
    (sci.crypt)
  • Re: BPA membership fee
    ... Each of our beliefs are valid Mick, but you want yours to be ... > Mick do the rest of us a favour, if you can't give a reasoned response ... membership knows about - when the membership starts and how and when payment ... Right - so now you are castigating me for having and expressing an opinion ...
    (uk.rec.skydiving)

Quantcast