<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Office Automation and IIS</title><link>http://blogs.msdn.com/david.wang/archive/2006/05/11/Office-Automation-and-IIS.aspx</link><description>Every once in a while, I see users asking about how to automate Office applications on the server, either to create a Word document, an Excel spreadsheet, or Powerpoint slidedeck. I understand the noble intentions to re-leverage the functionality of Office</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Office Automation and IIS</title><link>http://blogs.msdn.com/david.wang/archive/2006/05/11/Office-Automation-and-IIS.aspx#596436</link><pubDate>Fri, 12 May 2006 23:29:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:596436</guid><dc:creator>jvierra</dc:creator><description>This question has come up over-and-over for years. Thnkyou for clarifying it loudly from a very hard to argue with perspective.&lt;br&gt;&lt;br&gt;See my additions here to why and what can or might be done to be able to use Office from the web.&lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://tech-comments.blogspot.com/2006/05/support-for-office-document-creation.html#links"&gt;http://tech-comments.blogspot.com/2006/05/support-for-office-document-creation.html#links&lt;/a&gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: Office Automation and IIS</title><link>http://blogs.msdn.com/david.wang/archive/2006/05/11/Office-Automation-and-IIS.aspx#596808</link><pubDate>Sat, 13 May 2006 12:18:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:596808</guid><dc:creator>David.Wang</dc:creator><description>jvierra - Thanks...&lt;br&gt;&lt;br&gt;Yeah, Office Automation is right up there with:&lt;br&gt;1. writing VB COM components for use in ASP pages&lt;br&gt;2. using Access/JET as the database for use in ASP pages&lt;br&gt;&lt;br&gt;When it comes to practicality.&lt;br&gt;&lt;br&gt;I understand that Office Automation, VB COM components, and Access MDB databases are easy to create and use, and it is tempting to try and scale the desktop solution to co-workers/clients by simply bringing it to the web... but what users fail to understand is that those technologies are all ultimately designed for Single end-user Interactive use on a desktop and NOT multi-user remote access on a web page.&lt;br&gt;&lt;br&gt;And when you try to shoehorn a desktop application onto the web and beyond its initial design, all sorts of bad things like hangs, crashes, slow performance, high lock contention, etc can occur. And no matter how much users complain, Microsoft can only provide a few hacks and recommend that you &amp;quot;use the right technology designed for the right problem&amp;quot;.&lt;br&gt;&lt;br&gt;XML, SQL, Script Components, and ASP.Net are the way to go to write scalable, multi-user, remote-access web applications...&lt;br&gt;&lt;br&gt;//David</description></item><item><title>re: Office Automation and IIS</title><link>http://blogs.msdn.com/david.wang/archive/2006/05/11/Office-Automation-and-IIS.aspx#6819847</link><pubDate>Thu, 20 Dec 2007 22:00:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6819847</guid><dc:creator>Mark Jenner</dc:creator><description>&lt;p&gt;It seems to me that wanting to have a web app be able to process and/or produce Word and Excel documents is an extremely basic and common requirement with very wide utility. &amp;nbsp;There is nothing inherently &amp;quot;interactive&amp;quot; about reading or writing an Excel spreadsheet... it is simply a file format that should be able to be easily processed in a non-interactive environment.&lt;/p&gt;
&lt;p&gt;The fact that Microsoft products are unable to provide this functionality is only an indication of inadequate design on the part of Microsoft. &amp;nbsp;They simply inextricably coupled the disparate functions of document processing and creation on one side with the interactive applications with which these functions are typically carried out by desktop users on the other.&lt;/p&gt;
&lt;p&gt;Microsoft, in the person of Mr. Wang, instead of aknowledging this design flaw and working to address it, blames the customer for wanting this functionality. &amp;nbsp;A 100% legitimate and useful customer requirement is invalidated as being &amp;quot;outside of reality&amp;quot;.&lt;/p&gt;
&lt;p&gt;Microsoft may view &amp;quot;reality&amp;quot; as &amp;quot;anything Microsoft can do&amp;quot;. &amp;nbsp;Well, the users know otherwise.&lt;/p&gt;
</description></item><item><title>re: Office Automation and IIS</title><link>http://blogs.msdn.com/david.wang/archive/2006/05/11/Office-Automation-and-IIS.aspx#6824249</link><pubDate>Fri, 21 Dec 2007 07:49:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6824249</guid><dc:creator>David.Wang</dc:creator><description>&lt;p&gt;Mark - I'm not certain where you are coming from. This is my point --&lt;/p&gt;
&lt;p&gt;Microsoft Office has on object model that can be perfectly used from a Web App to process/produce Word/Excel documents. People do this all the time in non-interactive manner for Office-related automation.&lt;/p&gt;
&lt;p&gt;The problem is whether the function can be non-interactively accessed in a single-threaded or multi-threaded manner and its performance/reliability -- specifically, for web-access. This actually reduces down to a classic problem with a class solution that is hardly an &amp;quot;Microsoft reality&amp;quot;. Almost all developers would choose the same tradeoffs given the information at the time.&lt;/p&gt;
&lt;p&gt;Let's look it this way -- 99.9999% of Office users run it interactively with no requirement of multi-threaded access (which is additional software complexity, which translates into added cost and longer/riskier ship date). You can certainly make an academic argument that non-interactive, multi-threaded access to Office is a 100% legitimate and useful customer requirement, but when you weigh the $100 billion worth of the 99.9999% Office users vs the $10 million worth of non-interactive, multi-threaded access, what would you choose?&lt;/p&gt;
&lt;p&gt;I am sure that you will choose to delay Office release at the cost of $10 million/day to add a feature/design worth only $10 million over its lifetime.&lt;/p&gt;
&lt;p&gt;This is the reality of software development which few people know nor understand.&lt;/p&gt;
&lt;p&gt;//David&lt;/p&gt;
</description></item></channel></rss>