Author: saquib189 | Posted on: 6/29/2008 10:22:56 AM | Views : 279

Hi i have a sql connection to insert form data in to my database with User membership but there is a problem when i click on submit button, thew server side error occurs like that:

Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:






Line 44: ' Determine the currently logged on user's UserId
Line 45: Dim currentUser As MembershipUser = Membership.GetUse ...

Go to the complete details ...