Says 'Missing Assembly ReportViewer.ProcessingObjectModel' when I try to install my vb.net program on other computers.

JeffreyDurham
JeffreyDurham used Ask the Experts™
on
I am not entirely new to .net, altho the one step that still confuses me is when I try to actually compile the application and deploy it.. I keep running into trouble. I've got this program I wrote, and it works fine on my computer, installs fine, runs fine. But when I try to port over the 'setup.exe' and the other files that the thing makes and install it on another computer it refuses to install. The error says that it is missing an assembly called ReportViewer.ProcessingObjectModel v8.0.0.0. How do I ensure that the right files are always included in my project so other people can use the program? Basically, if no one else can use my program there's not even a point in writing it.

Any help on this matter would be really really appreciated!
Thanks! Michael
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Looks like you are integrating with Crystal Reports.  Is that correct?

If so, you will need to include the Crystal runtime as part of your setup.  You can find more information http://support.businessobjects.com/communityCS/TechnicalPapers/crxi_r2_net_deployment.pdf

Author

Commented:
No I'm just using the builtin Microsoft DataReports that comes with Visual Studio. Our company isn't willing to buy Crystal Reports. But speaking of builtin things.. why isn't the library automatically deployed with the project? Or, when I try to run the installer, why doesn't it automatically download the missing library from microsoft? I've seen it do that before.

~Michael

Author

Commented:
Ok, I've got this working, insomuch as it does. Can I now associate tooltips with the comboboxes or put events on those, now that I have actual objects for each item in the list? What I'd really like to do is have the description of each item pop up in a tooltip once the user has an item hilited (not selected) in the combolist..
Thank you so much for your help on this so far. I've already learned alot, and might be able to still figure this out. The idea of using an actual object sounds like it could work. (Because I could then associate events with them somehow I think)
~Michael
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

Author

Commented:
Oh, ignore the last post. That was for my other question :)
Commented:
>>> No I'm just using the builtin Microsoft DataReports that comes with Visual Studio. Our company isn't willing to buy Crystal Reports

FYI, Crystal Reports comes with Visual Studio so if you want to use it you can...

As far as this application, I assume it's a Windows app not a web app, right?  Do you have reportviewer listed in your projects references?  Also if it is try rt-clicking on it and checking dependencies and make sure they are all included also - a dll can fail to install if one of it's dependencies is missing.

Commented:
Oh, haha.  Had me very confused.

See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=76154&SiteID=1 and look for the answer (in green).  You can to copy the DLL files into your project, and they *should* be deployed during installation.

Author

Commented:
I've done something wrong. I was trying to follow your advice Frodoman, and I changed the dependencies so that it included the report viewer for sure, and now it's saying application download did not succeed. Btw, this is supposed to be on a local server. It's not deployed over the web whatsoever. It's giving me this detailed error description:

PLATFORM VERSION INFO
      Windows                   : 5.1.2600.131072 (Win32NT)
      Common Language Runtime       : 2.0.50727.42
      System.Deployment.dll             : 2.0.50727.42 (RTM.050727-4200)
      mscorwks.dll                   : 2.0.50727.42 (RTM.050727-4200)
      dfdll.dll                   : 2.0.50727.42 (RTM.050727-4200)
      dfshim.dll                   : 2.0.50727.42 (RTM.050727-4200)

SOURCES
      Deployment url                  : file:///P:/CreditWatchExpress/CreditWatch%20APP/IonData%20Maricopa%20Credit%20Watch.application
      Deployment Provider url            : http://michaels/IonData%20Maricopa%20Credit%20Watch/IonData%20Maricopa%20Credit%20Watch.application

ERROR SUMMARY
      Below is a summary of the errors, details of these errors are listed later in the log.
      * Activation of P:\CreditWatchExpress\CreditWatch APP\IonData Maricopa Credit Watch.application resulted in exception. Following failure messages were detected:
            + Downloading http://michaels/IonData Maricopa Credit Watch/IonData Maricopa Credit Watch.application did not succeed.
            + Unable to connect to the remote server
            + A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Author

Commented:
Ok I figured out what that was. That was due to accidentally hitting the update button in the apps prefs, thus making it think it had to check for updates first at some imaginary address.
Thanks again everyone, especially Frodomon!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial