Templates and File not found error
We have recently upgraded to version 7.03 of ReportBuilder. In version 6.x
we were able to leave the template FileName property blank without any
issues and set it later in code during runtime. In version 7.03 we receive
a file not found error. Why is this happening and is there a way around
this?
we were able to leave the template FileName property blank without any
issues and set it later in code during runtime. In version 7.03 we receive
a file not found error. Why is this happening and is there a way around
this?
This discussion has been closed.
Comments
Are you calling Report.Template.LoadFromFile before a template file is
defined? If so, be sure this is only being called once a template file has
been defined. Also, you may need to check that the path names for the files
you are trying to load are correct.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
component is located. When the form is being created we do not know the
report name so the property is blank.. This behavior worked in version 6.x
as I stated earlier but does not work in version 7.
Be sure you do not have Report.SaveAsTemplate set to True. This could also
cause the error.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com