Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 March 28th, 2009, 05:42 AM
Authorized User
 
Join Date: Mar 2009
Posts: 68
Thanks: 6
Thanked 0 Times in 0 Posts
Question Roles/ in Security

OK I need some help with the last part of Chapter 6, the roles don't seem to return properly, and when on the roles page making any changes/updates I get a constraint issue, I can't delete either, same problem.

I am able to add roles with a user, assign to that role but if I don't add a user the role won't allow me to added one. Same problem as above.

The Data in the Sql database gets update when adding or removing uses, it's just when roles come in the picture.

Thanks for any help on this

so close, I do have an idea that the problem might be how the files are updated or deleted and it might needs to override these methods.

The capability.ID seem to getting updated differnt that the other methods.
I would expect a ENTCapabiltyId property, like the ENTRoleId property, just not sure when I tried this I was unable to add roles so ther might be something else.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Code Access Security & Role Based Security robzyc C# 6 April 11th, 2008 02:31 AM
Roles bhasker_braj121 SQL Server 2005 1 January 19th, 2008 12:10 PM
Roles jackandjo BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 2 October 17th, 2006 03:12 AM
AutoGenerateEditButton and Roles harrison4411 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 March 28th, 2006 04:19 PM
System.Security.SecurityException: Security error coolcatjk Pro VB.NET 2002/2003 4 March 2nd, 2006 06:00 PM





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