Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 23rd, 2007, 03:24 PM
Authorized User
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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?





Similar Threads
Thread Thread Starter Forum Replies Last Post
crystal report problem azymd777 Crystal Reports 1 September 24th, 2007 07:22 PM
Crystal report problem (another) julenis C# 0 April 19th, 2006 02:19 AM
Crystal Report Problem HELP ! Melibe Beginning VB 6 2 August 23rd, 2005 02:09 PM
Deployment Problem in Crystal Report ayyanarj Crystal Reports 0 November 20th, 2004 02:04 AM
Crystal Report Problem harland Classic ASP Professional 0 November 18th, 2004 10:28 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.