Wrox Programmer Forums
BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9
This is the forum to discuss the Wrox book Professional ASP.NET 3.5: In C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470187579
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 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 July 16th, 2010, 01:00 PM
Registered User
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Cannot Extend the Provider Model

Listing 13-15 - The Dim mu as MembershipUser statement causes an error in the following TryGetValue function. The variable mu is used before it is assigned a value and then the whole process fails.

This is the error that is thrown

{"Object reference not set to an instance of an object."}

This is the code where there is a problem

Dim mu As MembershipUser
If (_MyUsers.TryGetValue(username, mu)) Then

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to extend classes hafizmuhammadmushtaq Java Basics 1 April 8th, 2008 02:45 AM
.NET model vs. pre .NET model. raychoudhury BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 January 11th, 2007 06:11 AM
Extend a border nloding CSS Cascading Style Sheets 1 September 1st, 2006 08:43 PM
Cannot implement or extend Rusk Apache Tomcat 1 June 16th, 2004 06:29 AM

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