This project has moved and is read-only. For the latest updates, please go here.

Is it safe to use NetOffice in an unattended non-interactive client application like a webservice or ASP.NET website ?

Aug 2, 2013 at 7:23 AM
According to Microsoft, this is not recommended:

"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, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment."


And if still I want to do this, what are the things to look out for ? (try/catch/disposing/closing?)
Aug 2, 2013 at 5:18 PM
its true, unattended automation is not recommend but in fact, many people use that.
the most server people want generate reports or something like this. since 2007 the office .*x (docx,xlsx) based on xml and allows you to modify or create a document whitout automation. a lot of very nice projects on codeplex to help you to make it easier to create this files. closed xml for excel and docx for word, just for example.