You don't recommend running word then? What are the alternatives? I regularly use Excel and Outlook from web applications too.
On 12 Oct, 14:30, Stephen Russell <[email protected]> wrote: > On Tue, Oct 12, 2010 at 8:24 AM, stapes <[email protected]> wrote: > > Hi > > > I have built a website that writes into a Word Document template. It > > works fine on my development machine, but when I move it to the live > > server, it crashes with the following error: > > > Retrieving the COM class factory for component with CLSID > > {000209FF-0000-0000-C000-000000000046} failed due to the following > > error: 80070005. > > > My aspx.cs page has the following: > > using Microsoft.Office; > > > In the /Bin folder is the dll file office.dll and interop.word.dll > > > In the add reference (using Visual Studio 2005) there is Microsoft > > Office 11.0 Object Library and Microsoft Office 12.0 Object Library > > and Microsoft Word 11.0 Object library. > > > I found a webpage that accurately describes my problem:http:// > >www.computerperformance.co.uk/Logon/code/code_80070005.htm#Solution_t... > > > I don't understand the answer. > > --------------------------------------------------- > > You are using Word in your application and ASPNET doesn't have rights > to run Word. Which is a good thing. You have fees to be paid to M$ > to use Word in a server application. There is also the security > aspects of having Word run macros on your server. Talk about a > nightmare for IT Admin. > > -- > Stephen Russell > > Sr. Production Systems Programmer > CIMSgts > > 901.246-0159 cell- Hide quoted text - > > - Show quoted text -
