Home » Developer & Programmer » Forms » WUO-700: Unable to create the OLE Server Word.Application; Exception com.jacob.com.ComFailException (Oracle Forms, 11.1.2.1.0, Win 07)
WUO-700: Unable to create the OLE Server Word.Application; Exception com.jacob.com.ComFailException [message #600893] Wed, 13 November 2013 11:18
ng03
Messages: 2
Registered: November 2012
Location: Arizona
Junior Member
We are in a process of upgrading our Database and Forms & Reports from 10G to 11G. I have migrated all forms from 10G already and also tested most of the forms and they all seems to be working fine. Except for a couple of forms that has a comment box which is also associated with a CheckSpell Procedure. We have installed and reinstalled the whole system few times to rectify this error..
I get two different error msgs :
In the attached document, i have two images 1. Tested on WinXP machine and 2. on Win07.
Also, here is the Java console:
Java Plug-in 1.6.0_25
Using JRE version 1.6.0_25-b04 Java HotSpot(TM) Client VM
User home directory = C:\Users\svc_pitss

----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

RegisterWebUtil - Loading WebUtil Version 11.1.2.1
Forms Session ID is WLS_FORMS.formsapp.6
The proxy host is null, and the proxy port is 0.
Native HTTP implementation is being used for the connection.
The connection mode is HTTP.
Forms Applet version is 11.1.2.1
2013-Nov-13 09:24:30.929 ERROR>WUO-700 [OleFunctions.create_obj()]
Unable to create the OLE Server Word.Application; Exception
com.jacob.com.ComFailException: Can't get object clsid from progid
2013-Nov-13 09:26:02.895 ERROR>WUO-700 [OleFunctions.create_obj()]
Unable to create the OLE Server Word.Application; Exception
com.jacob.com.ComFailException: Can't get object clsid from progid
2013-Nov-13 09:58:40.58 ERROR>WUO-700 [OleFunctions.create_obj()]
Unable to create the OLE Server Word.Application; Exception
com.jacob.com.ComFailException: Can't get object clsid from progid
2013-Nov-13 09:59:01.258 ERROR>WUO-700 [OleFunctions.create_obj()]
Unable to create the OLE Server Word.Application; Exception
com.jacob.com.ComFailException: Can't get object clsid from progid
2013-Nov-13 09:59:28.947 ERROR>WUO-700 [OleFunctions.create_obj()]
Unable to create the OLE Server Word.Application; Exception
com.jacob.com.ComFailException: Can't get object clsid from progid

Also, here is my CheckSpell Procedure that fires when the close button is pressed:

PROCEDURE spell_check(inbound_text in varchar2,outbound_text out varchar2) IS

SpellApplication client_ole2.OBJ_TYPE;
SpellDocuments client_ole2.OBJ_TYPE;
SpellDocument client_ole2.OBJ_TYPE;
SpellSelection client_ole2.OBJ_TYPE;
args client_ole2.LIST_TYPE;
spell_return varchar2(4000);
BEGIN
-- Create a word document
SpellApplication := client_ole2.CREATE_OBJ('Word.Application');
client_ole2.SET_PROPERTY(SpellApplication, 'Visible', 0);

SpellDocuments := client_ole2.GET_OBJ_PROPERTY(SpellApplication, 'Documents');
SpellDocument := client_ole2.INVOKE_OBJ(SpellDocuments,'add');

-- Insert the text into the document
SpellSelection := client_ole2.GET_OBJ_PROPERTY(SpellApplication,'Selection');
client_ole2.SET_PROPERTY(SpellSelection,'Text',inbound_text);

-- Check the spelling
client_ole2.INVOKE(SpellDocument,'CheckSpelling');

-- Copy the text from the document back into forms.
client_ole2.INVOKE(SpellSelection,'WholeStory');
client_ole2.INVOKE(SpellSelection,'Copy');

spell_return := client_ole2.GET_CHAR_PROPERTY(SpellApplication, 'Selection');

-- Close the word document
args := client_ole2.CREATE_ARGLIST;
client_ole2.ADD_ARG(args, 0);
-- client_ole2.INVOKE(SpellDocument,'Close',args);
client_ole2.INVOKE(SpellApplication,'Quit',args);
client_ole2.DESTROY_ARGLIST(args);

-- client_ole2.INVOKE(SpellApplication,'Quit');

-- Release the variables
client_ole2.RELEASE_OBJ(SpellSelection);
client_ole2.RELEASE_OBJ(SpellDocument);
client_ole2.RELEASE_OBJ(SpellDocuments);
client_ole2.RELEASE_OBJ(SpellApplication);

-- Set the out bound text.
outbound_text := substr(replace(spell_return,chr(13),chr(10)),1,length(spell_return)-1);
end;

I would highly appreciate any support to resolve this issue please..

Thank you so much.



Previous Topic: Commit_form not working. Form status not changed
Next Topic: Set visibility property for items depending on other items
Goto Forum:
  


Current Time: Fri Apr 19 13:05:10 CDT 2024