のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

DataSource のプロパティまたは列 AppLocation にバインドできません。 パラメータ名: dataMember

アプリケーションのコンポーネントで、バンドルされていない例外が発生しました。

DataSourceのプロパティまたは列AppLocationにバインドできません。<==結局AppLocationがないのが問題であった。

パラメータ名:dataMember

Just-In-Time (JIT) デバッグを呼び出すための詳細については、
ダイアログ ボックスではなく、このメッセージの最後を参照してください。

========== 例外テキスト **************
System.ArgumentException: DataSource のプロパティまたは列 AppLocation にバインドできません。
パラメータ名: dataMember
場所 System.Windows.Forms.BindToObject.CheckBinding()
場所 System.Windows.Forms.BindToObject.SetBindingManagerBase(BindingManagerBase lManager)
場所 System.Windows.Forms.Binding.SetListManager(BindingManagerBase bindingManagerBase)
場所 System.Windows.Forms.ListManagerBindingsCollection.AddCore(Binding dataBinding)
場所 System.Windows.Forms.BindingsCollection.Add(Binding binding)
場所 System.Windows.Forms.BindingContext.UpdateBinding(BindingContext newBindingContext, Binding binding)
場所 System.Windows.Forms.Control.UpdateBindings()
場所 System.Windows.Forms.Control.OnBindingContextChanged(EventArgs e)
場所 System.Windows.Forms.Control.set_BindingContextInternal(BindingContext value)
場所 System.Windows.Forms.ContainerControl.set_BindingContext(BindingContext value)
場所 System.Windows.Forms.ContainerControl.get_BindingContext()
場所 System.Windows.Forms.Control.get_BindingContextInternal()
場所 System.Windows.Forms.Control.get_BindingContext()
場所 System.Windows.Forms.Control.get_BindingContextInternal()
場所 System.Windows.Forms.Control.get_BindingContext()
場所 System.Windows.Forms.Control.get_BindingContextInternal()
場所 System.Windows.Forms.ContainerControl.get_BindingContext()
場所 System.Windows.Forms.Control.UpdateBindings()
場所 System.Windows.Forms.Control.OnBindingContextChanged(EventArgs e)
場所 System.Windows.Forms.ContainerControl.OnCreateControl()
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
場所 System.Windows.Forms.Control.CreateControl()
場所 System.Windows.Forms.Control.WmShowWindow(Message& m)
場所 System.Windows.Forms.Control.WndProc(Message& m)
場所 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
場所 System.Windows.Forms.ContainerControl.WndProc(Message& m)
場所 System.Windows.Forms.Form.WmShowWindow(Message& m)
場所 System.Windows.Forms.Form.WndProc(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


========== 読み込まれたアセンブリ **************
mscorlib
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

                                                                              • -

myApp2
アセンブリ バージョン: 2.0.1.0
Win32 バージョン: 2.0.1.0
コードベース: file:///D:/Users/user01/myApp2.exe

                                                                              • -

System.Windows.Forms
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

                                                                              • -

System
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

                                                                              • -

System.Drawing
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

                                                                              • -

System.Windows.Forms.resources
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ja_b77a5c561934e089/System.Windows.Forms.resources.dll

                                                                              • -

Accessibility
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

                                                                              • -

System.Configuration
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

                                                                              • -

System.Xml
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

                                                                              • -

mscorlib.resources
アセンブリ バージョン: 2.0.0.0
Win32 バージョン: 2.0.50727.4927 (NetFXspW7.050727-4900)
コードベース: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

                                                                              • -

========== JIT デバッグ **************
Just-In-Time (JIT) デバッグを有効にするには、このアプリケーション、
またはコンピュータ (machine.config) の構成ファイルの jitDebugging
値を system.windows.forms セクションで設定しなければなりません。
アプリケーションはまた、デバッグを有効にしてコンパイルされなければ
なりません。

例:



JIT デバッグが有効なときは、このダイアログ ボックスで処理するよりも、
ハンドルされていない例外はすべてコンピュータに登録された
JIT デバッガに設定されなければなりません。