By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,259 Members | 1,680 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,259 IT Pros & Developers. It's quick & easy.

Call was rejected by callee -

100+
P: 101
While creating a word doc using Javascript I am getting error "Call was rejected by callee"

Expand|Select|Wrap|Line Numbers
  1. var objWord=new ActiveXObject('Word.Application');
  2. objWord.Visible = "True";
I am executing this in a ASP document on IIS 5 Server.


Please Help...

Regards,
Apr 8 '08 #1
Share this Question
Share on Google+
9 Replies


acoder
Expert Mod 15k+
P: 16,027
This could possibly be caused by the Word application being busy.

You could try waiting a while and then trying. See if this link helps.
Apr 9 '08 #2

100+
P: 101
This could possibly be caused by the Word application being busy.

You could try waiting a while and then trying. See if this link helps.
I am trying to open a word doc with Javascript and create a new document using mailmerge.

Now problem is when more then one user is using the same template for mailmerge I got a error from Word "Document is locked for editing by xxx"

Is there any way to overcome this ...or any way to keep word doc in shared way.
Apr 11 '08 #3

acoder
Expert Mod 15k+
P: 16,027
More than one person can't edit the same file at the same time otherwise you'd get unexpected results. Either they use separate templates or catch the error and wait a while and try again.

Did you manage to solve the first problem?
Apr 11 '08 #4

100+
P: 101
More than one person can't edit the same file at the same time otherwise you'd get unexpected results. Either they use separate templates or catch the error and wait a while and try again.

Did you manage to solve the first problem?
For the first issue "Call was rejected by callee" it was not the problem of Anti virus...

I just make null the objword object just after making Word visible.

Till time haven't got that problem yet and stand resolved.

Another problem frequently disturbing is "Automation server can't create Object" and once we again login to the application it disappears and application work fine and suddenly appears again....I don't no why? what is the reason. IE all settings are on LOW

Acoder can u plz help on this?
Apr 15 '08 #5

acoder
Expert Mod 15k+
P: 16,027
Another problem frequently disturbing is "Automation server can't create Object" and once we again login to the application it disappears and application work fine and suddenly appears again....I don't no why? what is the reason. IE all settings are on LOW
Usually, this error occurs because the ActiveX script doesn't have sufficient permissions to run. In your case, it does, so I'm not sure why you have this problem. When you login to the application, do you access an ActiveX object?
Apr 16 '08 #6

100+
P: 101
Usually, this error occurs because the ActiveX script doesn't have sufficient permissions to run. In your case, it does, so I'm not sure why you have this problem. When you login to the application, do you access an ActiveX object?
While login we are authenticating the user with ldap using a DLL after that main page loads and there user can choose to mail merge the letters where it actually to the function
Apr 16 '08 #7

acoder
Expert Mod 15k+
P: 16,027
So does this error occur whenever you create a new ActiveX object?
Apr 17 '08 #8

100+
P: 101
So does this error occur whenever you create a new ActiveX object?
Yes when work with ActiveX to generate letters using mail merge
Apr 22 '08 #9

acoder
Expert Mod 15k+
P: 16,027
Select Tools --> Options --> Security tab --> Custom Level... button.

Make sure this is only set for trusted sites or Local intranet.

Then look at the ActiveX options and enable the disabled options, e.g. Initialize and script ActiveX control not marked as safe for scripting.
Apr 22 '08 #10

Post your reply

Sign in to post your reply or Sign up for a free account.