473,394 Members | 1,718 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,394 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 6439
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...
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
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...

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.