I'm tying to create new Excel Object;
Excel.Application Myexcel = new Excel.Application();
But it gives error:
Exception Details: System.UnauthorizedAccessException: Access is denied.
I'm made the reference to Excel.dll and gave the permission and it still gives error.....
How can I solve this?
Excel.Application Myexcel = new Excel.Application();
But it gives error:
Exception Details: System.UnauthorizedAccessException: Access is denied.
I'm made the reference to Excel.dll and gave the permission and it still gives error.....
How can I solve this?