Question : URGENT -- Vb.Net Excel COM Problem!

I desperately need your help experts!

I have a program written that opens and manipulates Excel files. I have been writing it for a couple weeks, and up until now, I have been able to work with Excel files with no issues whatsoever.  Last night, I worked on the program from home via a terminal client, again with no issues (i have done this many times before).  This morning, I log in like usual, but now I get the following error:

"Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))."

The error comes up on this line:
Dim oApp As New Excel.Application

Here's the most interesting part -- this is NOT, I repeat, NOT an ASP.Net app.  This is a basic Windows Application, so I dont know why the error is talking about server execution.  I've tried rebooting and creating a new project, but nothing has worked so far.

I know there is a process out there to go into DCOMCNFG, but another issue is that I do not have admin rights to my computer.

I dont know why this has happened so suddenly! It was working great last night, but not this morning.

Please HELP!

Answer : URGENT -- Vb.Net Excel COM Problem!

Well COM acts in a client-server scenario.... Excel is acting as a COM service to your Winform client application.  That's why it says "server"

I'd be checking to see if you had any updates to Excel that might have occured.   For example, I got the same type of error one day after our corporate IT folks pushed a digital signature application update that had a new Excel plugin.  To fix the problem, I had to remove that plugin from Excel before my application would work again.

Random Solutions  
 
programming4us programming4us