I am setting up a new report in the same location as my other Operational reports but get the following error. How do I resolve this?
Best answer by ChanakaAmarasekara
- Check if the file name given in the report definition is the correct physical file name.
- Check the language you select in the print dialog is the same folder that you copied the layout to. E.g. if you select ‘en’ then the layout should be located inside a ‘en’ folder of the crystal layout files root location. You will get the error if you copied the layout to the ‘en’ folder and select another language which is not ‘en’ language from the print dialog. If the folder given in the “OpenReportPath” in the Web.Config file is C:\ReportLayouts, and the language you select from the print dialog is ‘en’, the layout should be located in C:\ReportLayouts\en folder. You will get the error is you copy the layout as this way and select a different language (e.g. ‘sv’) from the print dialog.