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
ReadUserFile()
Dim mu As MembershipUser
If (_MyUsers.TryGetValue(username, mu)) Then
|