Results 1 to 1 of 1

Thread: Unhandled Exception?

Hybrid View

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

    Default Unhandled Exception?

    So, one particular day (that day being yesterday), I had a sudden urge to play Medieval II: Total War.

    So, I'm happily strolling to my laptop

    I start the application and....

    Scary looking window pops up ("Oh Noez!" I thought)

    It says:

    An Unhandled Exception has occured in your application.
    It then offers me to continue despite this warning.

    Stuff under the details page goes as follows:

    Spoiler Alert, click show to read: 
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.IO.FileNotFoundException: File or assembly name Microsoft.DirectX, or one of its dependencies, was not found.
    File name: "Microsoft.DirectX"
    at Microsoft.DirectX.AudioVideoPlayback.Audio..ctor(String fileName, Boolean autoRun)
    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.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)
    === Pre-bind state information ===
    LOG: DisplayName = Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    (Fully-specified)
    LOG: Appbase = C:\Program Files (x86)\SEGA\Medieval II Total War\
    LOG: Initial PrivatePath = NULL
    Calling assembly : Microsoft.DirectX.AudioVideoPlayback, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.
    ===
    LOG: Publisher policy file is not found.
    LOG: Host configuration file not found.
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
    LOG: Post-policy reference: Microsoft.DirectX, Version=1.0.2902.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/SEGA/Medieval II Total War/Microsoft.DirectX.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/SEGA/Medieval II Total War/Microsoft.DirectX/Microsoft.DirectX.DLL.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/SEGA/Medieval II Total War/Microsoft.DirectX.EXE.
    LOG: Attempting download of new URL file:///C:/Program Files (x86)/SEGA/Medieval II Total War/Microsoft.DirectX/Microsoft.DirectX.EXE.

    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2407
    CodeBase: file:///c:/windows/microsoft.net/fra...2/mscorlib.dll
    ----------------------------------------
    Launcher
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///C:/Program%20Files%20(x86)/S...r/Launcher.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/syst...dows.forms.dll
    ----------------------------------------
    System
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2407
    CodeBase: file:///c:/windows/assembly/gac/syst...089/system.dll
    ----------------------------------------
    CoreLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///C:/Program%20Files%20(x86)/S...ar/CoreLib.DLL
    ----------------------------------------
    System.Drawing
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/syst...em.drawing.dll
    ----------------------------------------
    SkinLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///C:/Program%20Files%20(x86)/S...ar/SkinLib.DLL
    ----------------------------------------
    AxInterop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/S...op.SHDocVw.DLL
    ----------------------------------------
    Interop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/S...op.SHDocVw.DLL
    ----------------------------------------
    Accessibility
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/acce...essibility.dll
    ----------------------------------------
    UpdateLib
    Assembly Version: 1.0.2669.20298
    Win32 Version: 1.0.2669.20298
    CodeBase: file:///C:/Program%20Files%20(x86)/S.../UpdateLib.DLL
    ----------------------------------------
    System.Xml
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.2032
    CodeBase: file:///c:/windows/assembly/gac/syst...system.xml.dll
    ----------------------------------------
    Microsoft.DirectX.AudioVideoPlayback
    Assembly Version: 1.0.2902.0
    Win32 Version: 5.04.00.2904
    CodeBase: file:///c:/windows/assembly/gac/micr...eoplayback.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.



    Can anyone help me with this? :hmmm:

    Oh yes and, this is the Vanilla version.

    Edit: Ah, after reinstalling the game a couple of times, I finally got it to work...well this must be the shortest thread ever
    Last edited by Sir Andrew the Mighty Peasant; August 02, 2008 at 05:18 PM. Reason: Problem fixed

Posting Permissions

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