I am getting this exception while converting sldprt file to PDF...
1. Conversion Server Setup for CAD files:
a. Modified ConversionServerConfig.xml file as following:
<ArasCadConverter>
<Application converterPath="C:\Program Files (x86)\Aras\Innovator\ConversionServer\HOOPS Converter\bin\converter.exe" />
<Command arguments="--input_pdf_template_file 'C:\Program Files (x86)\Aras\Innovator\ConversionServer\HOOPS Converter\templates\Blank_Template_L.pdf' --output_pdf '%filepath%\%filename%.pdf' --output_png '%filepath%\%filename%.png' --output_png_resolution '150x150' --output_prc '%filepath%\%filename%.prc' --output_logfile '%filepath%\%filename%'" />
</ArasCadConverter>
b. CAD Document created with Type as MCAD/Part and Authoring tool as “Solidworks” with file ( TEST_CAD_1.sldprt) attached as native file.
c. Saved and unlock the CAD Document.
d. Conversion process kicks up.
e. Completes the conversion process
f. Converted files gets into ARAS as after the conversion we can query and see those files.
g. Conversion process fails at “OnAfterConvert” and throws the following error:
Aras.ConversionFramework.Exceptions.ItemErrorException: Representation file id is not specified
at Aras.ConversionFramework.Models.DAL.ItemContext.AssertItem(Item item) in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\DAL\ItemContext.cs:line 120
at Aras.ConversionFramework.Models.ConversionTaskEventHandler.Execute(ConversionTask task) in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTaskEventHandler.cs:line 220
at Aras.ConversionFramework.Models.ConversionTask.ExecuteEventHandlers(ConversionTaskEventType eventType) in E:\Builds\Innovator_RELS11-0-SP12\6920-RELS11-0-SP12\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTask.cs:line 346