469,647 Members | 1,794 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

ASP error CreateObject("Word.Application") failed

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

Sep 27 '05 #1
2 10006
"MaxiWheat" <ma*******@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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


Is MS-Word installed and accessible (by ASP) on the server?
Sep 27 '05 #2
MaxiWheat wrote:
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.


This article says it all:
http://support.microsoft.com/default...b;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"
Sep 27 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Microsoft | last post: by
reply views Thread by Krishnamoorthy | last post: by
4 posts views Thread by Darryl Kerkeslager | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.