MSDN > フォーラム ホーム > Visual Studio Debugger > Error: An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)
質問する質問する
 

全般的な情報交換Error: An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)

  • 2009年7月2日 14:47Jeremy Hutchinson ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    This is probably a longshot, and feel free to direct me elsewhere, but I only getting this error while in debugging so...

    I've taken the WPF MVVM Demo App from the February MSDN Magazine and added a second combobox to the Customer.xaml.  When I launch the app, create a new customer (creates a new tab to enter customer data on) and select something from one of the ComboBoxes, then click to create another new customer I get this error.

    It's a Com error, and there is no Inner Exception.  It lists it's source as mscorlib.  There is no unmanaged in the project.  The only references in the app are:
    PresentationCore
    PresentationFramework
    System
    System.Core
    System.Data
    System.Data.DataSetExtensions
    System.XML
    System.XML.Linq
    UIAutomationProvider
    WindowsBase

    That and the fact that if I run the app outside of VS2008 I don't the error makes me think that the problem is some unmanaged code in the VS2008 debugger.

    One more thing, if I replace those ComboBoxes with Infragistics ComboBoxes, I don't get the error.

    Any hints would be appreciated.

すべての返信

  • 2009年7月3日 7:57Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hello Jeremy,

    Could you please tell us the version of your Visual Studio?

    Do you encounter the issue described here: http://support.microsoft.com/kb/926997/en-us? There's a hotfix for that.

    Best regards,

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • 2009年7月9日 1:58Roahn LuoMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hi,

    We are changing the issue type to General Discussion because you have not followed up with the necessary information.

    If you have more time to look at the issue and provide more information, please feel free to change the issue type back to Question by opening the Options list at the top of the post editor window, and changing the type.

    If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Best regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback, please tell us.
    Welcome to the All-In-One Code Framework!
  • 2009年8月3日 23:05Tomislav Tustonic ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hello, Jeremy

    Perhaps this:http://social.msdn.microsoft.com/Forums/en-US/vsdebug/thread/dc38bf5a-eca8-415c-a162-d6be3158fc5b
    might help

    Cheers, Tom
  • 2009年9月8日 22:01Pieter Breed ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Hi,

    I am having this same issue on my machine. win7, x64, Visual Studio 2008 SP1. I encountered it in my own application and I'm not sure I will be able to provide steps to replicate. It happens only when the VS debugger is attached. I don't have KB971092 installed, so I can't uninstall it like the other poster suggested.

    Regards,
    Pieter Breed