in

dashCommerce

An ASP.NET Open Source e-Commerce Application

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

Last post 10-08-2008 5:51 AM by guzman.luis. 7 replies.
Page 1 of 1 (8 items)
Sort Posts: Previous Next
  • 07-03-2008 4:27 PM

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

    This is really strange, a fresh download and when ever I add something to the cart I get the following error

    Message="Invalid cast from 'System.String' to 'System.Guid'."
      Source="mscorlib"
      StackTrace:
           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 System.Convert.ChangeType(Object value, Type conversionType)
           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

    Is there a patch I am missing? Any help would be greatly appreciated!

    I ran the upgrade script for the SQL database from the release candidate to the release version. (Not sure if this has anything to do with the error)

     Thanks

  • 07-03-2008 4:41 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

    Answer

    Are you using the 3.0.1 release? If so, then you probably missed an upgrade script as the sequence was:

    RC -> 3.0 -> 3.0.1

    --
    Support dashCommerce - Buy Our Stuff!!


    Find a bug? Create a Work Item for a fast response.. Want to help? Create a patch for us! Documentation? Help us write some!
  • 07-03-2008 4:55 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

    Legend!

    Thanks :) That seems to have fixed it

  • 09-17-2008 12:10 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

     Excuse me,

     

    Which script did you use to resolve the error?. 

     Please let me know... thank's .

  • 09-17-2008 12:16 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

     

     Excuse me,

     

    Which script did you use to resolve the error?. 

     Please let me know... thank's .
  • 09-17-2008 1:19 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

    I follwed the above mentioned db scripts

     Went from RC to 3.0 then to 3.1

  • 09-17-2008 3:07 PM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

     I have the same error but is when i deleted a item from the cart.

     

    Please some Help.

  • 10-08-2008 5:51 AM In reply to

    Re: Invalid cast from 'System.String' to 'System.Guid'.

    Please i need the script or solution of this. Excuse me but your solution doesn'e work for me. 

     

    Thanks.

Page 1 of 1 (8 items)