UnauthorisedAccessException
Hi,
I have created a project in ASP.Net. An excel sheet should open when an user
clicks on a button. Although, i could successfully do that, i decided to
create a new thread for it.
So I created a new thread, and wrote the code to interact with Excel PIA's
inside the new thread.
But I get the UnauthorisedAccessException when a new Excel.Application
object is instantiated.
Is there a method to provide authorisation to a new thread.
Thanks in advance.
|