Applies To:
  • CitectSCADA 6.00

Summary:
My project was developed in CitectSCADA V6.00 and used CiRecipe control to connect a database. When the project was deployed on a Windows 2000 machine as web client, the recipe control worked fine. But it didn't work on the machine with the clean Windows XP SP1. The symptom was that no object image was displayed at all. However if CitectSCADA was installed on this machine, all worked fine. How can I solve this problem?
 

Solution:
It appears to be missing dependent components. The following table lists all components required by CiRecipe.ocx. Some of these dependent files are a part of Operating System. And the others are constituent controls and libraries and installed by applications, such as CitectSCADA and Microsoft Office. If these components, as highlighted in the table, don't exist on the target machine, the Recipe control won't work as the web client deployment doesn't install them either. In the current version, no cab file is prepared to include these files in the web deployment. To work around this problem, you need to follow the instruction provided below.

Component Name

Operating System

Registry

Location

ASYCFILT.DLL

x

C:\WINDOWS\system32

comcat.dll

x

x

C:\WINDOWS\system32

msvbvm60.dll

x

x

C:\WINDOWS\system32

oleaut32.dll

x

x

C:\WINDOWS\system32

olepro32.dll

x

x

C:\WINDOWS\system32

stdole2.tlb

x

C:\WINDOWS\system32

Comdlg32.ocx

x

C:\WINDOWS\system32

msado25.tlb

C:\Program Files\Common Files\System\ado

MSADODC.OCX

x

C:\WINDOWS\system32

MSBIND.DLL

x

C:\WINDOWS\system32

msdatgrd.ocx

x

C:\WINDOWS\system32

msstdfmt.dll

x

C:\WINDOWS\system32

VB6STKIT.DLL

C:\WINDOWS\system33


Instructions

1. Get copies of those files as highlighted in the above table from your server machine
2. Paste these to their corresponding locations as described in the table. Note that the windows directory should be WINNT for Windows 2000 and Windows NT 4.
3. Create a batch file, say RegComponents.BAT, and paste the following contents into the file and save it.
_______________________________________________
regsvr32 /s %windir%\System32\Comdlg32.ocx
regsvr32 /s %windir%\System32\msstdfmt.dll
regsvr32 /s %windir%\System32\msdatgrd.ocx
regsvr32 /s %windir%\System32\MSADODC.OCX
regsvr32 /s %windir%\System32\MSBIND.DLL
_______________________________________________

4. Run the batch to get these files registered.
5. Redeploy the web client and run it.

Citect has confirmed this to be a problem in CitectSCADA version 6.00. We are researching this problem and will post new information here as it becomes available.

 

Keywords:
 

Attachments