ASP error CreateObject("Word.Application") failed

M

MaxiWheat

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
 
M

McKirahan

MaxiWheat said:
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top