CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: Date Entered: 11/26/2007 4:18:38 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 697 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"erick.wyatt" <
NewsGroup User
The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'.11/26/2007 4:18:38 AM

0

here is the error that I got. can someone please help me

 

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_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Configuration.Provider.ProviderException: 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_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ProviderException: 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_regsql.exe (available in the framework installation directory), or upgrade the provider to a newer version.]
System.Web.Util.SecUtility.CheckSchemaVersion(ProviderBase provider, SqlConnection connection, String[] features, String version, Int32& schemaVersionCheck) +758235
System.Web.Security.SqlRoleProvider.CheckSchemaVersion(SqlConnection connection) +65
System.Web.Security.SqlRoleProvider.GetRolesForUser(String username) +771
System.Web.Security.RolePrincipal.IsInRole(String role) +272
System.Web.Configuration.AuthorizationRule.IsTheUserInAnyRole(StringCollection roles, IPrincipal principal) +120
System.Web.Configuration.AuthorizationRule.IsUserAllowed(IPrincipal user, String verb) +300
System.Web.Configuration.AuthorizationRuleCollection.IsUserAllowed(IPrincipal user, String verb) +191
System.Web.Security.UrlAuthorizationModule.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath) +219
System.Web.UI.Util.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath) +101
System.Web.SiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node) +367
System.Web.SiteMapNode.IsAccessibleToUser(HttpContext context) +14
System.Web.StaticSiteMapProvider.GetChildNodes(SiteMapNode node) +348
System.Web.SiteMapNode.get_ChildNodes() +23
System.Web.SiteMapNode.get_HasChildNodes() +4
System.Web.SiteMapNode.System.Web.UI.IHierarchyData.get_HasChildren() +4
System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable) +4225
System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +277
System.Web.UI.WebControls.Menu.PerformDataBinding() +117
System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +82
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.Menu.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.Menu.EnsureDataBound() +29
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +21
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e) +22
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
 


Erick Wyatt, SGT
US Army

http://enjwyatt.com/wyatt/default.aspx
"The Eagle" <>
NewsGroup User
Re: The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'.11/26/2007 1:27:45 PM

0

I just faced the same problem because I scripted my DB and then executed the script on the DB of the production.

I solved this by backing up my DB and restoring it on the production server

"The Eagle" <>
NewsGroup User
Re: The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'.11/26/2007 1:50:51 PM

0

"The Eagle" <>
NewsGroup User
Re: The 'System.Web.Security.SqlRoleProvider' requires a database schema compatible with schema version '1'.11/27/2007 6:08:47 AM

0

I just solved my problem which is the same as your problem. I am not sure if this is your case or not:

There was 2 connection strings, one of them was pointing to the development DB, and the other to testing DB. When I made them pointing to the testing DB, it worked.

If you still didn't solve your problem, let me know in order to help you.

4 Items, 1 Pages 1 |< << Go >> >|


Free Download:













tabcontainer within panel modalpopupextender

ajax timer problems

stop drowndown list downloading all in postback

hover menu as tooltip control

back button not doing pageload once

having problems with a gridview under an update panel using a ajax popupcontrolextender with dynamicservicemethod!

redirect to loginpage on ajax events

how to show ajax modal popup extender after form controls validation is over?

display hovermenuextender using a click event

ajax tool tip control? other than animation control

jquery date picker

ajax to prepopulate textboxes

can a sitemap and sitemap dataource be used to populate ajax tabs?

template column field as a trigger for updatepanel

image_click event not firing..

ajax update panel not refreshing data

this._form is null or not an object - on keeping idle

updatepanel refresh on some code conditions

web user control inside listview inside update panel

asp.net updatepanel

updatepanel textbox text update

page shifts down when updatepanel is updated

timer control for data list

user control wrapped in modal popup, within another user control, on a page, in a master page

update panel is not working ...

asynchronous post back for migrated application

updating the contents of an updatepanel

enableviewstate for tabcontainer

issue updatepanel partial page refresh

tabpanel - tooltip property not working

page loading slow with modalpopupextender in repeater

hi there please help me i'm unable to maintain scrollbar position while using ajax.

unspecified error when server generates a long response

searching...msg before displaying search results

programmatically adding asp.net user control to updatepanel

combobox button not displaying in ie7.

ajax extension timer

control looses focus with updatepanel in firefox

ajax modalpopup problem

image slideshow using master page

updatepanel click twice to render

error microsoft.web.ui.updatepaneltriggercollection

focus not set to textbox under a ajax tabcontainer

javascript error - 'name' is null or not an object

how to bind a gridview in a static webmethod?

text is not showing up in the textbox field from calling the modalpopupextender control

problem using tab key on modalpopup.

repeater in update panel with masterpage

java script text box not working inside tab panel

access animations in dropdownextender?

   
  Privacy | Contact Us
All Times Are GMT