Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: filenotfound exception Post Reply Post New Topic
Author Message
as.yanev
Newbie
Newbie


Joined: 05 Jun 2011
Location: Bulgaria
Online Status: Offline
Posts: 4
Quote as.yanev Replybullet Topic: filenotfound exception
    Posted: 06 Oct 2011 at 11:47pm
Hi guys,
I have some strange problem with starting my application on computer without Visual Studio. The app is written with Studio 2005 Pro and the Crystal Report Part is just a simple Form with crystalreportviewer object. The Reports are stored in folder on the local computer and the start button code is something like this:

            ReportDocument cryRpt = new ReportDocument();
            cryRpt.Load(reportPath);
            crystalReportViewer1.DisplayBackgroundEdge = true;
            crystalReportViewer1.DisplayStatusBar = true;
            crystalReportViewer1.DisplayToolbar = true;
            crystalReportViewer1.ReportSource = cryRpt;
            crystalReportViewer1.Refresh();


It's working fine on my computer, but on test computer it gives Send/Don't Send Message:

EventType : clr20r3     P1 : documentator.exe     P2 : 1.0.0.0    
P3 : 4e8c5e33     P4 : documentator     P5 : 1.0.0.0     P6 : 4e8c5e33    
P7 : 7     P8 : 6     P9 : system.io.filenotfoundexception   


Thanks in advance
...

Always aim for the moon, even if you miss, you'll land among the stars...
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.