oursmp
05-04-2005, 10:09 AM
Hi,
We are working on an ASP.Net application, which uses office automation to create
Word and Excel documents from templates
IIS web server runs on Window 2003 Advanced Server.
Due to security reasons, with office automation,
(In spite of giving permissions via DCOMCNFG, etc., all options taken care)
We had Access Denied error while trying to invoke Word or Excel applications
To address this,
We have created a separate application pool and given the Identity as Local System,
(Logged in account is local administrator of the machine)
Assigned our application to this pool
With this setting the application works fine on our Test machines.
On Target machine (Production machine),
(Logged in account is Network Administrator account (not local administrator))
And the same settings for IIS – Another application pool with Identity as local system
But we still face the security restrictions or Access Denied error when using office automation.
Can some one help us on this
Thanks
oursmp
We are working on an ASP.Net application, which uses office automation to create
Word and Excel documents from templates
IIS web server runs on Window 2003 Advanced Server.
Due to security reasons, with office automation,
(In spite of giving permissions via DCOMCNFG, etc., all options taken care)
We had Access Denied error while trying to invoke Word or Excel applications
To address this,
We have created a separate application pool and given the Identity as Local System,
(Logged in account is local administrator of the machine)
Assigned our application to this pool
With this setting the application works fine on our Test machines.
On Target machine (Production machine),
(Logged in account is Network Administrator account (not local administrator))
And the same settings for IIS – Another application pool with Identity as local system
But we still face the security restrictions or Access Denied error when using office automation.
Can some one help us on this
Thanks
oursmp