Applies To:
  • CitectSCADA 6.xx
  • CitectHMI 6.xx

An error occurs when loading MIB files using Citect's MIB2CIT utility ("Add MIB" button) causing the program to shutdown with a windows error. The Dr Watson log reports 'Exception number: c0000005 (access violation)' with regards to MIB2CIT.exe.

MIB2CIT V1.00.10.00


The cause of this error was the result of buffer overflow due to long path names. This problem only occurs in CitectSCADA Versions 6.xx as Citect natively installs the user and data directory to 'C:\Documents and Settings\All Users\Application Data\Citect\CitectSCADA\'. To solve this either reinstall CitectSCADA to a short path such as C:\Citect\CitectSCADA' (recommended) and then restore your project; or using Citect Explorer, under 'File', 'Copy Project to...' copy the contents of your project to a new project with a shorter directory path. In the MIB2CIT utility, browse to your Citect.ini (under project) file and select your newly created project. You can now manually load an MIB using the "Add MIB" button. The MIB2CIT utility creates an SNMPVARS.dbf which is located in your new project directory. These tags can then be manually imported back into your main project.  

MIB MIB2CIT windows error SNMPII protocol