2012-06-14 45 views
0

我正在使用一個名爲wnvhtmlconvert的dll組件來從html生成pdf。上週它工作很順利,然後現在它開始只在我發佈時纔會出現COMException。System.Windows.Forms.dll中的System.Runtime.InteropServices.COMException

婁輸出誤差:

「System.Runtime.InteropServices.COMException」類型的例外發生在System.Windows.Forms.dll中和被管理的/天然的邊界

之前沒有處理附加信息:未知錯誤。

在另一臺機器上,它通常在debbuging和發佈時工作。

我已經嘗試註冊wnvhtmlconvert.dll,但它不可能是可能的,因爲它不能註冊。

有什麼建議嗎?

TY

+0

這是一個未知的錯誤。聯繫供應商,他們可能知道。 –

+0

但它上週工作正常......我得到了一個關於這個錯誤的更多細節......它發生在: 在System.Windows.Forms.AxHost.OleInterfaces.System.Reflection.IReflect.InvokeMember(String name ,BindingFlags invokeAttr,Binder binder,Object target,Object [] args,ParameterModifier []修飾符,CultureInfo culture,String [] namedParameters) – raddesso

回答

0

您可能在非UI線程中做了某些事情,或者忘記固定引用。

相關問題