468,760 Members | 1,744 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,760 developers. It's quick & easy.

VS2005 Crystal Reports Deployment Problem

I've just developed an Windows application that uses Crystal Reports
(v10 ? - the version that ships with VS2005).

Whilst the application works fine - reports can be viewed on the
development machine, when I create a setup project (which includes the
Crystal reports merge module), and deploy this setup file to another
machine (a fresh install of WinXP Pro with SP2), the reporting section
does not work...

How do I get the report viewer to work correctly on another machine?
The error I'm getting is:

************** Exception Text **************
System.Exception: Load report failed. --->
System.Runtime.InteropServices.COMException (0x80004005): The system
cannot find the path specified. at
CrystalDecisions.ReportAppServer.ClientDoc.ReportC lientDocumentClass.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String
filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.EnsureLoadReport()
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.SetDataSourceInternal(Object
val, Type type)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.SetDataSource(DataTable
dataTable)
at StudioTimeSheet.Reports.SingleReport.SingleReport_ Load(Object
sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
Thanks in advance.

Aug 10 '06 #1
2 12180
Problem solved.

Installed the CRRedist2005_x86.msi file on the non-development PC -
located in

C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\CrystalReports
everything works as it should.

Code Monkey wrote:
I've just developed an Windows application that uses Crystal Reports
(v10 ? - the version that ships with VS2005).

Whilst the application works fine - reports can be viewed on the
development machine, when I create a setup project (which includes the
Crystal reports merge module), and deploy this setup file to another
machine (a fresh install of WinXP Pro with SP2), the reporting section
does not work...

How do I get the report viewer to work correctly on another machine?
The error I'm getting is:

************** Exception Text **************
System.Exception: Load report failed. --->
System.Runtime.InteropServices.COMException (0x80004005): The system
cannot find the path specified. at
CrystalDecisions.ReportAppServer.ClientDoc.ReportC lientDocumentClass.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ReportClientDocum entWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String
filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.EnsureLoadReport()
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.SetDataSourceInternal(Object
val, Type type)
at
CrystalDecisions.CrystalReports.Engine.ReportDocum ent.SetDataSource(DataTable
dataTable)
at StudioTimeSheet.Reports.SingleReport.SingleReport_ Load(Object
sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
Thanks in advance.
Aug 10 '06 #2
Hi,

Thanks for the link, it helped me

Additionally you can download the MSM (merge file) from CR from
http://support.businessobjects.com/c...es_mlb_x86.zip
and just add it as you did before in 2003
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Code Monkey" <dl********@gmail.comwrote in message
news:11**********************@m79g2000cwm.googlegr oups.com...
Problem solved.

Installed the CRRedist2005_x86.msi file on the non-development PC -
located in

C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\CrystalReports
everything works as it should.

Code Monkey wrote:
>I've just developed an Windows application that uses Crystal Reports
(v10 ? - the version that ships with VS2005).

Whilst the application works fine - reports can be viewed on the
development machine, when I create a setup project (which includes the
Crystal reports merge module), and deploy this setup file to another
machine (a fresh install of WinXP Pro with SP2), the reporting section
does not work...

How do I get the report viewer to work correctly on another machine?
The error I'm getting is:

************** Exception Text **************
System.Exception: Load report failed. --->
System.Runtime.InteropServices.COMException (0x80004005): The system
cannot find the path specified. at
CrystalDecisions.ReportAppServer.ClientDoc.Report ClientDocumentClass.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocu mentWrapper.Open(Object&
DocumentPath, Int32 Options)
at
CrystalDecisions.ReportAppServer.ReportClientDocu mentWrapper.EnsureDocumentIsOpened()
--- End of inner exception stack trace ---
at
CrystalDecisions.ReportAppServer.ReportClientDocu mentWrapper.EnsureDocumentIsOpened()
at CrystalDecisions.CrystalReports.Engine.ReportDocum ent.Load(String
filename, OpenReportMethod openMethod, Int16 parentJob)
at CrystalDecisions.CrystalReports.Engine.ReportClass .Load(String
reportName, OpenReportMethod openMethod, Int16 parentJob)
at
CrystalDecisions.CrystalReports.Engine.ReportDocu ment.EnsureLoadReport()
at
CrystalDecisions.CrystalReports.Engine.ReportDocu ment.SetDataSourceInternal(Object
val, Type type)
at
CrystalDecisions.CrystalReports.Engine.ReportDocu ment.SetDataSource(DataTable
dataTable)
at StudioTimeSheet.Reports.SingleReport.SingleReport_ Load(Object
sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow. OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message&
m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32
msg, IntPtr wparam, IntPtr lparam)
Thanks in advance.

Aug 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Gudni G. Sigurdsson | last post: by
7 posts views Thread by p | last post: by
1 post views Thread by Wayne Deleer | last post: by
11 posts views Thread by =?Utf-8?B?cmtibmFpcg==?= | last post: by
3 posts views Thread by =?Utf-8?B?UGF1bA==?= | last post: by
3 posts views Thread by Greg Smith | last post: by
1 post views Thread by =?Utf-8?B?Q2lhcmFuIE8nJ0Rvbm5lbGw=?= | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.