?
Solved

ASP/Word Error

Posted on 2000-03-23
7
Medium Priority
?
1,536 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: 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

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!

Question has a verified solution.

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

Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

752 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