Crystal Report Problem after Deployment (w/ .msm's
Hello,
I have a Windows Application that will successfully deploy in all respects but one. The application takes user input, stores it in a database, and builds a Crystal Report from the database. This works fine before deployment.
When I deploy and install the application, everything works fine except that when I try to build the Crystal Report, I get the last one that was created before the deployment build, everytime. User input works fine, it does update the database everytime, but I always am left with the last Crystal Report that was genreated before deployment when I try to create a new one.
I am using .NET 2003, Bundled Crystal Reports for VS .NET, and have included the following Merge Modules in the setup project:
-Crystal_Database_Access2003.msm
-Crystal_Database_Access2003_enu.msm
-Crystal_Managed2003.msm
-Crystal_regwiz2003.msm
My Crystal Reports version is unregistered but I do include the correct license key.
Thanks for any help.
**Update:
The error is that my report fields are based off a database with a static path to my debug folder. I do include the database in deploy but the app keeps looking at the db in my debug folder rather than the folder that the user puts my app in. I need to set up the report so that the path will look something like:
Application.StartupPath.ToString() + "\\MyDatabase.mdb
Anyone know how to do that?
|