Groups | Blog | Home
all groups > inetserver asp general > september 2005 >

inetserver asp general : ASP error CreateObject("Word.Application") failed


MaxiWheat
9/27/2005 1:35:39 PM
Hi,

I am using a software that uses MS Word to create PDF files. When I try
to run the sample code (ASP 3.0), I get an error on this statement :

Set oWord = Server.CreateObject("Word.Application")

That error says :
The call to Server.CreateObject failed while checking permissions.
Access is denied to this object.

I already searched for the error occuring in ASP, and found articles
telling to set Security for Microsoft Word Document in DComcnfg, Give
the user IUSR_MachineName the permissions to Access the COM object.

But... the error still occurs, can someone help me ? Am I missing
something ? Please don't leave this message unanswered.

Philippe Meunier
Application Developper
Cyber Generation
http://www.cybergeneration.com
McKirahan
9/27/2005 4:55:51 PM
[quoted text, click to view]

Is MS-Word installed and accessible (by ASP) on the server?

Bob Barrows [MVP]
9/27/2005 6:08:25 PM
[quoted text, click to view]

This article says it all:
http://support.microsoft.com/default.aspx?scid=kb;en-us;257757


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

AddThis Social Bookmark Button