By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,917 Members | 1,305 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,917 IT Pros & Developers. It's quick & easy.

ASP error CreateObject("Word.Application") failed

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
"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

P: n/a
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.