 |
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
 | This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3 |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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
|
|
|
|
|

December 20th, 2015, 08:38 AM
|
|
Authorized User
|
|
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Chapter 16: Using the WSAT to Manage User Accounts and Roles
Step 5 - When I click the Security tab, I get the following error message:
Code:
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: Access to the path 'C:\Users\Dexter\AppData\Local\Temp\Temporary ASP.NET Files\root\5794a699\5d005630\hash' is denied.
When I click the button below (Chose Data Store), I am directed to the Provider tab with the message:
Code:
Use this page to configure how Web site management data such as membership is stored. You can use a single provider for all the management data for your site or you can specify a different provider for each feature.
Select a single provider for all site management data
Select a different provider for each feature (advanced)
Please help.
|
|

December 21st, 2015, 04:13 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Maybe this thread helps? Chapter 16 - WSAT Problems
Imar
|
|

December 22nd, 2015, 12:42 PM
|
|
Authorized User
|
|
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Chapter 16: Using the WSAT to Manage User Accounts and Roles
Hi Imar,
I tried using a non-administrator's account to performs steps 1 to 4. The error message I get is as follows:
Code:
Server Error in '/ASP.NETWebAdminFiles' Application.
Could not load file or assembly 'SMDiagnostics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Either a required impersonation level was not provided, or the provided impersonation level is invalid. (Exception from HRESULT: 0x80070542)
I tried donkeylover1965 solution by providing Modify permission to "Temporary ASP.NET Files". I do not have the same path as donkeylover1965 in that I do not have "/root..." The results, however, were the same as originally stated.
|
|

December 26th, 2015, 04:52 PM
|
|
Authorized User
|
|
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Chapter 16: Using the WSAT to Manage User Accounts and Roles
Hi Imar,
I looked at the link and in my view, it does not apply. I do not have a WPF application nor a App.Config file. Furthermore, the changes require an advance user while I am just a beginner. The spooky part is that no one responded his question about whether the change opens a gaping security hole.
|
|

January 10th, 2016, 12:26 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I know, but the underlying principles (about impersonation) could very well be the same.
Can you provide more information on your machine? Is it connected to a (corporate) domain? Which account do you use? Do you have a local administrator account?
Cheers,
Imar
|
|

January 10th, 2016, 10:16 PM
|
|
Authorized User
|
|
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Chapter 16: Using the WSAT to Manage User Accounts and Roles
Hi Imar,
I use two machines. One is a Microsoft Surface Pro 3, and the other is a Hewlard Packard Envy, Model 23-o014. Both are personal computers and run using Windows 10. I use an administrators account to do the programming
|
|

January 11th, 2016, 11:21 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
In that case, I am out of ideas.
Sorry.
Imar
|
|

January 18th, 2016, 09:33 AM
|
|
Authorized User
|
|
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
|
|
Chapter 16: Using the WSAT to Manage User Accounts and Roles
Hi Imar,
I found the problem. I used Microsoft Edge instead of Internet Explorer. With Internet Explorer, I was able to complete the Try It Out and move forward.
|
|

January 18th, 2016, 04:29 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Great, thanks for the follow up.
Imar
|
|
 |
|