atcomsystems.ca/forum
Posted By: ladynole97 System Programmer New Site Error - 06/04/12 11:15 AM
Hello Everyone,
I had to re-install System Programmer from an XP machine to a Win 7. The installation seems to go well until I try to add a "New site", then an error window pops up with the following "Unhandled exception has occurred in your application. If you click Continue, the app. will ignore this error and attempt to continue. If you click Quit, the app. will close immediately."

"Class not registered (Exception from HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))

Any idea what to do next? :idea:
Posted By: nonameyet Re: System Programmer New Site Error - 06/04/12 03:05 PM
try turning off DEP on the win 7 , that works.
Posted By: ladynole97 Re: System Programmer New Site Error - 06/05/12 06:35 AM
Thanks Brian,
I tried that, but windows 7 wont let me add the "ESI main.exe" file. From memory here....it says something like the program must have DEP.
Posted By: nonameyet Re: System Programmer New Site Error - 06/05/12 02:53 PM
That makes no sense, I usually make a new folder and put the programmer in it, then unzip the installer file to that folder and run it from there. But, I have noticed that you do have to disable the dep ( run a cmd prompt as administrator)
Posted By: ladynole97 Re: System Programmer New Site Error - 09/20/12 02:20 PM
So I have been away from the office and thought that ignoring it would fix the issue...but to my (insert sarcasm here) astonishment it has not!

To recap:
I had to install system programmer on new Win 7 pc, when trying to connect new site this error appears:
"Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_R_CLASSNOTREG)).

In details: See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Esi.Communication.CommunicationAdapter.InitializeComponent()
at Esi.Communication.CommunicationAdapter..ctor(String workDirectryPath)
at Esi.Communication.CommunicationAdapter.GetInstance()
at Esi.View.Dialogs.SitePropertiesDialog..ctor(Site site, Boolean newSite)
at Esi.Control.SiteAgent.ExecuteShowPropertiesAction()
at Esi.Control.FolderAgent.CreateNewSite(String name)
at Esi.View.Browser.TreeViewContextMenuStrip_ItemClicked(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
EsiMain
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiMain.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
EsiControllerLibrary
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiControllerLibrary.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
EsiViewLibrary
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiViewLibrary.DLL
----------------------------------------
MessageBoxExLib
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/MessageBoxExLib.DLL
----------------------------------------
EsiCommon
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiCommon.DLL
----------------------------------------
EsiModelLibrary
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiModelLibrary.DLL
----------------------------------------
EsiCommunicationLibrary
Assembly Version: 1.2.7.0
Win32 Version: 1.2.7.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/EsiCommunicationLibrary.DLL
----------------------------------------
Interop.ESITAPILib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/Interop.ESITAPILib.DLL
----------------------------------------
AxInterop.ESICOMMLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ESI/ESI%20System%20Programmer/AxInterop.ESICOMMLib.DLL
----------------------------------------
Microsoft.mshtml
Assembly Version: 7.0.3300.0
Win32 Version: 7.0.3300.0
CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I have tried to disable DEP first via the control panel, whereby the system told me that the the ESImain.exe "NEEDED" to have this on and would not allow me to disable.

Then I researched further and disabled via CMD prompt as Brian suggested, nothing changed, still getting same error and not able to program my site.

I am able to install the system admin program, but I loose alot of functionality in regards to programming and that causes issues with my executive suite tenants when they need to fix or change something.

I am happy to pay a consulting fee if this is a hard problem to resolve, and either way am VERY grateful for the help!
Posted By: nonameyet Re: System Programmer New Site Error - 09/21/12 07:23 PM
which version are you trying to install?

The Latest is 1.2.14.17

I would Uninstall it, and try again. Using the Latest Version.
I have installed it on many Customer's PC's running Win7.
Posted By: Rcaman Re: System Programmer New Site Error - 09/21/12 08:56 PM
First, uninstall the program. Make sure your .NetFramework is at least updated to version 3.5. If you have installed all the updates, you should have version 4.0 installed. Re-install System Programmer. Make sure ESI is in the User, Roaming Appdata of the Admin user of the computer. Also, if you are using a 64 bit machine, make sure you have Compatibility set to yes in Admin.

Rcaman
Posted By: LaTuFu Re: System Programmer New Site Error - 09/28/12 02:41 PM
I'm with nonameyet, make sure you have the most recent version.

All of our PCs we use to run system programmer are Win7, and have not had issues installing the latest versions. We did have issues a while back with earlier versions.
© Sundance Business VOIP Telephone Help