相关疑难解决方法(0)

如何获得有关异常的更多信息

我在Windows 7,64位的visual studio 2008中创建了一个解决方案.

有用.

当我将它移动到另一台机器上时,也赢得了7,64位,几乎没有信息就崩溃了.

最初的问题是:

呼叫被被叫方拒绝了

然后我实现了这个解决方案

如何为visual studio 2008正确GetTypeFromProgID

但是,现在我的问题是,当我在另一台机器上运行可执行文件时,程序立即崩溃并显示以下信息:

Description:
  Stopped working

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: EmailSalesVolumeSolution.exe
  Application Version:  1.0.0.0
  Application Timestamp:    508064dd
  Fault Module Name:    KERNELBASE.dll
  Fault Module Version: 6.1.7601.17932
  Fault Module Timestamp:   503285c2
  Exception Code:   e0434f4d
  Exception Offset: 000000000000caed
  OS Version:   6.1.7601.2.1.0.256.48
  Locale ID:    1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Run Code Online (Sandbox Code Playgroud)

我将代码包装在一个try/catch,但仍然没有收到正确的错误消息:

static …
Run Code Online (Sandbox Code Playgroud)

.net c# exception-handling exception

7
推荐指数
1
解决办法
6974
查看次数

呼叫被被叫方拒绝了

我的应用程序在我的win 7 64位机器上运行良好.

我尝试在不同的win 7 64位机器上运行winforms visual studio 2008 .NET C#应用程序,现在我收到此错误:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x80010001): Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
   at Microsoft.Office.Interop.Excel.WorkbookClass.get_Worksheets()
   at EmailSalesVolumeSolution.WorkBook.OpenWorkBook() in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\WorkBook.cs:line 40
   at EmailSalesVolumeSolution.WorkBook.CreateFiles(String column, Boolean isTest) in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\WorkBook.cs:line 144
   at EmailSalesVolumeSolution.Form1.InitializeWorkBook(String filename) in C:\Users\agordon\Documents\Visual Studio 2008\Projects\SubversionRepository\Internal Application\EmailSalesVolumeSolution\EmailSalesVolumeSolution\Form1.cs:line 108
   at EmailSalesVolumeSolution.Form1.button1_Click(Object sender, EventArgs e) …
Run Code Online (Sandbox Code Playgroud)

.net c# windows visual-studio-2008 winforms

5
推荐指数
1
解决办法
6850
查看次数