N
Nalina Vemparala via .NET 247
(Type your message here)
Hi!
I created a web service in .net where in the web method makes call to a function in which I am creating an excel object using
Dim objXl As New Microsoft.Office.Interop.Excel.Application()
objXl.Workbooks.Open("C:\C\Test.xls")
objXl.Visible = True
However, I am getting the error Access denied, Cannot create Activex component.
The same code works in a ASP page and also in .net windows application.
But if I access this code through web service I get the error Access denied, Cannot create Activex component.
I checked the permissions etc for this web service project
Could anyone please help me please.
Hi!
I created a web service in .net where in the web method makes call to a function in which I am creating an excel object using
Dim objXl As New Microsoft.Office.Interop.Excel.Application()
objXl.Workbooks.Open("C:\C\Test.xls")
objXl.Visible = True
However, I am getting the error Access denied, Cannot create Activex component.
The same code works in a ASP page and also in .net windows application.
But if I access this code through web service I get the error Access denied, Cannot create Activex component.
I checked the permissions etc for this web service project
Could anyone please help me please.