473,385 Members | 1,409 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,385 software developers and data experts.

SqlMembershipProvider trouble

hi

asp.net 2.0
sql server 2005

I've created a database on my win2k3 machine. Now I'm moving this database
over to my Vista business 32bit machine. (I scripted the database on the
win2k3 machine).

Now when I open the Web Site Administration Tool I get this error message:
The 'System.Web.Security.SqlMembershipProvider' requires a database schema
compatible with schema version '1' However the current database schema is
not configured with this vesion. You may need to either install a compatible
schema with aspnet_regsql.exe (available in the framework installation), or
upgrade the provider to a newer version

I've checked and I didn't fint aspnet_regsql on the vista mashine

any suggestions?
Nov 17 '08 #1
3 2831

You can read this:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!160.entry

and the ScottGu reference article.

.......

Is your Web Server the same machine as the Database Server?

You can run the aspnet_regsql tool from a machine without Sql Server, but
point it TO a machine with Sql Server.

............

Please provide more info about which machine is what ( WebServer? DbServer?)
in your scenario.

Are you trying to use full blown Sql Server or Express?

The more details the better.


"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:ON*************@TK2MSFTNGP02.phx.gbl...
hi

asp.net 2.0
sql server 2005

I've created a database on my win2k3 machine. Now I'm moving this database
over to my Vista business 32bit machine. (I scripted the database on the
win2k3 machine).

Now when I open the Web Site Administration Tool I get this error message:
The 'System.Web.Security.SqlMembershipProvider' requires a database schema
compatible with schema version '1' However the current database schema is
not configured with this vesion. You may need to either install a
compatible schema with aspnet_regsql.exe (available in the framework
installation), or upgrade the provider to a newer version

I've checked and I didn't fint aspnet_regsql on the vista mashine

any suggestions?

Nov 17 '08 #2
Is your Web Server the same machine as the Database Server?
yes, it is the same machine. It's that Vista Business 32bit box
I'm developing on that vista box
"sloan" <sl***@ipass.netwrote in message
news:Ox**************@TK2MSFTNGP03.phx.gbl...
>
You can read this:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!160.entry

and the ScottGu reference article.

......

Is your Web Server the same machine as the Database Server?

You can run the aspnet_regsql tool from a machine without Sql Server, but
point it TO a machine with Sql Server.

...........

Please provide more info about which machine is what ( WebServer?
DbServer?) in your scenario.

Are you trying to use full blown Sql Server or Express?

The more details the better.


"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:ON*************@TK2MSFTNGP02.phx.gbl...
>hi

asp.net 2.0
sql server 2005

I've created a database on my win2k3 machine. Now I'm moving this
database over to my Vista business 32bit machine. (I scripted the
database on the win2k3 machine).

Now when I open the Web Site Administration Tool I get this error
message:
The 'System.Web.Security.SqlMembershipProvider' requires a database
schema compatible with schema version '1' However the current database
schema is not configured with this vesion. You may need to either install
a compatible schema with aspnet_regsql.exe (available in the framework
installation), or upgrade the provider to a newer version

I've checked and I didn't fint aspnet_regsql on the vista mashine

any suggestions?


Nov 17 '08 #3
Ok.

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspn et_regsql.exe

Did you install the Framework(s) on the Deployment Machine? (The machine
acting as the Web and Database Server)?

.........

"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
Is your Web Server the same machine as the Database Server?
yes, it is the same machine. It's that Vista Business 32bit box
I'm developing on that vista box
"sloan" <sl***@ipass.netwrote in message
news:Ox**************@TK2MSFTNGP03.phx.gbl...
>>
You can read this:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!160.entry

and the ScottGu reference article.

......

Is your Web Server the same machine as the Database Server?

You can run the aspnet_regsql tool from a machine without Sql Server, but
point it TO a machine with Sql Server.

...........

Please provide more info about which machine is what ( WebServer?
DbServer?) in your scenario.

Are you trying to use full blown Sql Server or Express?

The more details the better.


"Jeff" <it************@hotmail.com.NOSPAMwrote in message
news:ON*************@TK2MSFTNGP02.phx.gbl...
>>hi

asp.net 2.0
sql server 2005

I've created a database on my win2k3 machine. Now I'm moving this
database over to my Vista business 32bit machine. (I scripted the
database on the win2k3 machine).

Now when I open the Web Site Administration Tool I get this error
message:
The 'System.Web.Security.SqlMembershipProvider' requires a database
schema compatible with schema version '1' However the current database
schema is not configured with this vesion. You may need to either
install a compatible schema with aspnet_regsql.exe (available in the
framework installation), or upgrade the provider to a newer version

I've checked and I didn't fint aspnet_regsql on the vista mashine

any suggestions?



Nov 17 '08 #4

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

Similar topics

1
by: ibiza | last post by:
Hi, what would be the simplest way to add a functionality so it is possible to change the username in an asp.net 2.0 webapplication that uses SqlMembershipProvider? By default, this providers...
3
by: anon2005 | last post by:
I'm writing an installed for my application that uses a SqlMembershipProvider. I'd like to have the installer automatically set up the required roles and users for the application, but I can't...
0
by: Ron | last post by:
Hi, I want to create a new SqlMembershipProvider called SqlMembershipProviderEx I will use it to create two User objects which only need a UserName and Password. ServiceProviders and...
2
by: daz_oldham | last post by:
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...
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...
3
by: Ryan | last post by:
Hello, I have a question on the default: AspNetSqlProvider. I know that, by default, this looks for a database created locally in the appdata directory. Although I have learned how to change...
0
by: mazdotnet | last post by:
Hi, I just started using the new asp.net sqlMembershipProvider (users and roles) which works great. However, I'm testing my application on Windows XP and I'm getting different list of roles...
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...
1
by: Matt MacDonald | last post by:
Hi all, I've been debating for a while (basically since asp.net 2.0 came out) on using the built in mebership classes to handle user management in my web apps. I seem to keep coming upon...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?

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.