Thread: C# VS2005 - Problem publishing application

  1. #1
    Registered User
    Join Date
    Feb 2006
    Posts
    7

    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

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    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?

  3. #3
    Registered User
    Join Date
    Feb 2006
    Posts
    7
    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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. problem with A simple modeless messagebox
    By hanhao in forum C++ Programming
    Replies: 8
    Last Post: 07-05-2005, 11:18 PM
  2. Dev Resource problem
    By algi in forum Windows Programming
    Replies: 3
    Last Post: 04-19-2005, 03:53 PM
  3. MFC run application by clicking on file...
    By dug in forum Windows Programming
    Replies: 4
    Last Post: 12-02-2004, 04:33 AM