Image Upload

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
gio50000
Commander (CMDR)
Commander (CMDR)
Posts: 123
Joined: Mon Feb 18, 2008 12:51 pm
Location: Orlando, FL
Contact:

Image Upload

Post by gio50000 » Thu Jul 10, 2008 10:24 am

I'm getting the following stack trace error when clicking the "Pick Image" button while selecting a photo from the folder contents.

[NullReferenceException: Object reference not set to an instance of an object.]
ASP.admin_products_assets_editassets_aspx.BindImages() +16
ASP.admin_products_assets_editassets_aspx.Page_Load(Object sender, EventArgs e) +96
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Any ideas?
Gio
Thank you,
Gio

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: Image Upload

Post by sohaib » Fri Jul 11, 2008 1:40 pm

Hello,

I see two of your posts unanswered.
The other one is viewtopic.php?f=42&t=7628

The symptoms in both the cases are too strange. I haven't seen or heard these problems before and I seem to be unable to make any educated guess.

For debugging this one, can you comment the following lines in Website\Admin\Products\Assets\EditAssets.aspx and see if the error goes away?

Code: Select all

AdditionalImagesRepeater.DataSource = _Product.Images;
AdditionalImagesRepeater.DataBind();
Sohaib

Post Reply