Avatar of tariqanis
tariqanis asked on

Problem using the ASP.Net Web Site configuration Tool

Hi,

I am develping an application with ASP.Net 2 and SqlServer Express. Every thing was working well until I copied my application to another computer using a different instance of SqlServer Express..
I corrected every thing in the code to fit the name of the new server and when I run the application every thing runs fine.
However when trying to use the Web Site Configuration Tool to configure users and users roles I get the following error when I click the Security tab:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.

Thanks for your help
TA
.NET ProgrammingVisual Basic.NETASP.NET

Avatar of undefined
Last Comment
tariqanis

8/22/2022 - Mon
prairiedog

In Solution Explorer window and under your project, there is an item called "MyProject". Double-click "MyProject" to open Project Property Window. Then from the left pane, click "Settings". Make sure that your database connection string is pointing to the new server.
ASKER
tariqanis

prairiedog:

I am using Visual Web Developer and I am using code to connect to the database (in case it matters) and in the solution explorer I can't see "my project" any where. However, right at the top of the solution explorer window there is a line that shows the name of the project as part of the path that leads to the location of the application on the hard drive. When I double click on that line nothing happens but when I right click on it I get a window that shows the "properties pages" at the bottom.
The left pan of the properties pages window  has three options: References, Build and Start options. There is no settings at all. I hope you can take it from there....
prairiedog

Hi tariqanis,

I am sorry I don't use VWD and I am afraid I can't help you with the problem. I am sure there are many experts here familiar with VWD and are able to further help you.
Your help has saved me hundreds of hours of internet surfing.
fblack61
ASKER
tariqanis

Hi prairiedog:

Thanks for trying.
ASKER CERTIFIED SOLUTION
Gary Davis

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
tariqanis

Thanks Gary.... all I needed was to run aspnet_regsql as you said.
TA