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
Could not find a part of the path
- Attachments
-
- 1136.Error.png (101.24 KiB) Viewed 1034 times
Could not find a part of the path
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:
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.
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();
Code: Select all
mainreport.Compile(pathString);
Thank you.