Link to home
Start Free TrialLog in
Avatar of bfoust
bfoust

asked on

ASP/Word Error

Hello,
I am using asp to write a MS Word Doc file.  However, when i try to create the word object i get the following error message:

error '80010001'
Call was rejected by callee.

Anyone know what is going on here and/or how do you fix it?

Avatar of drittich
drittich

Perhaps Word is not installed on the server?
May be a out-of-process restriction?

Try this code:

Create a new ASP file a execute it with Administrator privileges. The try again your code


<%



   Set WebServObj = GetObject("IIS://LocalHost/W3svc")

WebServObj.Put "AspAllowOutOfProcComponents", True

     WebServObj.SetInfo
    %>
ASKER CERTIFIED SOLUTION
Avatar of evertd
evertd

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul Maker
doesnt this mean that www user account will then have administrators rights ???? dangerous
not so dangerous if you give only script access to the www dir
true.........

what difference will admin rights make
Try to end the process of Microsoft word on task manager... maybe there is a process that hang on the middle of your execution.. thats why its busy and attempt to retrieve the COM class factory for component would failed.