C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-01-2006, 03:04 AM   #1
Registered User
 
Join Date: Feb 2006
Posts: 6
Question C# VS2005 - Problem publishing application

Hello everyone,

After I publish my C# VS2005 application (to be installed from CD-ROM), the crystal reports in it will not load, but if I run the application from debug, everything works fine. Does anybody know what's going on? Thanks a lot.

Best regards,

JC
jcrcarmo is offline   Reply With Quote
Old 03-01-2006, 04:39 AM   #2
&TH of undefined behavior
 
Fordy's Avatar
 
Join Date: Aug 2001
Posts: 5,218
App paths?

The exe for a debug build is in a different folder to the release build. Do thy both have the same access to folder with the Report file?
__________________
"If A is success in life, then A equals x plus y plus z. Work is x; y is play; and z is keeping your mouth shut."
Albert Einstein (1879 - 1955)


Board Rules
Fordy is offline   Reply With Quote
Old 03-01-2006, 06:47 AM   #3
Registered User
 
Join Date: Feb 2006
Posts: 6
Problem solved!

It was pathetically simple... All I had to do was to set the reports file property "Build Action" to "Content". Now everything is ok. Thanks a lot!

JC
jcrcarmo is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Win32 Console Application Problem. kevinawad C++ Programming 10 11-07-2008 03:35 PM
problem with A simple modeless messagebox hanhao C++ Programming 8 07-05-2005 11:18 PM
Dev Resource problem algi Windows Programming 3 04-19-2005 03:53 PM
MFC run application by clicking on file... dug Windows Programming 4 12-02-2004 04:33 AM


All times are GMT -6. The time now is 06:59 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22