If receive message: "Attempted an unsupported operation" in Database Editor

Frequently asked questions - and answers!
Post Reply
User avatar
jovivier
Site Admin
Posts: 919
Joined: Thu Mar 12, 2009 2:57 pm
Company: Lincoln Agritech Ltd, IRRICAD Software
City / Town: Lincoln
Location: Canterbury, New Zealand
Contact:

If receive message: "Attempted an unsupported operation" in Database Editor

Post by jovivier »

If you receive a message that says "Attempted an unsupported operation" when running the Database Editor this is caused by the
TeeChart8.ocx control either missing or not being registered on your computer for the new installation or upgrade.
This will affect the Hydraulic Gradeline tool in IRRICAD and the Curve Fit utility in the Database Editor.

1. First check that the TeeChart file is present in your installed IRRICAD folder, commonly located at C:\Program Files (x86)\AEI Software\Irricad Pro xx, or for V17 and later could be located at C:\Program Files (x86)\Irricad\Irricad Pro xx, or for IRRICAD Link in C:\Program Files\Irricad\Irricad Link xxxCAD\Database.
If the ocx file is not present you should find it in your anti-virus quarantine where it can usually be restored from and an exclusion/exception set in your anti-virus for this file. If you cannot restore it download the file from http://www.irricad.com/irricad/download ... Chart8.zip, save the zip file to your hard-drive, and unzip the contents into your installed Irricad Pro folder.


2. If the TeeChart file is present in the Irricad folder then the cause is that it did not register on your computer upon installation. Reasons for this could be limited privileges when installing IRRICAD or another program interfering during the installation. (It is always a good idea to turn off other programs and even your anti-virus software during the installation process).

You can register this file manually.

For IRRICAD Standalone
a. Log in as Administrator.
b. Run a Command Prompt by searching for cmd and then right-click on cmd.exe and select Run as Administrator.
A DOS window will open up.
c. Now type in cd C:\ <enter>
cd program files (x86) <enter>
(note if your computer is 32 bit type "cd program files"
cd aei software <enter>
cd Irricad Pro 16<enter>
(note type in the correct Irricad folder path name for where your Pro version is install - it may not be Pro 16 or AEI Software)
regsvr32 TeeChart8.ocx<enter>

It should tell you that TeeChart8.ocx is now registered successfully. This will also fix the Hydraulic Gradeline Issue.

For IRRICAD Link
a. Log in as Administrator.
b. Run a Command Prompt by searching for cmd and then right-click on cmd.exe and select Run as Administrator.
A DOS window will open up.
c. Now type in cd C:\ <enter>
cd program files <enter>
cd irricad <enter>
cd Irricad Link xxxCAD<enter> - enter the correct CAD platform - i.e. AutoCAD or BricsCAD
(note type in the correct Irricad folder path name for where your Link version is installed)
cd database <enter>
regsvr32 TeeChart8.ocx<enter>

It should tell you that TeeChart8.ocx is now registered successfully. This will not fix the Hydraulic Gradeline issue as this uses TeeChart201664.ocx. See our forum post http://www.irricad.com/phpbb3/viewtopic ... =666#p1552 for steps on how to fix this.
Post Reply