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?