System.NullReferenceException: Object reference not set to an instance of an object.
This is the error that I'm getting in my asp .net cs2002 application. The website is working fine on my development box, but when I unpackaged it onto the production machine I keep getting errors. This specific error occurs when I try to add an item to the basket. It's not even making it to the onclick event.
This is the stack trace:
I also get a similar error when attempting to view the basket. Also, it won't allow me to create an account through the website. In commerce server manager the profile connection works.
Any suggestions?
Earme
This is the error that I'm getting in my asp .net cs2002 application. The website is working fine on my development box, but when I unpackaged it onto the production machine I keep getting errors. This specific error occurs when I try to add an item to the basket. It's not even making it to the onclick event.
This is the stack trace:
Code:
[NullReferenceException: Object reference not set to an instance of an object.]
Microsoft.CommerceServer.Site.Transactions.AddToCart.Submit_Clicked(Object sender, EventArgs e) +55
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1247
I also get a similar error when attempting to view the basket. Also, it won't allow me to create an account through the website. In commerce server manager the profile connection works.
Any suggestions?
Earme