• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk Inventor Engineer-to-Order

    Reply
    Contributor
    GeorgeWilliams
    Posts: 14
    Registered: ‎01-12-2012

    ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

    285 Views, 4 Replies
    03-01-2012 08:32 AM

    I get the attached error when I try to run 5.1 on an existing solution that was working in 5.0.  How do I resolve this error?   The message dialog does not give me enough information to know where the issue is.

     

    Are there things that have changed in 5.1 that would cause my code to be invalid now?  If so, what types of things should I look for and is there a document that lists those incompatibilities?

     

    Thanks,

    George

    Please use plain text.
    Employee
    Posts: 87
    Registered: ‎03-06-2006

    Re: ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

    03-01-2012 10:25 AM in reply to: GeorgeWilliams

    George:  It is hard to say from this level of information, but I would guess that something wanted a list, but wasn't given something that we could turn into an internal Intent list.

     

    When you can figure it out enough to get us a case that demonstrates it, I think we can work on getting a better error message out.

     

    The changes to lists are quite extensive in the most recent releases, and conversions like this are where the testing did not catch a particular usage.  There is no "known" list of things that could cause this.

     

    --Jack Gregory

     

    Please use plain text.
    Contributor
    GeorgeWilliams
    Posts: 14
    Registered: ‎01-12-2012

    Re: ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

    03-01-2012 10:30 AM in reply to: JackGregory

    Hi Jack,

     

    Thanks for the quick reply.

     

    I am currently commenting out chunks of code to try to isolate the issue.  Unfortunately, that is taking quite a bit of time since it crashes to desktop after each test.  As soon as I know more I will definately post it.  I am using lists extensively in the drawings that render to cause the crash.  I may just try turning RENDER off and evaluating lists manually. 

     

    Thanks,

    George

    Please use plain text.
    Distinguished Contributor
    ludesroc
    Posts: 131
    Registered: ‎05-03-2005

    Re: ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

    06-19-2012 10:40 AM in reply to: GeorgeWilliams

    Upgraded from Automation 2010 to ETO 2012...I get the same error message when executing this rule. Used to work well under 2010!!!

    

    Lookup Rule SalesOrderNo As String = "01761102"

    

    Child uspOpeningSizes As :dbQueryCommand
    connection = dbConnection
    commandText = "[dbo].[uspOpeningSizes]"
    commandType = :smileyfrustrated:toredProcedure
    displayName = "usp Opening Sizes"
    InputParameters = {dbConnection.adoStringParameter ("@SalesOrder", SalesOrderNo, 50)}
    End Child

    Rule openingsQueryList As List
    openingsQueryList = uspOpeningSizes.ResultSet
    End Rule

     

    Regards,

    Luc

    Ludesroc
    Please use plain text.
    Employee
    Posts: 87
    Registered: ‎03-06-2006

    Re: ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

    09-17-2012 05:07 PM in reply to: ludesroc

    This is a known issue.  Please contact support.

    Please use plain text.