January 2, 2013

Civil 3D Pipe Network Error: Script Control (msscript.ocx)

One of our customers here at Ideate ran into the MSScript.ocx error recently and was able to find a forum post with a reported solution to try before reformatting. Check it out here:


Thanks to Justin Zampardi from Mead & Hunt for providing us with the info!

Recently, while teaching a class for one of our customers I noticed that my Pipe Network commands in Civil 3D were not working (both 2012 and 2013). When I attempted to create a Pipe Network both from an object and using the Network Layout Tools, I received the same repetitive error at the command line.

The error said:

ERROR: Calculation Failed with Part Table AeccCircularConcretePipe_Imperial There is a problem with the Script Control (msscript.ocx). This problem may be corrected by reinstalling Internet Explorer or by reregistering the control.

After doing some research on the issue and contacting Autodesk, I was informed that the issue was Microsoft related, and could possibly be fixed through this process:

First, install the script control from: http://support.microsoft.com/kb/184739

Also, the version of Internet Explorer (IE) 7, IE8, and IE9 may be preventing it from operating, so try to uninstall it and reinstall it. 

Once that is complete, do the following:
  1. Go to Start All Programs Accessories.
  2. Right-click Command Prompt and choose “Run as administrator.”
  3. Enter the command:
    Regsvr32 C:\Windows\SysWOW64\msscript.ocx
    (Copy/Paste by right-clicking in the command prompt window to do the paste)
  4. Click OK on the message that says the file registration succeeded.
  5. On the keyboard, hold down the WINDOWS key and then hit R.
  6. In the Run window, type REGEDIT and then click OK.
  7. Find the following folder:
  8. Right-click the win32 folder and choose “Permissions.”
  9. Make sure the administrator group has full control.
  10. With the win32 folder selected, make sure the (Default) key at the right is set to the following path with no quotes around it: C:\Windows\SysWOW64\msscript.ocx
  11. Close the Registry Editor.
After attempting the instructions above, as well as doing a clean reinstall of Autodesk products, nothing resolved the issue. Unfortunately for me, in some extreme cases (which this happened to be) a complete reformat of the OS is required in order to fix the issue with the .OCX file. 

After reformatting and reinstalling everything, I can gladly report that Civil 3D is back up and running with the issue resolved.

I hope you’ll never run into this error, but if you do, those are your options.

Matt Miyamoto, P.E.
Ideate AEC Application Specialist

Matt is a licensed Civil Engineer in the state of Hawaii. Matt obtained a BS in Mechanical Engineering from the University of Hawaii at Manoa, and has 7 years of private sector design experience which he applies in his role as an application specialist with Ideate, Inc. His project experience includes residential and commercial site development, private and public sewer, water and drainage systems, harbors improvements, and roadway improvements. While in Hawaii, Matt was involved in multidisciplinary projects for City and County agencies, State Departments, the Army COE and private developers. @MattM_PE

Get it. Know it. Use it.