Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2007, 02:02 PM
Registered User
 
Join Date: Aug 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Another There is a problem with your selected data

I am following example from a Microsoft Press book titled Windows Communication Foundations Step by Step by John Sharpe an in Chapter 5 there is an exercise that , Page 125, where you create and AP.Net Website and use the web configuration management tool in the browser,
“Now that you have deployed, configured, and tested the WCF service by using IIS, you can use
the ASP.NET Administration Tool to define the users and roles that will be permitted to access
the service. To keep things simple, you will create roles (WarehouseStaff and StockControllers)
and users (Fred and Bert) that mimic those you created by using Windows in Chapter 4.
Define users and roles for the WCF service
1. In Visual Studio 2005, in the Website menu, click ASP.NET Configuration.
The ASP.NET Web Site Administration Tool starts. This is actually another Web application
that runs using the ASP.NET Development Server (a stand-alone Web server
installed with Visual Studio 2005, and separate from IIS):”

Well I get the same error when I CLICK on the Security tab I get an error stating:
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.
I tried to turn on the role features from the command line from that I found on a microsoft webpage:
http://msdn2.microsoft.com/en-us/library/x28wfk74(VS.80).aspx
I ran the aspnet_regsql.exe from the command line with the appropriate parameters and it worked:
C:\Windows\system32>aspnet_regsql.exe -E -S propmancom\propmancon -A r
Start adding the following features:
RoleManager
.........
Finished.
 but I got the same error when clicking the security tab as before. I even set permission on the C:\Program Files\Microsoft SQL Server directory so the user I am login in as has full permission as an administrator but this failed also.
I am running Windows Vista Extreme Edition,Professional Edition Visual Studio 2005 and a fully legal purchased of SQL Server 2005. If anyone is using the same book, or has access to it and can tell me how to solve this problem feel free to email me [email protected]
Thanks
Steve
[email protected]







Similar Threads
Thread Thread Starter Forum Replies Last Post
VB.net adding data in a selected node saikoboarder XML 9 May 16th, 2008 06:37 AM
Display data as per combobox item selected yogeshyl Excel VBA 0 July 28th, 2007 06:17 AM
Getting Data from selected row in gridview JoinTTT ASP.NET 2.0 Professional 3 April 17th, 2007 02:14 AM
Pulling data from the selected recordin the DGRID MDM ASP.NET 2.0 Professional 6 April 9th, 2006 09:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.