an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Error when saving a Logo File.
Last Post 5/11/2009 3:48:50 PM By Bahram. 0 replies.
5/11/2009 3:48:50 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Error when saving a Logo File.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
Line 37: 
Line 38:     public void SaveTo(UIConfigurationSection section) {
Line 39:         string theme = lstThemes.SelectedItem.Text;
Line 40:         if (!section.ParentThemes.Equals(theme)) {
Line 41:             //Update block data
</td> </tr> </tbody> </table>
Source File: d:\AcrStore_3.1\Web\Admin\Site\Controls\Theme.ascx.cs    Line: 39

Stack Trace:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
[NullReferenceException: Object reference not set to an instance of an object.]
   Admin_Store_Controls_Theme.SaveTo(UIConfigurationSection section) in d:\AcrStore_3.1\Web\Admin\Site\Controls\Theme.ascx.cs:39
   Admin_Store_StoreSetupWizard.storeSetupWizard_FinishButtonClick(Object sender, WizardNavigationEventArgs e) in d:\AcrStore_3.1\Web\Admin\Site\SiteSetupWizard.aspx.cs:46
   System.Web.UI.WebControls.Wizard.OnFinishButtonClick(WizardNavigationEventArgs e) +108
   System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) +641
   System.Web.UI.WebControls.WizardChildTable.OnBubbleEvent(Object source, EventArgs args) +19
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e) +111
   System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +176
   System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
</td> </tr> </tbody> </table>