System.Runtime.InteropServices.COMException - Catastrophic Exception

  • Thread starter Thread starter Ritu
  • Start date Start date
R

Ritu

I'm trying to generate excel sheet using SpeedGen COM object.
I'm getting 'Catastrophic exception,Error code : 2147418113' when i
try to access methods and properties of XLSpeedGen class in
C#.Possible reasons as told on the forums are memory leaks and open
resources.I've closed all the database resources like ,connection and
data-reader objects,but that doesn't seem to provide any help.
Can anybody provide me with a solution to this problem?
An early reply would be appreciated.

Regards,
-Ritu.
 
1) Try to activate the COM object via vbs file to check if he registered
properly.

2) Use tlbimp to generate .net wrapper class and reference to this
class.

3) Add Impersonate=true to the web.config. Use the user and password
attributes to set them with user that got the right privilege.

Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114

Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377

Know the overall picture
 
Back
Top