mjbWorld - Troubleshooting - .Net version

Installer Troubleshooting

  1. The setup requires the .NET Framework. Please install the .NET Framework and run this setup again.

Errors When Running Program

  1. The application failed to initialize properly (0xc0000135).
  2. A required .DLL file, MSCOREE.DLL. was not found
  3. System.IO.FileNotFoundExeption
  4. Unable To Locate DLL
  5. Cannot invoke method 'SceneGraphBegin' at this time
  6. Class not Registered
  7. assembly name mjboglLib
  8. assembly name AxmjboglLib, or one of its dependencies, was not found.

Installer Troubleshooting

The setup requires the .NET Framework. Please install the .NET Framework and run this setup again.

Applications written for the .NET Framework require the .NET Framework to be installed on the computer where the application or control runs. The .NET Framework redistributable package is available as a stand-alone executable file, Dotnetfx.exe. You can download this from Microsoft at:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml


Errors When Running Program

"The application failed to initialize properly (0xc0000135)."

seen on Windows XP

"The application failed to initialize properly (0xc0000135). Click on OK to terminate the application"

Applications written for the .NET Framework require the .NET Framework to be installed on the computer where the application or control runs. The .NET Framework redistributable package is available as a stand-alone executable file, Dotnetfx.exe. You can download this from Microsoft at:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml


A required .DLL file, MSCOREE.DLL. was not found

seen on Windows 98

"A required .DLL file, MSCOREE.DLL. was not found"

Applications written for the .NET Framework require the .NET Framework to be installed on the computer where the application or control runs. The .NET Framework redistributable package is available as a stand-alone executable file, Dotnetfx.exe. You can download this from Microsoft at:

http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/829/msdncompositedoc.xml


'System.IO.FileNotFoundExeption'

An exception 'System.IO.FileNotFoundExeption' has occured in mjbWorld.exe.

This happens, when starting mjbWorld, when it does not have the associated files (mjboglLib.dll and AxmjboglLib.dll also the mjbModel and bar_image directories) in the same directory.

If you are runnung from the DOS window you must be attached to the local directory, for example the following causes an error:

C:\>mjbworld\net\mjbworld.exe

Unhandled Exception: System.IO.FileNotFoundException: mjbModel\icons\i_SGObject.bmp
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at System.Drawing.Image.FromFile(String filename)
at nodeBean.initialiseStaticValues()
at nodeBean..ctor()
at sceneBean..ctor()
at mjbModel..ctor()
at mjbFrame..ctor()
at main()

Wheras the following works correctly:

C:\>cd mjbworld\net

C:\mjbworld\net>mjbworld

If you run the program by double clicking on it (or by using start -> run -> mjbworld\net\mjbworld.exe) this will happen automatically and the program will start correctly.


'Unable To Locate DLL'

The required DLLs are included with the program and must be in the same directory as mjbWorld.exe. Please check that you have not moved any of these files.

 

mjbWorld.exe - Unable To Locate DLL

The dynamic link library MSVCR70.dll could not be found in the specified path


'Cannot invoke method 'SceneGraphBegin' at this time'

When mjbWorld is first run and the 3D window is first opened. The program tries to install the ActiveX component, if the mjbogl.dll program is not present then this cannot happen and so the 3D window will not work.

frame3d::OnResize Cannot invoke method 'SceneGraphBegin' at this time.

This happens when the ActiveX component has not been installed. Then you continue and use the 3D window anyway, you will then get this message.

frame3d::OnResize Cannot invoke method 'SceneGraphBegin' at this time.
frameLayout::setLayout(1) System.DllNotFoundException: Unable to load DLL (mjbogl.DLL).
at DllRegisterServer()
at frameLayout.setLayout(Int32 layout)

'Class not Registered'

Happens when 3D window opened and program tries to use the ActiveX component. If you get this message you could try installing the Activex component manually by opening the 'global view' (under views in the menu). then click on the 'register' button.

Class not Registered

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
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.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.0
CodeBase: file:///c:/winnt/microsoft.net/framework/v1.0.3705/mscorlib.dll
----------------------------------------
mjbWorld
Assembly Version: 0.0.0.0
Win32 Version:
CodeBase: file:///C:/mjbworld/net/mjbWorld.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.0
CodeBase: file:///c:/winnt/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
System
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.0
CodeBase: file:///c:/winnt/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.3300.0
Win32 Version: 1.0.3705.0
CodeBase: file:///c:/winnt/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
AxmjboglLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/mjbworld/net/AxmjboglLib.DLL
----------------------------------------
mjboglLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/mjbworld/net/mjboglLib.DLL
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (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 machine
rather than being handled by this dialog.

 


'assembly name mjboglLib'

Happens when program started

frame3d::OnResize System.IO.FileNotFoundException: File or assembly name mjboglL
ib, or one of its dependencies, was not found.
File name: "mjboglLib"
at AxmjboglLib.AxmjboglCtl.SceneGraphBegin()
at frame3d.OnResize(EventArgs e)

Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = mjboglLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=n
ull
(Fully-specified)
LOG: Appbase = C:\mjbworld\net\
LOG: Initial PrivatePath = NULL
Calling assembly : AxmjboglLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken
=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Post-policy reference: mjboglLib, Version=1.0.0.0, Culture=neutral, PublicK
eyToken=null
LOG: Attempting download of new URL file:///C:/mjbworld/net/mjboglLib.DLL.
LOG: Attempting download of new URL file:///C:/mjbworld/net/mjboglLib/mjboglLib.
DLL.
LOG: Attempting download of new URL file:///C:/mjbworld/net/mjboglLib.EXE.
LOG: Attempting download of new URL file:///C:/mjbworld/net/mjboglLib/mjboglLib.
EXE.


'assembly name AxmjboglLib, or one of its dependencies, was not found.'

Happens when 3D winsow opened

frameLayout::setLayout(1) System.IO.FileNotFoundException: File or assembly name
AxmjboglLib, or one of its dependencies, was not found.
File name: "AxmjboglLib"
at frame3d..ctor(mjbFrame f1)
at frameLayout.setLayout(Int32 layout)

Fusion log follows:
=== Pre-bind state information ===
LOG: DisplayName = AxmjboglLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken
=null
(Fully-specified)
LOG: Appbase = C:\mjbworld\net\
LOG: Initial PrivatePath = NULL
Calling assembly : mjbWorld, Version=0.0.0.0, Culture=neutral, PublicKeyToken=nu
ll.
===

LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Post-policy reference: AxmjboglLib, Version=1.0.0.0, Culture=neutral, Publi
cKeyToken=null
LOG: Attempting download of new URL file:///C:/mjbworld/net/AxmjboglLib.DLL.
LOG: Attempting download of new URL file:///C:/mjbworld/net/AxmjboglLib/Axmjbogl
Lib.DLL.
LOG: Attempting download of new URL file:///C:/mjbworld/net/AxmjboglLib.EXE.
LOG: Attempting download of new URL file:///C:/mjbworld/net/AxmjboglLib/Axmjbogl
Lib.EXE.


 


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover This explains how to program using the managed extensions to C++.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to this site, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

cover Visual C++ .NET for Microsoft Platforms only.

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2017 Martin John Baker - All rights reserved - privacy policy.