HomeHome Product Discus... Product Discus...SmithCartSmithCart4.01 Installation Failed4.01 Installation Failed
Previous
 
Next
New Post
2/19/2011 9:22 PM
 

Hi guys,

When i tried installing the new 4.01 package, the installation failed. I tried a second attempt to install/repair, and it didn't fix the installation. This caused my store to stop loading all together. I was lucky to have a DNN expert in the room who was able to fix this for me. It was fixed by manually ftping the assemblies in the package to the website. I am still testing to see whether all parts of the store are fixed.

I'm posting this incase this happens to anyone else, and it may be something to look into.

Here was the Page Load Exception message from the Event Viewer:

DotNetNuke.Services.Exceptions.PageLoadException: Method not found: 'System.String Smith.DNN.Modules.BuyNow.CategoryInfo.get_CatDescription()'. ---> System.MissingMethodException: Method not found: 'System.String Smith.DNN.Modules.BuyNow.CategoryInfo.get_CatDescription()'. at Smith.DNN.Modules.BuyNow.ProductsList.bindDtProductList() at Smith.DNN.Modules.BuyNow.ProductsList.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

I also have the data on the failed installation if you would like to see it.

Cheers,

Ricky

 
New Post
2/19/2011 9:46 PM
 

Okay... so from what I can tell, most parts of the module are working. However, when I go into the Store Admin Menu > Manage Products, when I click edit on any product I get a:

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


Here is the event viewer log:
AssemblyVersion: 5.5.1
PortalID: 0
PortalName: Nu-Tea Company Ltd.
UserID: 1
UserName: host
ActiveTabID: 63
ActiveTabName: Online Store
RawURL: /OnlineStore/tabid/63/ctl/AddProducts/mid/404/ProductID/4/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.nu-tea.ca/OnlineStore/tabid/63/ctl/ManageProducts/mid/404/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 6a2bb38b-1d4b-44a0-bc00-3469a313ae8b
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.AddProducts.BindProductDetails
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.BuyNow.AddProducts.BindProductDetails() at Smith.DNN.Modules.BuyNow.AddProducts.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: WEB26
Any help would be appreciated.
 
New Post
2/19/2011 10:51 PM
 

I would recommend doing a clean install whenever the installation or upgrade fails, here’s a forum post on how to perform a clean install.

Thanks,

Christian

 
New Post
2/20/2011 12:43 PM
 

Will a clean install wipe all my store setup data such as products and shipping zones?

EDIT: I see that I can export/import my data, but is there anything this will not export? So that I know in advance.

 
New Post
2/20/2011 2:51 PM
 

Here's some more information on doing a clean install while preserving your date.

Thanks,
Christian

 
 Login to download attachment
New Post
2/20/2011 5:48 PM
 

It sounds you have a deeper problem, perhaps related to IIS permissions or even unblocking the downloaded module. Many factors can be at fault and actual error messages are needed to determine or resolve the underlying problem.

First of all, did you backup your website and your data before installing the module? What module and what error message did you receive during the install? Did your store stop working after the first or second install attempt? Have you installed any other modules recently with or without success?

Having to FTP the dlls manually is only part of the install process and will surely cause weird behavior if database scripts are not run or desktop modules do not match the dlls. Was a backup copy made of your website and your data before FTPing the new files?

With a backup copy, not only can you determine what happened, you can also restore it to the previous state. Without a backup, you may end up starting from scratch, especially with item/customer/order history (although there are workarounds).

Alternatively, depending on the orginal error, a few simple tweaks may bring your existing module up to date. That is how DNN upgrades are designed.

 
New Post
2/21/2011 2:14 PM
 

Foolishly, I did not make a backup prior to installing. I have other backups from previous dates, but nothing between the last two Smith Cart versions. You can be sure that I won't make this mistake again. I felt I was 'safe' in doing the upgrade because I have never had a module fail installation on DNN, and I've upgraded the Smith Cart several times successfully.

I'm curious if I should attempt another 'repair/upgrade' install of the Smith Cart module on the machine where I normally work on the website.

After backing up, and trying another repair, I will do the clean install. I've never done a clean install before so it will be a learning curve for me.

I cannot recall the original error, but I do have all my activity logs.

 
New Post
2/23/2011 10:40 AM
 

I went the easier route and contacted my domain host (3essentials) and had them restore the backup. (Once I realized that they do the backups for me)

I will wait until the next version of smith cart until I try to install a new version.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart4.01 Installation Failed4.01 Installation Failed