473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Schema problem - sqlmembershipprovider created on MSSQL2005 then moved to 2000

Hi All

Bit of an odd one - very basically I created an app using the
SqlMembershipProvider in VS.NET 2005, and I did it on a MS SQL 2005
server.

However, I then find out that for other reasons, I cannot use MS SQL
2005 on the live database, so I transferred my database to my SQL 2000
box.

Now, when I attempt a logon, I get the following message:

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.

Is there anything I can do, or am I stuck.

Or, if I create a local database in the project (the desktop version)
will I be able to use this okay with around ten to fifteen users?

Many thanks

Darren

Jun 19 '06 #1
2 2542
Darren,

The problem here is that the SqlMembershipProvider is used specifically
for SQL Server. You can't use it with my sql. You will have to create a
class that derives from MembershipProvider (I believe) and uses mySql to
handle all the membership queries (also, how did you get the appropriate
tables set up on mySql correctly)?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"daz_oldham" <Da**************@gmail.com> wrote in message
news:11**********************@r2g2000cwb.googlegro ups.com...
Hi All

Bit of an odd one - very basically I created an app using the
SqlMembershipProvider in VS.NET 2005, and I did it on a MS SQL 2005
server.

However, I then find out that for other reasons, I cannot use MS SQL
2005 on the live database, so I transferred my database to my SQL 2000
box.

Now, when I attempt a logon, I get the following message:

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.

Is there anything I can do, or am I stuck.

Or, if I create a local database in the project (the desktop version)
will I be able to use this okay with around ten to fifteen users?

Many thanks

Darren

Jun 19 '06 #2

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eV*************@TK2MSFTNGP03.phx.gbl...
Darren,

The problem here is that the SqlMembershipProvider is used specifically
for SQL Server. You can't use it with my sql. You will have to create a
class that derives from MembershipProvider (I believe) and uses mySql to
handle all the membership queries (also, how did you get the appropriate
tables set up on mySql correctly)?
Looking at original post, I think "SQL 2000 box" is referring to MS SQL
Server 2000... not open source mysql database engine.


--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"daz_oldham" <Da**************@gmail.com> wrote in message
news:11**********************@r2g2000cwb.googlegro ups.com...
Hi All

Bit of an odd one - very basically I created an app using the
SqlMembershipProvider in VS.NET 2005, and I did it on a MS SQL 2005
server.

However, I then find out that for other reasons, I cannot use MS SQL
2005 on the live database, so I transferred my database to my SQL 2000
box.

Now, when I attempt a logon, I get the following message:

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.

Is there anything I can do, or am I stuck.

Or, if I create a local database in the project (the desktop version)
will I be able to use this okay with around ten to fifteen users?

Many thanks

Darren


Jun 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: UndoMiel | last post by:
Hi, I am looking for a way to validate IP addresses using XML Schemas. The following is what i used: <xsd:simpleType name="IPType"> <xsd:restriction base="xsd:string"> <xsd:pattern...
6
by: clvrmnky | last post by:
I've got a database backup from another system which I'd like to restore to a test system. Both the backup and restore systems are Solaris 8. I don't recall the DB2 version, but I do know that...
3
by: athos | last post by:
Hi guys, please help. What I did is : Step1. create a Database named , it's default owner is Step2. create a User in Database named , which maps to the Login on this Database Server, it's a...
1
by: Kenny Ho | last post by:
Hi, I have written the following schema that contains the XML signature: ----------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8" ?>...
1
by: amir | last post by:
Hi, When compiling a page in VS2005 this morning I received 101 messages regarding schema problems in my web.config file. When I go to view an aspx page in my IIS, IE just displays a blank...
0
by: Mwob | last post by:
Hi all, I'm about to start creating a custom membership provider. Its for a website that already has a table of users in a single table, so I need to create a custom MP to talk to the data in...
2
by: yannick.beot | last post by:
Hi, I have a problem with nested namespace in a schema. I defined a schema A. A is importing a schema B with the namespace nsB and a schema C with the namespace nsC. But both B and C are...
0
by: atallah | last post by:
Hii.. I want to do replication between two MSSQL2005 servers. Windows: Windows XP Professional Sp2 Servers: MSSQL2005 Standard Edition Replication type: transactional publication with...
1
by: glebovech | last post by:
Is it possible to reuse existing SQLSERVER database containing membership information for different application? Basically this is a situation. 1. Created application App1 where with a help of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.