Hello everybody!
In my project I have some reports made in Crystal Reports for .NET 2003. As DataSource in my documents I have used some xml files. In my computer, the reports open OK, but when I make an installation of the application, in another computer (in the folder C:\Program Files\...) in the which I also add the xml files too, in the installation packet, and try to open one of the documents I get that form that prompts me for the logon information.
I think this comes because in the design of the report, when I define the datasource, I get the xml file from C:\Application1\bin\debug\reports\report1.xml, which is static and maybe after installing, it looks for the datasource in this location. How can I make it to define the datasource not like this but maybe like Application.StartupPath + "\\reports\\report1.xml". I didn't find a way to do that and it doesn't make sense to be impossible to do this.
Thanks in advance for any help!
Country of eagles
In my project I have some reports made in Crystal Reports for .NET 2003. As DataSource in my documents I have used some xml files. In my computer, the reports open OK, but when I make an installation of the application, in another computer (in the folder C:\Program Files\...) in the which I also add the xml files too, in the installation packet, and try to open one of the documents I get that form that prompts me for the logon information.
I think this comes because in the design of the report, when I define the datasource, I get the xml file from C:\Application1\bin\debug\reports\report1.xml, which is static and maybe after installing, it looks for the datasource in this location. How can I make it to define the datasource not like this but maybe like Application.StartupPath + "\\reports\\report1.xml". I didn't find a way to do that and it doesn't make sense to be impossible to do this.
Thanks in advance for any help!
Country of eagles