?
Solved

ASP/Word Error

Posted on 2000-03-23
7
Medium Priority
?
1,541 Views
Last Modified: 2011-01-30
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?

0
Comment
Question by:bfoust
7 Comments
 
LVL 8

Expert Comment

by:drittich
ID: 2649726
Perhaps Word is not installed on the server?
0
 

Expert Comment

by:crysys
ID: 2649736
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
    %>
0
 
LVL 2

Accepted Solution

by:
evertd earned 90 total points
ID: 2649857
you have to change the user account of the www service to administrator
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:makerp
ID: 2649869
doesnt this mean that www user account will then have administrators rights ???? dangerous
0
 
LVL 2

Expert Comment

by:evertd
ID: 2649882
not so dangerous if you give only script access to the www dir
0
 
LVL 10

Expert Comment

by:makerp
ID: 2649946
true.........

what difference will admin rights make
0
 

Expert Comment

by:MediaBanc
ID: 34749319
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.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month16 days, 16 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question