General information
Category:
COM, DCOM and OLE automation
>Excel is not installed on the server SQL. I need to create an object in my VB Script code, in an ActiveX task (local package). The problem is about security context of SQL account of the server... it cannot access to network. Then I wonder if the use of a COM object within my VB script code could be a solution...
>
>xlApp = CreateObject("Excel.Application", "\\MyServer")
To access network resources you would still need to have a network account. But you may be able to achieve this by using ADO and the Jet provider + an excel file template. All within the SQL Server of course. If Excel is not installed then you cannot create Excel files this way.
(I assume you are trying to create an Excel file using a DTS package with "ActiveX" scripts in the SS)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only