いつもお世話になります。
セットアップウィザードからセットアップ用に
setup.msiを作成したのですが実行時にエラーが起きます。
Spreadが悪いのか分かりませんが
Spreadを使ってないアプリケーションは作動します。
エラーになるアプリケーションは、
1つは検索時に
「エラー番号91 AP名 でエラーが発生しました
Object reference not set an instance of an object」
というエラーが出ます。
もう1つは起動時に
「An unhandled exception has occurred in your application」
そこでDetailsというボタンがあって押下時に
「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 System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(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)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
」
など表示されます。
一体何が原因なのでしょうか?
ご教示願います。
どうにか解決しました。
板を荒らしたような感じになって申し訳ありませんでした。
ツイート | ![]() |