Hi All,
I hope this is the right forum, I have a question about automation in VB/ASP for OLE servers such as Access, Excel, Word, etc. I would like some opinions to see if I'm understanding Microsofts current position on OLE.
Here is a quote from kb article:
It's been my understanding that, while OLE automation can be and is used often in interactive situations, (such as macros in Excel), but that a prime use of this was to automate some task in an ASP page, or VB program or .dll, that does some stuff 'automatically'--ie, that's how I would define 'automation'.
Do you agree that it seems as though they're backpedaling on OLE itself due to the fact that they see too much complexity in the security of an OLE app?
Thanks,
--Jim
I hope this is the right forum, I have a question about automation in VB/ASP for OLE servers such as Access, Excel, Word, etc. I would like some opinions to see if I'm understanding Microsofts current position on OLE.
Here is a quote from kb article:
Am I seeing this right? They've given up on OLE automation unless it's 'interactive', ie, when a user is sitting there at the console? They talk about 'deadlock', but the KB article was more specific to the security ramifications, and I stumbled upon it when finding that some Word and Excel automation that used to run fine, stopped dead with errors in ASP pages on a new Windows 2003 server, due to the new security model. All of this worked flawlessly on IIS 5.0.Microsoft said:Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when run in this environment.
It's been my understanding that, while OLE automation can be and is used often in interactive situations, (such as macros in Excel), but that a prime use of this was to automate some task in an ASP page, or VB program or .dll, that does some stuff 'automatically'--ie, that's how I would define 'automation'.
Do you agree that it seems as though they're backpedaling on OLE itself due to the fact that they see too much complexity in the security of an OLE app?
Thanks,
--Jim