VB.net 应用程序崩溃,没有特定错误

发布于 2024-09-27 21:34:55 字数 806 浏览 0 评论 0原文

我在 VB.Net 2010 中开发了一个应用程序。它在我的笔记本电脑上运行良好。 现在,当我在另一台电脑上运行它时,它会崩溃并给出如下 Windows 错误。

应用程序:CalllinkMig.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程被终止。 异常信息:System.InvalidOperationException 堆: 在 Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() 在 Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[]) 在 CalllinkMig.My.MyApplication.Main(System.String[])

与此一起。

事件类型 clr20r3、P1 callinkmig.exe、P2 1.0.0.0、P3 4cb8209c、P4 mscorlib、P5 4.0.0.0、P6 4ba1da6f、P7 105d、P8 1c、P9 system.invalidoperationexception、P10 NIL。

此应用程序需要 .Net Framework 4 和Oracle 9 ODBC 驱动程序,我安装在新 PC 上。

我无法弄清楚到底是什么问题,但它似乎与 .Net 框架本身有关,

有人可以帮助我吗?

I developed one application in VB.Net 2010. It worked fine on my laptop.
Now when I run this on another PC, it just crashes and give windows error as below.

Application: CallinkMig.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidOperationException
Stack:
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at CallinkMig.My.MyApplication.Main(System.String[])

Along with this.

EventType clr20r3, P1 callinkmig.exe, P2 1.0.0.0, P3 4cb8209c, P4 mscorlib, P5 4.0.0.0, P6 4ba1da6f, P7 105d, P8 1c, P9 system.invalidoperationexception, P10 NIL.

This application required .Net framework 4 & Oracle 9 ODBC drivers, which I installed on new PC.

I am not able to figure out what is the problem exactly, however it seems something with .Net framework itself

Can anybody please help me?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゃ懵逼小萝莉 2024-10-04 21:34:55

听起来你的代码有问题,最好的找出方法是在该机器上安装 vs2010 并调试它,如果你的代码正在查看或依赖于计算机上的某些内容,并且它在崩溃的计算机上有点不同,而你没有考虑到这一点或没有预料到它,它就会崩溃。

或者,如果您不想安装 vs2010,请将代码包装在一些 try catch 处理程序中,并让 ex.description 显示在消息框或其他内容中...让我们知道您是怎么做的!

It sounds like a problem with your code, best way to find out is instal vs2010 on that machine and debug it, if your code is looking at or depending on something residing on the computer, and its a little different on the computer where it crashed, and you are not accounting for this or not expecting it, it will crash.

Or if you don't wanna install vs2010 wrap your code inside some try catch handlers and get the ex.description to display in a message box or something... Let us know how you do!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文