Technote (troubleshooting)
Problem(Abstract)
When a user creates a new reportbook, adds a particular report, and tries to import the page options, an error stating that the template cannot be found appears. The name of the template just added in the reportbook will appear in the error details.
Symptom
The template could not be found at :
'[path to template]\[template with name containing two consecutive spaces]'.
System.IO.FileNotFoundException. Could not find
''[path to template]\[template with name containing two consecutive spaces]'
* the template name and path will vary according to the environment
Cause
This issue is occurring due to extra blank spaces in the report file name.
Environment
Clarity 6,7 Server
Diagnosing the problem
- log into Clarity Server
- Go to Reports -> Reportbooks and create a new reportbook
- add a particular report
- import the page options from the template
- observe the error message from the Symptom
-
Resolving the problem
In order to resolve this issue, check the name of the report and ensure that it does not have any extra spaces. You can do this either by opening the template in Studio or Template Builder and re-saving it with a proper name or by changing the file names manually from the Clarity Application Server.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.