Microsoft .NET Framework Error launching program

If you're having trouble using Context Free or don't understand the language, ask for help here.

Moderators: MtnViewJohn, chris, mtnviewmark

Post Reply
cathek88
Posts: 1
Joined: Tue Aug 04, 2009 9:37 am

Microsoft .NET Framework Error launching program

Post by cathek88 »

When launching version 2.2, I immediately get the following error:

Microsoft .NET Framework
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.
Error creating window handle.

The Details button shows the following information:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ComponentModel.Win32Exception: Error creating window handle.
at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.set_DockPanel(DockPanel value)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel, DockState dockState)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel)
at WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel)
at ContextFreeNet.Form1.OpenDoc(String name)
at ContextFreeNet.Form1.Example_Click(Object sender, EventArgs e)
at ContextFreeNet.Form1.Form_Loaded(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(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.3082 (QFE.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ContextFree
Assembly Version: 2.2.3311.40166
Win32 Version: 2, 2, 0, 18
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/ContextFree.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.3053
Win32 Version: 8.00.50727.3053
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
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.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 2.2.3074.17046
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
CFControls
Assembly Version: 1.0.3074.17041
Win32 Version:
CodeBase: file:///C:/Program%20Files/OzoneSoft/ContextFree/CFControls.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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

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.

Can anyone help please?!
Thanks,
Kristine

User avatar
kipling
Posts: 91
Joined: Wed Jun 18, 2008 2:36 am

windows version

Post by kipling »

It looks like an issue with the windows libraries / frameworks not quite matching what the program was compiled against. Which version of windows are you using? There were some problems a while back with CF2.2 and Vista that seemed to be solved by using the standalone version, so maybe you could try that.
If this doesn't work, then you'll probably have to wait - I believe that MVJ is currently having a break.

User avatar
MtnViewJohn
Site Admin
Posts: 882
Joined: Fri May 06, 2005 2:26 pm
Location: Mountain View, California
Contact:

Post by MtnViewJohn »

What happens when you click Continue? Does it run OK after that?

If you go into Preferences and uncheck 'Start Rendering when a document is opened' does the error go away?

Post Reply