Re: ReportViewer Not Found
- From: kimiraikkonen <kimiraikkonen85@xxxxxxxxx>
- Date: Sat, 29 Dec 2007 06:48:56 -0800 (PST)
On Dec 29, 5:26 am, Joe <delphi...@xxxxxxx> wrote:
Hi,
I developed a VB.NET Windows program that gets its data from
an MS Access database and displays information via the ReportViewer
component. This is using VS2005 with .NET 2.0.
I sent it to my customer who loaded it on his target machine
and received this error message:
"'Microsoft.ReportViewer.WinForms, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The
system cannot find the file specified."
He tells me that the target machine also has .NET 2.0
installed.
Does anyone have any idea what might be causing this problem?
J
I don't have reportviewer on my VB 2005 express, (have installed later
as a add-on?) but, IMHO If you specified the path as a unique path
like "c:\whatsoever.exe", your program will look for only that path on
every machine. To avoid this, you may try setting path without drive
letter such as "whatsoever.exe" or for processes you may set if the
path refers to a external process:
Dim psInfo As New System.Diagnostics.ProcessStartInfo("yourfile.exe")
psInfo.WorkingDirectory = Application.StartupPath
Hope this helps.
.
- References:
- ReportViewer Not Found
- From: Joe
- ReportViewer Not Found
- Prev by Date: Re: Writing listbox items into text file
- Next by Date: Re: Writing listbox items into text file
- Previous by thread: ReportViewer Not Found
- Next by thread: Writing listbox items into text file
- Index(es):