Page 1 of 1
Could not find a part of the path
Posted: Thu Jul 07, 2011 4:55 pm
by ToolHound
A couple of our users have recently been getting this error when printing a report. Was working fine and doesn't happen every time.
What could be causing this?
Could not find a part of the path
Posted: Fri Jul 08, 2011 8:00 am
by Alex K.
Hello,
When compiling, a temporary assembly file is created. It seems you have some problems with access to the file/folder. Please try, before you print the report, to manually compile it using the code:
Code: Select all
StiReport mainreport = new StiReport();
mainreport.Compile();
mainreport.Render(false);
mainreport.Print();
if it does not help, please try to change the command:
where the pathString is a path to a temporary assembly file in a folder to which access is guaranteed and the name of the file should be created at random.
Thank you.