Application Runs on LocalHost

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 12 ans
Hi,

My nopcommerce application runs on local host perfectly fine, but once deployed it throws an exception as below
which causes the logged in user to log out automatically.The Database remains the same for local as well as the Live version.

Can some one elaborate whats the error cause?

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.     at NopSolutions.NopCommerce.Web.Modules.CheckoutShippingAddressControl.SelectAddress(Address shippingAddress)     at NopSolutions.NopCommerce.Web.Modules.CheckoutShippingAddressControl.btnSelect_Command(Object sender, CommandEventArgs e)     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)     at System.Web.UI.Page.HandleError(Exception e)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at ASP.checkoutshippingaddress_aspx.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Thanks in advance

Manoj
Il y a 12 ans
this is not sufficient, take a screen shot and publish
Il y a 12 ans
Hi eddy,

There nothing to take screenshot off, the user just logs out that's it, and the GUI doesnot appear to be broken.The exception that I pasted is taken from the log table, I'm going nuts on this issue, as to what might be the cause. It runs perfectly alright on  localhost and shopping cart and checkout process complete. but here the user logs out the moment he clicks on any link.

Thanks Manoj
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.