I have generated the XSD of the class file (Value Object) with the help of Dot net XSD tool. This XSD is then bound with the .rpt file.
The problem is that when this is run on other machine and their machine has a different path for the code, the report fails. The odd thing is that some of our reports are working fine, it is only a few that basically are looking for the hard coded XSD path.
As per my knowledge, Crystal report does not require XSD at the runtime. I am totally stuck with this issue. Temporary solution is to set the data source location on the other machine which is rediculous.
I have also tried "Same as Report" option of the report but it look XSD in the "Temp" folder of the "C:\Documents and Settings\username\...".
Is there any dynamic solution ? Can i map the XSD path to my Project application? Any help will be appreciated.