Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
|
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
 
Old December 20th, 2015, 08:38 AM
Authorized User
 
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
Default 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.
 
Old December 21st, 2015, 04:13 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

Maybe this thread helps? Chapter 16 - WSAT Problems

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 22nd, 2015, 12:42 PM
Authorized User
 
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
Default 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.
 
Old December 22nd, 2015, 03:04 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You seem to be running in Impersonation mode. Does this help:http://stackoverflow.com/questions/2...ed-wcf-service

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old December 26th, 2015, 04:52 PM
Authorized User
 
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
Default 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.
 
Old January 10th, 2016, 12:26 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

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
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 10th, 2016, 10:16 PM
Authorized User
 
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
Default 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
 
Old January 11th, 2016, 11:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

In that case, I am out of ideas.

Sorry.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 18th, 2016, 09:33 AM
Authorized User
 
Join Date: Nov 2014
Posts: 91
Thanks: 2
Thanked 1 Time in 1 Post
Smile 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.
 
Old January 18th, 2016, 04:29 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Great, thanks for the follow up.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 - WSAT hirons BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 10 January 18th, 2016 06:22 PM
Chapter 16 - WSAT Problems Donkeylover1965 BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 4 November 29th, 2015 05:27 PM
Ch 16-17 User accounts AlanWheeler BOOK: Beginning ASP.NET 4.5 : in C# and VB 1 February 24th, 2014 04:54 PM
Chapter 16: WSAT with VS2013 paulf BOOK: Beginning ASP.NET 4.5 : in C# and VB 6 January 10th, 2014 06:46 AM
Creating page to manage user roles Notso ASP.NET 4 General Discussion 1 April 14th, 2013 11:31 PM





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