Solved

ASP/Word Error

Posted on 2000-03-23
7
1,529 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 30 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
Question about ASP Including Files 6 64
Passing Parameter to Stored Procedure 4 32
Syntax for query to update table 2 43
Date on a table 16 37
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

730 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