AutoCAD Plant 3D Forum
Welcome to Autodesk’s AutoCAD Plant 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Plant 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Report Creator error

3 REPLIES 3
Reply
Message 1 of 4
Jorgen1990
589 Views, 3 Replies

Report Creator error

Hello!

 

We have a problem with Report Creator 2014. We have a custom Report Template that works fine on the machine that is was created on. But it does not work on any other machines and gives an error:

 

Type: Autodesk.ProcessPower.ReportCreator.ReportCreatorException
Message: There are following errors in script(s):
line 186, column 53: error CS0234: The type or namespace name 'ReportTemplateTools' does not exist in the namespace 'Autodesk.ProcessPower.ReportCreator' (are you missing an assembly reference?)
line 196, column 50: error CS0234: The type or namespace name 'ReportTemplateTools' does not exist in the namespace 'Autodesk.ProcessPower.ReportCreator' (are you missing an assembly reference?)

Stack trace:
   at Autodesk.ProcessPower.ReportCreator.Manager.Preview()
   at Autodesk.ProcessPower.ReportCreator.MainForm.Preview()

Inner exception:
Type: System.Exception
Message: There are following errors in script(s):
line 186, column 53: error CS0234: The type or namespace name 'ReportTemplateTools' does not exist in the namespace 'Autodesk.ProcessPower.ReportCreator' (are you missing an assembly reference?)
line 196, column 50: error CS0234: The type or namespace name 'ReportTemplateTools' does not exist in the namespace 'Autodesk.ProcessPower.ReportCreator' (are you missing an assembly reference?)

Stack trace:
   at DevExpress.XtraReports.UI.XtraReport.AssertScriptsValidity()
   at DevExpress.XtraReports.UI.XtraReport.OnBeforePrint(PrintEventArgs e)
   at DevExpress.XtraReports.UI.XtraReport.CreateDocumentCore(Single progressRange, Boolean buildPagesInBackground)
   at Autodesk.ProcessPower.ReportCreator.ReportingFacade.Preview()
   at Autodesk.ProcessPower.ReportCreator.Manager.Preview()

 

 

Any ideas what to do?

I attached the screenshot also.

 

Thanks

Jörgen

 

 

3 REPLIES 3
Message 2 of 4
jabowabo
in reply to: Jorgen1990

Can you post your report script text?  You can find it in report layout editor.

 

Script.PNG

Message 3 of 4
Jorgen1990
in reply to: jabowabo

hi!

 

I am unsure how to see the whole script of the report template. I can only see scripts of different parts of the report.

Message 4 of 4
jabowabo
in reply to: Jorgen1990

See the attached image in my post to locate the report scripts.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost