Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 4th, 2007, 02:02 PM
Registered User
 
Join Date: Aug 2007
Location: , , .
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 stevensrf1@inbox.com
Thanks
Steve
Stevensrf1@inbox.com


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 07:27 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.