07-07-2008 08:24 AM
07-07-2008 09:44 AM
07-07-2008 03:30 PM
09-19-2011 09:47 AM
Hey Marc,
Did you ever resolve this issue? I'm running into the same exact issue on a current project: calling the PrintOut method works fine on my machine, but when running it on a 2003 machine it returns 'Server execution failed' error.
The strange thing is, it works from the development environment on the 2003 machine, it only returns the error when running from an executable.
Anybody else experience similar issues with MS office automation/ActiveX?
thanks,
Quintin
09-20-2011 03:31 PM
Hi Quintin,
When you get the 'server execution failed' error, is there an error number associated with it? Also, if you're only experiencing the problem when the program is deployed as an executable, try the following workaround for the VI in question:
In LabVIEW select File>>VI Properties. Select Execution from the category box and set the Preffered Execution to user interface.
Tim W.
Applications Engineering
National Instruments
09-23-2011 07:38 AM
The error code returned is: -2146959355. I'll give the work around you suggest a try.
thanks!
09-26-2011 03:30 PM
Here's a few details on that particular error, both of these articles have some workarounds:
Error -2146959355 When Using ActiveX or the Report Generation Toolkit
Error 2146959355 When Running Exe on Machine With Different Version of Office
Tim W.
Applications Engineering
National Instruments
10-05-2011 11:32 AM
I ended up getting a chance to build the executable on my client's machine, where we were having the issue, and the newly built executable worked error free.