Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 4 out of 5     Rate this Document

Network Browser Error When Browsing for OPC Server on Windows 2000 Machines

Primary Software: Measurement Studio>>Professional Edition (Base Package)
Primary Software Version: 8.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: I am trying to browse to my OPC server using the dialog that launches with SelectUrl Dialog in Microsoft Visual C++, Visual C# or Visual Basic .NET. I always get a Network Error dialog, as shown in the screenshot. How do I fix this?

Solution: The Datasocket component used to enumerate the OPC servers available on the system is not being correctly registered on Windows 2000 systems. To use Datasocket as an OPC client, you need to manually register opcproxy.dll. To manually register opcproxy.dll, run the following command:

C:\WINNT\system32\regsvr32.exe C:\WINNT\system32\opcproxy.dll

NOTE: The path to the system32 folder on your machine might be different. If the previous command does not work, search your hard drive for regsvr32.exe and opcproxy.dll and correct the paths.

Related Links:

Attachments:





Report Date: 11/04/2005
Last Updated: 05/07/2006
Document ID: 3R3ECP5B

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit