Reputation: 153
I am trying to call a excel macro from the my web service but it is unable to initialize the Excel.Application object. This is giving error at following line:
Microsoft.Office.Interop.Excel.Application oExcel = new Microsoft.Office.Interop.Excel.Application();
Even for publish the web service i am using the service account in the Application pool in the IIS.
Can anyone tell me how can we call a macro in c#.net web service.
Thanxs in Advance.
Upvotes: 0
Views: 828