HomeHome Product Discus... Product Discus...SmithCartSmithCartPageLoadException Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice()PageLoadException Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice()
Previous
 
Next
New Post
6/27/2012 6:27 PM
 

 

I upgraded DNN to 6.2 and turned on Facebook authentication but now SmithCart is having troubles getting the price and throwing page load exceptions.  Any ideas?
 
AssemblyVersion: 6.2.0
PortalID: 10
PortalName: [myPortal]
UserID: 408
UserName: Facebook-[id]
ActiveTabID: 471
ActiveTabName: Product Details
RawURL: /Product-Details/ProductID/22.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://[myPortal]/Product-Details/ProductID/22.aspx
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9bc2dd63-17af-40b5-8bda-9a88b53306d6
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice
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 Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice() at Smith.DNN.Modules.ProductDetail.ProductDetails.ddl_SelectedIndexChanged(Object sender, EventArgs e) at System.Web.UI.WebControls.ListControl.OnSelectedIndexChanged(EventArgs e) at System.Web.UI.WebControls.DropDownList.RaisePostDataChangedEvent() at System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.RaisePostDataChangedEvent() at System.Web.UI.Page.RaiseChangedEvents() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: win1
 
New Post
6/27/2012 6:40 PM
 
The error is thrown when any of the Drop Down List Selected Index is changed. When running it on IE, this is the script error I get:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 28 Jun 2012 01:35:28 UTC

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
Line: 6
Char: 62099
Code: 0
URI: http://[myPortal]/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-AU%3a553a4a13-b3a5-4e6b-a152-b131051f1788%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2012.1.411.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-AU%3af1f77841-f126-4726-9fc2-0ee8be7d2341%3a16e4e7cd%3af7645509%3aed16cbdc
 
New Post
6/27/2012 7:53 PM
 
Hello,

Which version of the Cart are you currently running?

Which version of DNN did you upgrade to 6.2 from?

Thanks,
 
New Post
6/27/2012 8:33 PM
 
Smith.BuyNow v 4.99
DNN v6.0.1 to v6.2.0
 
New Post
6/28/2012 2:57 PM
 

Did this issue start only after Facebook authentication was enabled or after you upgraded to 6.2?

Can you disable Facebook authentication to confirm if that is what is causing this issue?

Please outline the necessary steps needed to replicate the error including how you turned on Facebook authentication, and I will try to reproduce the same behavior on my test portal.

Thanks,

 
New Post
7/11/2012 9:33 PM
 

It was too difficult to figure out the cause of the exception.  In the end I've given up and installed version 5.0 of the Shopping Cart in the hope the issue has been resolved.   And now I see 5.1 is soon to be released.  One can only hope.

_________________

This is no longer an issue in SmithCart v5.0.

 

 
New Post
7/12/2012 2:29 PM
 
Glad to hear you are no longer experiencing this issue and thanks for posting back to let anyone else reading this post know too.

Please let us know if we can assist you with anything else.

Thanks!
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartPageLoadException Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice()PageLoadException Smith.DNN.Modules.ProductDetail.ProductDetails.GetPrice()