hi, i'm new to dotnetnuke
while trying to create a module using LINQ
suddenly this error -Object reference not set to an instance of an object.- appear
i check the log viewer :
AssemblyVersion: 5.3.0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 62
ActiveTabName: Books2See
RawURL: /betadirview/Books2See.aspx
AbsoluteURL: /BetaDirView/Default.aspx
AbsoluteURLReferrer: http://id-bpn-tst14/betadirview/Books2See.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 8734f044-bfbd-48b4-824a-238770e3edae
InnerException: Object reference not set to an instance of an object.
FileName: http://server/BetaDirView/DesktopModules/Books2See/View.ascx.vb
FileLineNumber: 34
FileColumnNumber: 13
Method: DotNetNuke.Modules.Books2See.View.LinqDataSource1_Inserting
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Books2See.View.LinqDataSource1_Inserting(Object sender, LinqDataSourceInsertEventArgs e) in http://server/BetaDirView/DesktopModules/Books2See/View.ascx.vb:line 34 at System.Web.UI.WebControls.LinqDataSourceView.OnInserting(LinqDataSourceInsertEventArgs e) at System.Web.UI.WebControls.LinqDataSourceView.ExecuteInsert(IDictionary values) at System.Web.UI.DataSourceView.Insert(IDictionary values, DataSourceViewOperationCallback callback) at System.Web.UI.WebControls.FormView.HandleInsert(String commandArg, Boolean causesValidation) at System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) at System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
i don't quite understand it, please help