Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why not working---automation server question?

Status
Not open for further replies.

jinglin

MIS
May 4, 2004
72
0
0
US
I'm new to ColdFusion.
In my cfm file I used the following codes to open up Word, and it worked fine.
var doc = new ActiveXObject("Word.Application"); // creates the word object
doc.Visible=true; // display Word window

doc.Documents.Open("//myPath/mailMerge.dot"); // specify path to document

but when I used it on my user's machine who is using Internet Explorer Ver.5 and Windows 2000, I got the message like this:

Automation Server can't create an object

I have no clue how and why this happened. Could you help me out!

Thanks a lot!

 
I think you get this either when you don't have Active X enabled in the browser, or it could be a corrupted Windows Script component. Either way, it's not a ColdFusion problem, there's something not set up right on the user's PC.



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Do you know how to fix it---I mean where to start.
My super asked the user to update his IE to ver.6. you think it might be OK?

thanks!
 
sounds like you don't have a captive audiance with settings you're sure of. You may want to consider a com object solution vice activex.

If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.

-Quote by Edward Hodnett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top