Results 1 to 19 of 19

Thread: Strange Error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Strange Error

    I just downloaded the Steam version and I'm getting the following error when try and launch:

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

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at CoreLib.Action_LaunchExecutable..ctor(String arguments)
    at CoreLib.ActionManager.RegisterControl(String name, String type, String arguments)
    at SkinLib.SkinManager.ReskinButton(Control& ctrl)
    at SkinLib.SkinManager.Reskin(Control& ctrl)
    at Launcher.LauncherMainForm.ApplySkin(Object& obj)
    at Launcher.LauncherMainForm.ApplySkin(Object& obj)
    at Launcher.LauncherMainForm.ApplySkins()
    at Launcher.LauncherMainForm.LoadSkins()
    at Launcher.LauncherMainForm.LoadLauncher()
    at Launcher.LauncherMainForm.LauncherMainForm_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Form.OnCreateControl()
    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.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.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Launcher
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/launcher.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    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.4016 (NetFxQFE.050727-4000)
    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.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    CoreLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/CoreLib.DLL
    ----------------------------------------
    SkinLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/SkinLib.DLL
    ----------------------------------------
    AxInterop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/AxInterop.SHDocVw.DLL
    ----------------------------------------
    Interop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/Interop.SHDocVw.DLL
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    UpdateLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///c:/steam/steamapps/common/medieval%20ii%20total%20war/UpdateLib.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Microsoft.DirectX.AudioVideoPlayback
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.DirectX.AudioVideoPlayback/1.0.2902.0__31bf3856ad364e35/Microsoft.DirectX.AudioVideoPlayback.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
    ----------------------------------------

    ************** 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.


    Any suggestions, comments?

  2. #2
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    What version of Windows are you using?

  3. #3

    Default Re: Strange Error

    Vista - SP2

  4. #4
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Have you tried to verify your game cache?

  5. #5

    Default Re: Strange Error

    Yes. However, I think I know what may have happened. When downloading from Steam I believe it was corrupted somehow, eventhough the verified the game cache. When I double checked I found that 25 percent of the file had not downloaded.

    Comcast (or Com-crap) was out for most of the weekend. I'm just now finishing up the downloading. I'll let you know how it goes this week.

  6. #6

    Default Re: Strange Error

    Well, I uninstalled and deleted everything, and reinstalled M2TW. I got it working, but I'm still getting that error message (see above) in the beginning. However, I press continue and the game starts. I have not reinstalled Kingdoms - I'm afraid.

    What do you think, should I reinstall Kingdoms?

  7. #7
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Vista - dumb question, maybe not so dumb, are you logged in as Administrator and the UAC disabled?

    Have you tried installing http://www.microsoft.com/downloads/e...displaylang=en and http://www.microsoft.com/net/Download.aspx with UAC disabled?

  8. #8

    Default Re: Strange Error

    I have the UAC disabled.

  9. #9

    Default Re: Strange Error

    You're right, I forgot about the net framework. I'll let you know.

  10. #10

    Default Re: Strange Error

    I downloaded and installed Framwork 4, but it still gives me the error message. Not sure how to proceed now.

  11. #11
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Did you install the direct link I posted? There could be someting missing.

  12. #12

    Default Re: Strange Error

    That could be it. Could you tell me how to do it again? Sorry, brain freeze.

  13. #13

    Default Re: Strange Error

    Yes. I did install the direct x link, is that what you meant?

  14. #14
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Yeah, that's what I meant.

    Have you tried setting Medieval2 icon to Run as Administrator and XP Compatible?

  15. #15

    Default Re: Strange Error

    Yes. I get the same error.

  16. #16
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Maybe it's time for a clean uninstall/reinstall of the game. Maybe try to verify your game cache first.

  17. #17

    Default Re: Strange Error

    Sure. Maybe the 3rd time will be the charm.

  18. #18

    Default Re: Strange Error

    Well, I uninstalled and reinstalled M2TW and Kingdoms, but I'm still getting that launch error message. However, I can play it, but the last time I tried to install a mod it totally CTD'd.

    I'm going to try and install Stainless Steel. If it crashes this time I think I'm going to give up.

  19. #19
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Strange Error

    Good luck.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •