我最近用C#写了一个软件,在本机上可以运行,但在另一个客户机上(只安装了.net framework1.1)执行报错。我是直接把本机上生成的exe拷贝到客户机在java程序里直接调用的,但我想这和java应该没有关系,应该还是exe执行的问题.
出错提示是关于common language Rutime Debugging Services的: Application has generated an exception that could not be handled.
Process id=Oxd34(3380),Thread id=Ox1c4(452).
Click OK to terimate the application.
Click CANCEL to debug the application.
如果点“确定”就会退出。如果点“取消”。会出现No debuuger found的出错提示:
Registered JIT debugger is not available.An attempt to lanch a JIT
debugger with the following command resulted in an error code of Ox2
(2).Please check computer settings.
cordbg.exe!a Oxfffcf31f
Click on Retry to have the process wait while attaching a debugger
manually.
Click on Cancel to abort the JIT debug request.
不能debug的原因我大概知道,但我不知道是为什么执行不了。希望高手能指点一二。万分感谢
出错提示是关于common language Rutime Debugging Services的: Application has generated an exception that could not be handled.
Process id=Oxd34(3380),Thread id=Ox1c4(452).
Click OK to terimate the application.
Click CANCEL to debug the application.
如果点“确定”就会退出。如果点“取消”。会出现No debuuger found的出错提示:
Registered JIT debugger is not available.An attempt to lanch a JIT
debugger with the following command resulted in an error code of Ox2
(2).Please check computer settings.
cordbg.exe!a Oxfffcf31f
Click on Retry to have the process wait while attaching a debugger
manually.
Click on Cancel to abort the JIT debug request.
不能debug的原因我大概知道,但我不知道是为什么执行不了。希望高手能指点一二。万分感谢
但是我觉得你应该在客户机上(确定装上了。NET环境),用.net先把那个.exe程序运行通了,才能继续往下走。
不知道楼主有没有将该EXE文件单独运行过?????
如果能运行,说明java的调用是有问题.
如果不能运行,那说明运行环境有问题.可以重装framework1.1或者安装整个.net