ReportViewer Not Found

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    #1

    ReportViewer Not Found

    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.Rep ortViewer.WinFo rms, Version=8.0.0.0 , Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a' 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
  • kimiraikkonen

    #2
    Re: ReportViewer Not Found

    On Dec 29, 5:26 am, Joe <delphi...@cox. netwrote:
    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.Rep ortViewer.WinFo rms, Version=8.0.0.0 , Culture=neutral ,
    PublicKeyToken= b03f5f7f11d50a3 a' 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.Diagnost ics.ProcessStar tInfo("yourfile .exe")
    psInfo.WorkingD irectory = Application.Sta rtupPath

    Hope this helps.

    Comment

    Working...