in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Need help

Last post 07-30-2008 3:43 PM by tomer. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 07-27-2008 6:48 AM

    • tomer
    • Top 500 Contributor
    • Joined on 07-14-2008
    • Posts 4

    Need help

    Hey,

     I'm a new comer to dashcommerce, but everything seemed to work fine on my local drive.

     When I upload it to the server, there are various bugs that show up that don't occur locally.

    For example, when I want to purchase an item by adding it to the cart, it gives an alert pop up message saying:

    " Invalid cast from 'System.String' to 'System.Guid' "


    When I went to the application error log through the adminitration interface, it logged the following error:

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     System.InvalidCastException: Invalid cast from 'System.String' to 'System.Guid'.
       at System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
       at System.String.System.IConvertible.ToType(Type type, IFormatProvider provider)
       at System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
       at SubSonic.TableSchema.TableColumnSettingCollection.GetValue[T](String columnName)
       at SubSonic.AbstractRecord`1.GetColumnValue[CT](String columnName)
       at SubSonic.ActiveRecord`1.GetUpdateCommand(String userName)
       at SubSonic.ActiveRecord`1.GetSaveCommand(String userName)
       at SubSonic.ActiveRecord`1.Save(String userName)
       at MettleSystems.dashCommerce.Store.OrderController.ResetShippingAndTaxAndDiscount(Int32 orderId, String userName) in C:\websites\dash\Store\Controllers\OrderController.cs:line 799
       at MettleSystems.dashCommerce.Store.OrderController.AddItemToOrder(String userName, Int32 productId, String name, String sku, Int32 quantity, Decimal pricePaid, Decimal weight, String attributes, String extendedProperties) in C:\websites\dash\Store\Controllers\OrderController.cs:line 181
       at MettleSystems.dashCommerce.Web.product.btnAddToCart_Click(Object sender, EventArgs e) in C:\websites\dash\web\product.aspx.cs:line 167

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

     It's the bold and underlined part that confuses me. The directory it gives is the directory on my *LOCAL* machine, not the server (server has a different path). Why is it looking for those files? Since I couldn't find it anywhere on this site or google, I can only assume I'm doing something wrong here.

     

    Anyone has any ideas?

  • 07-28-2008 6:08 PM In reply to

    Re: Need help

  • 07-29-2008 4:46 PM In reply to

    • tomer
    • Top 500 Contributor
    • Joined on 07-14-2008
    • Posts 4

    Re: Need help

    I tried downloading the new version but I still have the exact same problem.

     

  • 07-29-2008 7:46 PM In reply to

    Re: Need help

    Answer

    Did you run the sql scripts against your Database.

    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us!
  • 07-30-2008 3:43 PM In reply to

    • tomer
    • Top 500 Contributor
    • Joined on 07-14-2008
    • Posts 4

    Re: Need help

    Nope and that's exactly what I was missing.

     

    THANK YOU VERY MUCH!

     

Page 1 of 1 (5 items)