03-31-2008 04:51 PM
04-01-2008 09:54 PM
04-02-2008 08:45 AM
12-18-2008 03:04 PM
Hi Josh,
You mentioned that the KEPDirect uninstaller isn't as complete as one would hope... I installed KEP, then uninstalled KEP, then installed NI OPC Servers (flavor of KEP), then installed KEP again. Both OPC servers work through their quick clients, but I get error -2147221163 (the fix proposed in another forum for this does not work -- opcenum appears to be registered correctly) when trying to add an OPC client to LabVIEW project. I'm wondering if something is left over from when I uninstalled KEP. (I've been through my DCOM and firewall settings and tried to make them match my laptop where everything works.)
Did you do anything in particular to "complete" your uninstall of KEPDirect?
Thanks!
02-10-2009 04:42 PM
My issue was solved by replacing:
C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\variable\tagger\opcClient\ni_monads_opcClient_gui.dll
The problem was related to some mysterious DCOM setting and the way LabVIEW was interfacing to opcenum.exe. This will NOT be experienced by most users. NI R&D tweaked the DLL (above) to work with the latest version of a component of opcenum.exe. If you have a similar issue, call NI and reference the DLL. I'm hesitant to provide it here (unless authorized by NI), as the DLL will not be officially released for some time.
02-18-2011 12:46 PM
I'm having this problem with a LabVIEW 8.6.1 application, which is built and distributed as an install package & running on top of LabVIEW RTE 8.6.1. When trying to print a graph control using the NI_Standard Report.lvclass, I get error code -2147221163 (0x80040155) with message: Interface not registered in NI_Standard Report.lvclass:new report subVI.vi. This same code has worked with no problems on other stations for a number of years. Something is wrong with the configuration on one specific station.
Per another post: http://forums.ni.com/t5/LabVIEW/OPC-Interface-Not-registered-error/m-p/107666 I've tried reinstalling the OPC_Support\opcsupp.msi\opcsupp.msi and reinstalling the LVRTE (8.6.1) but these steps haven't worked. Any help would be very much appreciated. Thanks for your time.
- RFoulk
02-21-2011 08:31 AM
Could you give more details regarding the specifics of how the error might be recreated? Without being able to recreate the problem (or finding a reference to someone who has recreated the problem) all I can really do is tell you various things to reinstall. If you can minimize your code so that I can recreate the issue I will try to track down the configuration issue you're having further. (I have not had any luck determining the reason for you error beyond improper installations of the various components involved)
02-22-2011 10:47 AM
Thanks, Kevin. I've reduced the code down to the problem area (attached) and was able to generate the error under more controlled conditions. It happens under our production environment (meaning no LabVIEW or LabWindows installed) but not under the development environment. I believe the problem can be reproduced with the following steps:
1.) Start with a clean Windows XP SP3 and install the full NI Developer Suite from Second Quarter 2009, including almost everything.
2.) Build the test application, including the installation package. Verify that it works correctly.
3.) Uninstall the LabWindows and LabVIEW development environments, leaving all drivers, runtime engines, MAX, and everything else.
4.) Application produces the error.
I suspect the uninstallation of the development environments took something out along with them when it shouldn't have. We are going to strip the station image down and reinstall to try to get operational again. This is a brute force approach obviously, and we'd really rather know what specific DLL or package is causing the problem. Your help is very much appreciated.
- RFoulk
02-24-2011 08:33 AM
Just a brief update: We were able to sidestep the problem by finding an alternative print method using Invoke Nodes on Control & VI references. See the updated NIReportError attachment for an implementation. Also after some testing I'm now convinced the problem is caused by some component that was removed along with the development environment as described, but I don't know which one. Please see the attached detailed package difference/comparison between the two station configurations. Thanks again. -RFoulk