Inventor Engineer-to-Order

Reply
Contributor
GeorgeWilliams
Posts: 14
Registered: ‎01-12-2012
Message 1 of 5 (353 Views)

ETO 5.1: Assertion Failed - Conversion.TryFromValueBase

353 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

Employee
JackGregory
Posts: 189
Registered: ‎03-06-2006
Message 2 of 5 (337 Views)

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

 

Contributor
GeorgeWilliams
Posts: 14
Registered: ‎01-12-2012
Message 3 of 5 (334 Views)

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

Distinguished Contributor
ludesroc
Posts: 171
Registered: ‎05-03-2005
Message 4 of 5 (237 Views)

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
Employee
JackGregory
Posts: 189
Registered: ‎03-06-2006
Message 5 of 5 (177 Views)

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube