Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 891185
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T13:51:02+00:00 2026-05-15T13:51:02+00:00

I have the following config for roles using standard SqlRoleProvider, but I get an

  • 0

I have the following config for roles using standard SqlRoleProvider, but I get an error when I try and open the Security page in the wweb site Admin tool:

  <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    <providers>
      <remove name="AspNetSqlRoleProvider"/>
      <add name="AspNetSqlRoleProvider"
           type="System.Web.Security.SqlRoleProvider"
           connectionStringName="PoyntingInstallationConnectionString"
           applicationName="/" />
    </providers>
  </roleManager>

The DB has all the role tables etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T13:51:02+00:00Added an answer on May 15, 2026 at 1:51 pm

    Ensure that PoyntingInstallationConnectionString is in your web.config, is configured correctly, and points at the database that contains your tables.

    The roles would be entries in the aspnet_Roles table, not database roles. And there are no default roles, so the table should be empty when you first run the script.

    Edit: Can you provide more details on how you created the auth DB? I.e. did you run the aspnet_regsql tool directly, or did you generate and run the scripts separately?

    Edit 2: The aspnet_regsql tool is easy enough to run – it is in the .NET Framework v2.0 folder. (Default location C:\Windows\Microsoft.NET\Framework\v2.0.50727)

    There are a bunch of parameters that can be used to be run from the command line, or if you run it without parameters it will open a wizard that steps you through it. Note that, using the wizard, you get support for all of the membership provider features (profiles, personalization, web events…) even if you don’t intend to use them.

    I’d suggest that you run it and then compare the results with your existing database. Did someone run the tool and then just copy the tables over to another database without realizing that there was a bunch of other stuff required as well? I just tried running the tool both from the command line and wizard, and it generated all of the roles, procs, etc.

    When run correctly, you should have a bunch of tables (at least 6), stored procedures (a couple dozen or so – mine has 35) and DB roles (at least 6) with names starting with aspnet_, and a bunch of views (at least 5) with names starting with vw_aspnet_. If you’re missing any part of these, the provider won’t work.

    I typically run it from the command line so that I only get the membership and role stuff. That will cut down on the noise quite a bit, but is also why my numbers above are a little fuzzy. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using declarative J2EE form based authentication in my webapp, following the instructions given
I have configured my apache 2.2 server as a simple forward proxy using mod_proxy
I have the following code on my model: has_attached_file :photo, :styles => { :small
I have the following simple constructor: public SimpleClass(Type1 arg1, int interval = 1000) {
I have developed a simple application in GWT. After that, I generate war file
I am creating a day range validator using DataAnnotations, jQuery.validate and jquery.validate.unobtrusive. I've already
I have an MVC 3 app and a view with a single line: @ModelType
Question: I Have a WCF test Service with a reference (.net 3.5) on Silverlight
I'm migrating a Rails 2 app over to Rails 3, and hitting a major
I'm new to MyBatis. Ive been trying to configure mybatis in a webservice I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.