ID: Q169815
The information in this article applies to:
When trying to launch a Java Applet with animation support from outside the DevStudio environment, the applet fails to launch properly and the Java log shows the following AppletSecurityException error:
*** Security Exception: Couldn't connect to with origin from file
****com.ms.applet.AppletSecurity.checkConnect at
com/ms/applet/BrowserAppletFrame.getImageFromHash at
com/ms/applet/BrowserAppletContext.getImage at
java/applet/Applet.getImage...
To work around the problem, you can use either of the following methods:
-or-
-or-
-or-
This problem happens only under the Microsoft VM build 1516, when loading the applet via a file URL.
1. Install the Microsoft Java VM build 1516.
2. Create a default Applet Wizard applet, with animation support.
3. Launch Internet Explorer outside of Developer Studio by clicking on the
project's HTML page.
The applet will fail to load properly, and you will get the above
exception.
For more information on Cab&Sign, please refer to the Sample CabAndSign that comes with the Visual J++.
For additional information on the current release of the VM, please refer to the following Knowledge Base article:
ARTICLE-ID: Q163637
TITLE : INFO: Availability of Current Build of Microsoft VM
for Java
For the latest Knowledge Base articles and other support information on
Visual J++ and the SDK for Java, see the following page on the Microsoft
Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
Keywords : kberrmsg kbnokeyword kbVJ JVM
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: November 12, 1998