473,394 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Call was rejected by callee -

101 100+
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
9 9086
acoder
16,027 Expert Mod 8TB
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
buntyindia
101 100+
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
16,027 Expert Mod 8TB
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
buntyindia
101 100+
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
16,027 Expert Mod 8TB
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
buntyindia
101 100+
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
16,027 Expert Mod 8TB
So does this error occur whenever you create a new ActiveX object?
Apr 17 '08 #8
buntyindia
101 100+
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
16,027 Expert Mod 8TB
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

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

Similar topics

2
by: JS | last post by:
I read the following in som sample code: function createOpts(sel){ var s = new Array(); var num = 0, txt = "bo"; var ar = opt = null; var n = sel.selectedIndex; var args =...
4
by: Sweety | last post by:
plz reply, thanks in advance. bye
2
by: Jerald Fijerald | last post by:
Hello. I'm trying to find an elegant way to longjmp to the callee (aka "generators for C") So far I've come to this experimental program (gcc only as it uses __builtin_frame_address, although...
0
by: Hari | last post by:
Hi everyone, I have a C# based COM DLL that uses an old ocx. The ocx is placed within a panel inside a form that the C# COM DLL displays as a dialog. In the InitializeComponent call, I get the...
9
by: Csaba Gabor | last post by:
Inside a function, I'd like to know the call stack. By this I mean that I'd like to know the function that called this one, that one's caller and so on. So I thought to do: <script...
7
by: VK | last post by:
I was getting this effect N times but each time I was in rush to just make it work, and later I coudn't recall anymore what was the original state I was working around. This time I nailed the...
12
by: -Lost | last post by:
What in the world is functionName.name good for? That is: function functionName() { return functionName.name; } I mean, I already had to write out the function's name so it seems that it is...
6
by: howa | last post by:
Consider example: Animal = function(age) { this.age = age; }; Animal.prototype.sleep = function() { alert("Animal Sleeping..."); };
34
by: Jorge | last post by:
Why is it listed here : http://www.crockford.com/javascript/recommend.html under "deprecation" ? Without it, how is an anonymous function() going to call itself (recursively) ? I use to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.