Excel in Windows Forms: Access Denied

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
==================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top