none
Creating an instance of the COM component with CLSID { ... } from the iClass Factory failed

    Question

  • Hi,

       I am trying to develop a module in Neverwinter Nights 2.  I am running Windows 7 RC with DirectX 11.  Originally I had a problem with the Terrain Menu.  It was displayed improperly ( the text was garbled by overlapping ).  I found the solution was to open the properties window of NWN2ToolsetLauncher file and select "Disable visual themes".  After doing so, the Terrain Menus displayed properly, but I can no longer open or save modules and get above mentioned error.  Can anyone help resolve and report this so it can either be fixed or easier to find for others with this problem?  Below you will see the full details if it helps anyone.

    Thanks.
    Kalentalis

    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.

     

    Creating an instance of the COM component with CLSID {C0B4E2F3-BA21-4773-IDBA-335EC946E88I} from the iClass Factory failed due to the following error: 80040111.

     

     

    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 (0x80040111): Creating an instance of the COM component with CLSID {C0B4E2F3-BA21-4773-8DBA-335EC946EB8B} from the IClassFactory failed due to the following error: 80040111.

       at System.Windows.Forms.SaveFileDialog.CreateVistaDialog()

       at System.Windows.Forms.FileDialog.RunDialogVista(IntPtr hWndOwner)

       at System.Windows.Forms.FileDialog.RunDialog(IntPtr hWndOwner)

       at System.Windows.Forms.CommonDialog.ShowDialog(IWin32Window owner)

       at System.Windows.Forms.CommonDialog.ShowDialog()

       at NWN2Toolset.NWN2ToolsetMainForm.()

       at NWN2Toolset.NWN2ToolsetMainForm.(Object , EventArgs )

       at TD.SandBar.ToolbarItemBase.OnActivate()

       at TD.SandBar.ButtonItemBase.OnActivate()

       at TD.SandBar.

    .(TopLevelMenuItemBase , Boolean , Boolean , Point )

       at TD.SandBar.TopLevelMenuItemBase.Show(Boolean select)

       at TD.SandBar.TopLevelMenuItemBase.Show()

       at TD.SandBar.ToolBar.OnItemPush(ToolbarItemBase item, Point position)

       at TD.SandBar.ToolBar.OnMouseDown(MouseEventArgs e)

       at TD.SandBar.MenuBar.OnMouseDown(MouseEventArgs e)

       at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)

       at System.Windows.Forms.Control.WndProc(Message& m)

       at TD.SandBar.ToolBar.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.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

    ----------------------------------------

    NWN2ToolsetLauncher

        Assembly Version: 1.0.3344.32967

        Win32 Version: 1.022

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2ToolsetLauncher.exe

    ----------------------------------------

    msvcm80

        Assembly Version: 8.0.50727.4918

        Win32 Version: 8.00.50727.4918

        CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4918_none_d089094c442eb5ff/msvcm80.dll

    ----------------------------------------

    System.Windows.Forms

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        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.4918 (NetFXspW7.050727-4900)

        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.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

    ----------------------------------------

    NWN2Toolset

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.0.1588.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset.DLL

    ----------------------------------------

    OEIShared

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.0.1588.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/OEIShared.DLL

    ----------------------------------------

    DotNetMagic2005

        Assembly Version: 5.0.1.0

        Win32 Version: 5.0.1.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/DotNetMagic2005.DLL

    ----------------------------------------

    SandBar

        Assembly Version: 1.3.4.1

        Win32 Version: 1.3.4.1

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/SandBar.DLL

    ----------------------------------------

    OEILocalization

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/OEILocalization.DLL

    ----------------------------------------

    Sano.PersonalProjects.ColorPicker.Controls

        Assembly Version: 0.1.1.0

        Win32 Version: 0.1.1.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/Sano.PersonalProjects.ColorPicker.Controls.DLL

    ----------------------------------------

    ManagedResourceInterface

        Assembly Version: 1.0.3344.32678

        Win32 Version: 1.022

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/ManagedResourceInterface.DLL

    ----------------------------------------

    Microsoft.DirectX

        Assembly Version: 1.0.2902.0

        Win32 Version: 5.04.00.2904

        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.dll

    ----------------------------------------

    managednwscript

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.022

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/managednwscript.DLL

    ----------------------------------------

    ManagedElectron

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.022

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/ManagedElectron.DLL

    ----------------------------------------

    SharpZipLib

        Assembly Version: 0.84.0.0

        Win32 Version: 0.84.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/SharpZipLib.DLL

    ----------------------------------------

    Microsoft.DirectX.DirectInput

        Assembly Version: 1.0.2902.0

        Win32 Version: 5.04.00.2904

        CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.DirectInput/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.DirectInput.dll

    ----------------------------------------

    Microsoft.VisualC

        Assembly Version: 8.0.0.0

        Win32 Version: 8.00.50727.4918

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll

    ----------------------------------------

    GlacialTreeList

        Assembly Version: 2.3.2.0

        Win32 Version: 2.3.2.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/GlacialTreeList.DLL

    ----------------------------------------

    XPExplorerBar

        Assembly Version: 3.3.0.0

        Win32 Version: 3.3.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/XPExplorerBar.DLL

    ----------------------------------------

    SmartPropertyGrid

        Assembly Version: 1.1.0.30

        Win32 Version: 1.1.0.30

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/SmartPropertyGrid.DLL

    ----------------------------------------

    System.Xml

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

    ----------------------------------------

    System.Configuration

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

    ----------------------------------------

    rlykwv3u

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    a_neeky-

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    il1bx-t4

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    y7dk_xcl

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    i1fjukni

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    cfegtaye

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    ee3qx4s7

        Assembly Version: 1.0.1588.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    AnimationViewer

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/AnimationViewer.dll

    ----------------------------------------

    CampaignEditorPlugin

        Assembly Version: 1.0.3344.32893

        Win32 Version: 1.0.3344.32893

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/CampaignEditorPlugin.dll

    ----------------------------------------

    CommunityPlugin

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/CommunityPlugin.dll

    ----------------------------------------

    DefaultVerifier

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.0.1588.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/DefaultVerifier.dll

    ----------------------------------------

    ERFEditorPlugin

        Assembly Version: 1.0.3344.32848

        Win32 Version: 1.0.3344.32848

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/ERFEditorPlugin.dll

    ----------------------------------------

    ModelViewer

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.0.1588.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/ModelViewer.dll

    ----------------------------------------

    SoundSetEditorPlugin

        Assembly Version: 1.0.3344.32929

        Win32 Version: 1.0.3344.32929

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/SoundSetEditorPlugin.dll

    ----------------------------------------

    UniversalBlueprintChanger

        Assembly Version: 1.0.0.0

        Win32 Version: 1.0.0.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/UniversalBlueprintChanger.dll

    ----------------------------------------

    VFXEditorPlugin

        Assembly Version: 1.0.1588.0

        Win32 Version: 1.0.1588.0

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/VFXEditorPlugin.dll

    ----------------------------------------

    WorldMapEditorPlugin

        Assembly Version: 1.0.3344.32868

        Win32 Version: 1.0.3344.32868

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2Toolset/Plugins/WorldMapEditorPlugin.dll

    ----------------------------------------

    QWhale.Editor

        Assembly Version: 1.3.3344.32650

        Win32 Version: 1.3.3344.32650

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/QWhale.Editor.DLL

    ----------------------------------------

    QWhale.Syntax

        Assembly Version: 1.3.3344.32643

        Win32 Version: 1.3.3344.32643

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/QWhale.Syntax.DLL

    ----------------------------------------

    QWhale.Common

        Assembly Version: 1.3.3344.32636

        Win32 Version: 1.3.3344.32636

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/QWhale.Common.DLL

    ----------------------------------------

    qizedpe7

        Assembly Version: 1.3.3344.32650

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

    ----------------------------------------

    IRenderer

        Assembly Version: 1.0.3344.32652

        Win32 Version: 1.0.3344.32652

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/IRenderer.DLL

    ----------------------------------------

    NWN2ToolsetRenderer

        Assembly Version: 0.0.0.0

        Win32 Version: 1.022

        CodeBase: file:///C:/Program%20Files%20(x86)/Atari/Neverwinter%20Nights%202/NWN2ToolsetRenderer.DLL

    ----------------------------------------

    System.Design

        Assembly Version: 2.0.0.0

        Win32 Version: 2.0.50727.4918 (NetFXspW7.050727-4900)

        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

    ----------------------------------------

     

    • Edited by Kalentalis Sunday, May 31, 2009 12:32 AM
    Saturday, May 30, 2009 5:23 PM

Answers