PranasLu's Blog


MS Office Word 2007 automation on Windows 2008 server

Filed under: Programming — Tags: , , , , — pranaslu @ 13:17

Jei gaunama klaida: [Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005] reikia suteikt admin teises NETWORK SERVICE (arba tam, kuris nurodytas AppPool “Identity” nustatyme) accountui. DCOMCfg suteikt tam useriui “Local Launch” ir “Local Activation” teises.


Jei Open() metodas grazina null:

ApplicationClass WordApp = new ApplicationClass();
Document aDoc = WordApp.Documents.Open(…);

Reikia sukurt katalogus:

・Windows 2008 Server x64


・Windows 2008 Server x86



Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: