473,804 Members | 2,999 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 6481
Sanity check :

Are you running SQL Server Express 2005 ?

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

If you're not using SSE 2005, you need to change those and run
aspnetregsql.ex e ( 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 <connectionStri ngs>
section, but don't change it there.

Right now, it probably reads :

<connectionStri ngs>
<add name="LocalSqlS erver" connectionStrin g="data source=.\SQLEXP RESS;Integrated
Security=SSPI;A ttachDBFilename =|DataDirectory |aspnetdb.mdf;U ser Instance=true"
providerName="S ystem.Data.SqlC lient"/>
</connectionStrin gs>

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.c om> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.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
3449
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 getting the Web Site Administration Tool to install and work on the IIS Server. To clarifty, we can only access the Web Site Administration Tool for our applications using our local machines (localhost). When we try to access the Web Admin Tool on...
1
1565
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 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.
2
1697
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 to be able to disable any of the users. Thanks Regards
16
15990
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 has run into this issue. How do you manage users (the ones you would normally manage with the Web Site Administration Tool) without Studio to get you to the Web Site Administration Tool ? Thanks for your help!
6
7143
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 what about live production sites that are supposed to use this technology? Do I have to write my own interface to do everything the developer tool already does?
0
1498
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. Please return to the previous page and try again. The following message may help in diagnosing the problem: Exception has been thrown by the target of an invocation. at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object...
8
2019
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 an excellent tool for security administration. However, I have some long term questions. Where does the W.S.A.T. store its information? In my local SQL Server 2000, I can see a database called "aspnetdb" - however none of the
3
4240
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 encountered. Please return to the previous page and try again. The following message may help in diagnosing the problem: The DELETE statement conflicted with the REFERENCE constraint "FK__aspnet_Me__UserI__24285DB4". The conflict occurred in database...
1
10726
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 inconveneice.> I tried using the ASP.Net Web Site Administration Tool to setup security for a web site I'm creating using VS 2005 C#. When clicking on the Security tab, I get the error message: "Unable to connect to SQL Server database". I then...
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9572
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10319
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10070
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4282
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.