Skip to content

Codepolice

  • ⤫

ASP.NET membership: System.Web.Security. SqlRoleProvider problems

Posted by Judy Alvarez Posted on February 25, 2022March 1, 2022
0

I had this really weird problem just now. I have done some work with the ASP.NET Membership provider and everything has been working great. But when I tried to deploy my application to the server I got this:

The ‘System.Web.Security.SqlRoleProvider’ requires a database schema compatible with schema version ‘1’. However, the current database schema is not compatible with this version. You may need to either install a compatible schema with aspnet_reqsql.exe (available in the framework installation directory) or upgrade the provider to a newer version.

Alright, my database was exactly the same and everything looked fine. I tried to recreate my database with the aspnet_regsql.exe tool but nothing worked. Then I finally found this thread on the MSDN messageboard and one guy said that he gave his application a name in the aspnet_Applications table and put that name in the web. config like this.





And that solved it. Really really strange and I have no idea if this is a bug or whatever. On my local machine (Vista with IIS7) it worked great to have an application named “/” but on my production machine (a Server 2003 with IIS6) it did not.

Now I should stop working for today.

Categories: JavascriptTagged: advantages of asp net, architecture of asp net, asp net applications, asp net cookies, asp net core microservice, asp net core vs net core, asp net development, asp net development services, asp net download, asp net javatpoint, asp net jobs, asp net login page, asp net programmers, asp net radio button, asp net razor, asp net send email, asp net server controls, asp net vs net core, asp net webapi, asp. net interview questions, best asp net hosting, c# asp net, differences between asp net and asp net core, form authentication in asp net, gridview asp net, ispostback in asp net, serilog asp net core, server controls in asp net, validation in asp net, what mvc in asp net

Post navigation

Previous Previous post: Problems with Dean’s Permalinks Migration after WordPress 
Next Next post: Cascade delete in Entity Framework

Related Posts

  • The power of generators

    #​736 — May 16, 2025 Read on the Web JavaScript Weekly ‘I Think the Ergonomics of Generators is Growing on Me’ — The author notes generator functions have been widely available in JavaScript for a long time, yet “their practicality hasn’t exactly caught on.” This is a great look at what they are and where

    Posted by Posted on May 16, 2025
    0
  • Making and parsing RSS and Atom feeds

    #​578 — May 13, 2025 Read on the Web 🖊️ I’m going to Google I/O next week, so Node Weekly will be taking a break and will return on May 27. If you happen to be at I/O too, say hi if you see an Englishman rambling on about newsletters!__Your editor, Peter Cooper Feedsmith: A Fresh

    Posted by Posted on May 13, 2025
    0
  • Big Node, VS Code, and Mantine updates

    #​735 — May 9, 2025 Read on the Web JavaScript Weekly k6 1.0: Go-Powered Load Testing with JavaScript — A full-featured, configurable load generation tool that uses the Sobek Go-powered JavaScript engine to support writing test scripts in JavaScript. v1.0 promises stability, first-class TypeScript support, and better extensibility. Grafana Labs JSON-Powered White-Label Form Builder for Your

    Posted by Posted on May 9, 2025
    0
  • Node.js 24 released

    #​577 — May 6, 2025 Read on the Web Node 24 (Current) Released — Node’s release lines are in flux – v18 has just gone EOL and now v23 bows out to let v24 be the ‘Current’ release for when you want all the cutting edge features. It comes with npm 11, V8 13.6 (hello

    Posted by Posted on May 6, 2025
    0
  • Making V8 eager to compile your JavaScript

    #​734 — May 2, 2025 Read on the Web JavaScript Weekly GSAP v3.13: JavaScript Animation Set Free — Last year the popular GSAP (a.k.a. GreenSock) animation library was acquired by Webflow and as of this new version the entire GSAP toolkit is freely available (including formerly paid addons like MorphSVG and SplitText) even for commercial use.

    Posted by Posted on May 2, 2025
    0
  • Koa 3.0, Node 22.15.0, and a V8 boost

    #​576 — April 29, 2025 Read on the Web Koa 3.0: The Expressive HTTP Middleware Framework — Koa first appeared over a decade ago as a ‘next-generation’ Web framework that shared some of the lineage (and team) of Express.js, but leaning on more modern JavaScript features and ideas of the time. While Express has been

    Posted by Posted on April 29, 2025
    0
Judy Alvarez

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Codepolice

  • Github
  • Atlassian
  • Flatlogic
  • Xero
  • Jetbrains
  • Figma
  • The power of generators
  • Making and parsing RSS and Atom feeds
  • Big Node, VS Code, and Mantine updates
  • Node.js 24 released
  • Making V8 eager to compile your JavaScript
https://flatlogic.com/generator
COPYRIGHT © 2025 - Codepolice