Excel in WindowsForms: Access Denied

  • Thread starter Thread starter Ariel Dolan
  • Start date Start date
A

Ariel Dolan

I am trying to open an Excel file from a C# Windows Forms application.

On the statement:
ExcelObj = new Excel.Application();
I get an "Access is Denied" error (System.UnauthorizedAccessException).

The curious thing is that this error occurs only on my home computer, but
not on my office computer where the application runs without problems. The
two computers are practically identical, both with Windows XP Pro. Clearly
there is something in my home computer that causes this error, but what can
it be?

Thanks for any help.
Ariel
--
==================================================
Ariel Dolan
(e-mail address removed)

Artificial Life and other Experiments
http://www.aridolan.com
==================================================
 
Back
Top