java 自动化服务器无法创建对象 - Microsoft JScript 运行时错误

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1592155/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-29 17:12:16  来源:igfitidea点击:

Automation server can't create object - Microsoft JScript runtime error

javainternet-explorerjava-web-start

提问by Dutch

I am trying to run a Java webstart application which is launched from a html page. While loading I get an alert with the message "Automation server can't create object" a couple of times after which the applications starts and works fine. The alerts come up only on one of the workstations. Any pointers on where I should look? Regards, Dutch

我正在尝试运行从 html 页面启动的 Java webstart 应用程序。在加载时,我多次收到一条带有消息“自动化服务器无法创建对象”的警报,之后应用程序启动并正常工作。警报仅出现在其中一个工作站上。关于我应该在哪里看的任何指示?问候, 荷兰人

回答by Steven Pardo

try the following IE setting: "Initialize and script ActiveX control not marked as safe."

尝试以下 IE 设置:“初始化未标记为安全的 ActiveX 控件并编写脚本”。

回答by haylem

May or may not apply to your case, but there are reported problems with the JScript Runtime throwing up errors when starting up Applets or Java WebStart applications when you have specific network settings.

可能适用于您的情况,也可能不适用于您的情况,但是在您具有特定网络设置时,JScript Runtime 会在启动小程序或 Java WebStart 应用程序时引发错误。

Every now and again, there's a Windows Update that generates such a bug and another one that follows to fix it and you'll see some of these errors. Yours might be one of these.

时不时地,有一个 Windows 更新会产生这样的错误,而另一个随后会修复它,您会看到其中一些错误。你的可能就是其中之一。

Usually the workaround in-between is to either:

通常中间的解决方法是:

  • go to IE's Network Settings and uncheck "auto detect settings" or any PAC file setting
  • or go to the Java control panel's Network Settings and disable "Use browser settings" or other settings to use a direct connection instead.
  • 转到 IE 的网络设置并取消选中“自动检测设置”或任何 PAC 文件设置
  • 或转到 Java 控制面板的网络设置并禁用“使用浏览器设置”或其他设置以使用直接连接。

Obviously, that workaround is only valid if you do not have togo through a proxy...

显然,解决办法是唯一有效的,如果你不必须通过代理...