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

Web Site Administration Tool

I am trying to use the Personal Web Site Starter Kit. I am planning on
showing my class how easy it is to create a website in VS 2005. Only I
am finding it not to be so easy. I am following the instructions on the
default.aspx page and they are as follows.

Creating an Administrative User
The first step you must take is to create an administrative user. The
administrative user has permission to upload photos and create albums.

To create an administrative user

Run the site at least once before proceeding. This ensures the
initialization of the Membership and Roles databases.
In the Website menu, click ASP.NET Configuration.
Click the Security tab.
Click Create user.
In the Create User box, type a user name, password, and e-mail address
for the administrator user. You must also provide a security question
and answer that is used to help you recover your password, if
necessary. In the Roles box, select both the Administrators and Friends
check boxes to make the user into an administrator and a member of the
Friends role.
Click Create User.
Close the Web Site Administration Tool window.

But after I click on the Security tab, I get this message and I can't
proceed:
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: Unable to
connect to SQL Server database.

Do I have to configur the Configuration tool?

Lost please help

Nov 19 '05 #1
2 6435
Sanity check :

Are you running SQL Server Express 2005 ?

The default localSQLServer is set to SSE, and the
AspNetSqlMembership Provider is set to the LocalSqlServer.

If you're not using SSE 2005, you need to change those and run
aspnetregsql.exe ( in the .Net Framework directory ) to configure
the database provider you want to use.

Open the Internet Service Manager, right-click the website where
the Personal Web Site points to, select "Properties", and open
the "ASP.NET" tab.

Once there, check the ASP.NET Configuration for the SQL Provider.

You will also find it in machine.config, in the <connectionStrings>
section, but don't change it there.

Right now, it probably reads :

<connectionStrings>
<add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated
Security=SSPI;AttachDBFilename=|DataDirectory|aspn etdb.mdf;User Instance=true"
providerName="System.Data.SqlClient"/>
</connectionStrings>

Add the Provider you want to your application's web.config.

You may find the information in this article abundant and clear:
http://www.theserverside.net/article...rofileProvider

But, there's a complete sample for several Access providers,
including the databases at :

http://msdn.microsoft.com/asp.net/be...s/default.aspx
Scroll to the bottom to "Sample Access Providers" and download it.

Those sample Access Providers really save a lot of time and effort,
especially if you cannot, or won't, use SQL Server Express nor SQL Server 2000.


Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Español : http://asp.net.do/foros/
======================================
<da**@palfery.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I am trying to use the Personal Web Site Starter Kit. I am planning on
showing my class how easy it is to create a website in VS 2005. Only I
am finding it not to be so easy. I am following the instructions on the
default.aspx page and they are as follows.

Creating an Administrative User
The first step you must take is to create an administrative user. The
administrative user has permission to upload photos and create albums.

To create an administrative user

Run the site at least once before proceeding. This ensures the
initialization of the Membership and Roles databases.
In the Website menu, click ASP.NET Configuration.
Click the Security tab.
Click Create user.
In the Create User box, type a user name, password, and e-mail address
for the administrator user. You must also provide a security question
and answer that is used to help you recover your password, if
necessary. In the Roles box, select both the Administrators and Friends
check boxes to make the user into an administrator and a member of the
Friends role.
Click Create User.
Close the Web Site Administration Tool window.

But after I click on the Security tab, I get this message and I can't
proceed:
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: Unable to
connect to SQL Server database.

Do I have to configur the Configuration tool?

Lost please help

Nov 19 '05 #2
>I am trying to use the Personal Web Site Starter Kit. I am planning on
showing my class how easy it is to create a website in VS 2005.
In that case, I suggest you forget the PWSSK and buld something from
scratch!! That starter kit is very impressive, but not at all easy to
fathom at first. If you want to show people how easy it is to build a
good web site, start from scratch and show them some of the quick and
simple ways it offers of producing sophisticated functionality.
Only I
am finding it not to be so easy.


I'm not surprised!!

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #3

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

Similar topics

2
by: RickatGoIn | last post by:
We are currently using the security features included with latest .NET 2.0 Framework (v2.0.50215), including the Web Site Administration Tool. The only problem we have encountered thus far is...
1
by: dave | last post by:
I am trying to use the Personal Web Site Starter Kit. I am planning on showing my class how easy it is to create a website in VS 2005. Only I am finding it not to be so easy. I am following the...
2
by: John | last post by:
Hi Web site administration tool is great. How can I provide this functionality for the end user? I need the end user Admin to be able to list users and then change roles for any of the users or...
16
by: jblankenburg | last post by:
I am trying to deploy a simple web application to my client's production server, but it's not clear to me how MS planned on having the Security users managed without Studio. Certainly someone...
6
by: cmay | last post by:
I am finding this hard to believe... Is there really no way to access the Web Site Administration Tool when a site is deployed? I know I can open it on my local computer running VS.Net, but...
0
by: Ian Pitt | last post by:
I am unable to add users using the Web Site Administration Tool. I can create/delete roles, but when I try to add a user I get an exception. I posted the error below: An error was encountered....
8
by: Kirk | last post by:
Hello, I am a somewhat experienced VS 2005 user who is trying to us the ASP.NET Web Site Administration Tool for the first time. I have experimented with it on my local IIS and it seems to be...
3
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
When using the Web Site Administration Tool, I get the following error when trying to delete a user in a web application I configured to use membership, roles, and profiles: "An error was...
1
by: ZZ_Scarab | last post by:
Hi, <I posted this on the microsoft.public.dotnet.framework.aspnet.security newsgroup but before I got a reply this newsgroup has become unavailable!! So I'm posting it here again. Sorry for the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: 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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.