Why Can't I Run Any NI Reports Examples or Functions In Measurement Studio 6.0? Primary Software: LabVIEW Development Systems>>Full Development SystemPrimary Software Version: 6.1 Primary Software Fixed Version: N/A Secondary Software: Measurement Studio>>Visual C++ Support, Measurement Studio>>Visual Basic Support, Measurement Studio>>.NET Support, Measurement Studio>>Standard Edition (Starter Kit), LabVIEW Development Systems>>Professional Development System, LabWindows/CVI Development Systems>>Base Package, Measurement Studio>>Professional Edition (Base Package), LabWindows/CVI Development Systems>>Full Development System, LabVIEW Development Systems>>Base Package, Measurement Studio>>Enterprise Edition (Full Development System)
Problem: When I run a program using the NiReports functions, it compiles fine. However, it throws an error as soon as I try to access the data members. (See attached screen shot - Debug.jpg below). Why does this occur, and how can I fix this behavior? Solution: This error occurs if the NiReports.dll file (located in C:\Program Files\National Instruments\Shared\NI-Reports) is overwritten by a LabVIEW installation. For example, if you install Measurement Studio 6.0 and then install LabVIEW 6.1, it will overwrite the Measurement Studio version of NiReports.dll (version 2.1.0.0) with an incompatible version from LabVIEW 6.1. There are a couple of solutions that will keep this problem from happening on your computer:
If you need to correct this problem on your computer, you can do it with the following steps:
To check that this problem is fixed, try executing one of the NI-Reports shipping examples, like the Microsoft Visual C++ 6.0 example "C:\Program Files\National Instruments\MeasurementStudio\VC\Examples\NiReports\SimpleReport". Related Links: KnowledgeBase 1HBAMMSR: How Do I Manually Register Type Libraries, ActiveX Controls, and ActiveX Servers? Attachments:
Report Date: 06/18/2003 Last Updated: 12/02/2004 Document ID: 2YHB1CW0 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
