HomeHome Product Discus... Product Discus...SmithCartSmithCartFresh install 3.3.0 on DNN 5.5.0 Object not set to an instance...Fresh install 3.3.0 on DNN 5.5.0 Object not set to an instance...
Previous
 
Next
New Post
8/23/2010 10:48 AM
 

Fresh install of DNN 05.05.00 (653), installed Smith.BuyNow03.03.00-DNN5.zip. Install went fine. Copied license files to web root. Inserted a BuyNow module - so far so good. Tried to go to the module's Settings page, and got:

A critical error has occurred.
Object reference not set to an instance of an object.

Site event viewer reports inner exception:

The base class includes the field 'Label9', but its type (System.Web.UI.HtmlControls.HtmlGenericControl) is not compatible with the type of control (System.Web.UI.WebControls.Label).

Hosted server (DiscountASP.Net) using ASP.Net version 4.0, Application Pool Pipeline mode = Integrated.

Can you help?

 
New Post
8/23/2010 10:55 AM
 

Just tried changing the ASP.Net setting on the server to Version: . This solved the problem.

Looks like there are controls in this version of the cart that don't work under asp.net 4.0. Or is there something else behind this?

 
New Post
8/23/2010 11:05 AM
 

Our developers use vs2008 and compile against the dot net 3.5 framework I googled the error and found that if you are running dot net framework 4 you need to add a setting to your web config to run apps built in 3.5

Here is a link to the article:


http://www.asp.net/learn/whitepapers/aspnet4/breaking-changes#0.1__Toc256770141

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartFresh install 3.3.0 on DNN 5.5.0 Object not set to an instance...Fresh install 3.3.0 on DNN 5.5.0 Object not set to an instance...