Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #21 (permalink)  
Old August 27th, 2006, 08:46 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi everyone.
I will be very thankful to you if you help me fix it.
Actually I have the same issue, I have scripted successfully the aspnet_... tables to my host, the RoleManager is working fine and I'm able to manage the roles, however I'm unable to create members using the Membership.CreateUser method. I get this exception:

The 'System.Web.Security.SqlMembershipProvider' 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.

I've checked the aspnet_SchemaVersions table, it contains the required six rows.
my DB server is SQL 2K.

Please help me, I'm frustrated with this.




  #22 (permalink)  
Old August 27th, 2006, 05:28 PM
Imar's Avatar
Wrox Author
Points: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,050
Thanks: 80
Thanked 1,581 Times in 1,558 Posts
Default

A pretty obvious question, but are you sure that you and ASP.NET are looking at the same database?

How does your connection string look like? Did you reconfigure all providers in the web.config to use your new connection string?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
  #23 (permalink)  
Old August 28th, 2006, 03:30 AM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks God, it is solved.
I don't know how, after somtime it worked automatically.
This is very strange.
Thank you Imar for your interest and for this great forum.


  #24 (permalink)  
Old August 28th, 2006, 06:22 AM
Imar's Avatar
Wrox Author
Points: 71,804, Level: 100
Points: 71,804, Level: 100 Points: 71,804, Level: 100 Points: 71,804, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,050
Thanks: 80
Thanked 1,581 Times in 1,558 Posts
Default

You're welcome./ Glad it's working.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #25 (permalink)  
Old September 6th, 2006, 09:31 AM
Registered User
 
Join Date: Sep 2006
Location: , , Reunion Island.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi all.

I've just finished reading this topic but i'm still lost.
In fact, I've a Web.config file in each folder that i want to limit access to authenticated users. here is an example of one (folder's name is admin):

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.web>
        <authorization>
            <allow roles="Administrateur" />
            <deny users="*" />
        </authorization>
    </system.web>
</configuration>

... and in the main Web.config file there is no <authorization> tag

So when i run my app in VS2005 it's OK, if i try to access to a file in this folder, i'm redirected to my login page.....

..but..

When i'm not in VS2005, i can access to files in this folder (without authentication).

What's wrong?!!
Thanks for any help

Regards,

Oro

P.S :"sorry for my english :p"


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Membership Provider Scott663 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 1st, 2008 06:16 PM
Custom Membership Provider kulkarnimonica ASP.NET 2.0 Professional 0 June 21st, 2007 04:56 PM
ASP.NET SQL Membership Provider bignermo ASP.NET 2.0 Professional 2 March 20th, 2007 06:41 AM
Simple ASP.NET Membership Provider Login jumpseatnews ASP.NET 2.0 Basics 0 July 16th, 2006 11:53 AM
custom membership provider msrnivas General .NET 1 September 18th, 2005 05:28 AM



All times are GMT -4. The time now is 08:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.