CAD To PDF Conversion Task

オフライン
I got the following error message from InvokeStandardConverter method for OnConvert Event of Conversion Task. Aras.ConversionFramework.Exceptions.EventCallbackErrorException: See inner exception for details: ---> System.Exception ---> System.Net.WebException: The request failed with HTTP status 404: Not Found. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.EndInvoke(IAsyncResult asyncResult) at Aras.ConversionFramework.Proxy.ConversionService.EndConvert(IAsyncResult asyncResult) in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\_CommonFiles\ConversionService\ConversionService.cs:line 85 at Aras.Server.Core.InvokeStandardConverter.ConvertCallback(IAsyncResult ar) in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\Core\InternalMethods\InvokeStandardConverter.cs:line 110 --- End of inner exception stack trace --- at Aras.ConversionFramework.Models.ConversionTask.<>c__DisplayClass40_0.<OnConvertCompleted>b__1() in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTask.cs:line 280 at Aras.ConversionFramework.Models.ConversionTaskEventHandler.Execute(ConversionTask task) in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTaskEventHandler.cs:line 143 --- End of inner exception stack trace --- at Aras.ConversionFramework.Models.ConversionTaskEventHandler.Execute(ConversionTask task) in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTaskEventHandler.cs:line 185 at Aras.ConversionFramework.Models.ConversionTask.ExecuteEventHandlers(ConversionTaskEventType eventType) in E:\Builds\Innovator_RELS11-0-SP11\6812-RELS11-0-SP11\Innovator.git\CompilableCode\ConversionFramework\ConversionManager\Models\ConversionTask.cs:line 346 I installed Agent Service, Conversion Server and Innovator in a separate folders. I am using Innovator11.0 SP11 version. Which one I need to check ? Here are current configurations. https://drive.google.com/open?id=1-ixqePjWrGO6jHLtXt3Hmk8MVxKTu5bk https://drive.google.com/open?id=1HZp52qai7x1J2RiS0WRJuUks3DtByWIn   Thanks Myo Thet
Parents
  • 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
Reply
  • 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
Children
No Data