The information in this article applies to:
SYMPTOMSThere are problems with ActiveX Documents that will be used on a Web server. The ActiveX Document works fine on the development computer but fails on computers that try to access it over the Internet. The following message sometimes appears:
CAUSEThis problem behavior can occur because:
RESOLUTIONUsing the wrong .vbd fileUse the xxx.vbd that is created for you by the Visual Basic Setup Wizard. The Setup Wizard will create a directory of all the files needed for a successful Internet download. Use the files created by Setup Wizard. Do not mix and match these files from other versions on your machine because you will run compatibility issues.Using an out-dated .vbd fileThe CLSID must be same in the xxx.vbd, xxx.htm (if used), and xxx.exe files of your ActiveX Document project. CLSIDs getting out of synchronization is one of the most common sources of errors for Visual Basic ActiveX Documents. By default, Visual Basic 5.0 creates a new CLSID (and new registry entries) every time you remake your project. Most likely, you will not want this to occur. To preserve the CLSID across builds, do the following:
The Actxprxy.dll Is Missing or Is Not Registered ProperlyIf ActiveX DLL works but ActiveX EXE does not, then actxprxy.dll is probably missing or not registered properly. This file is installed by IE3.0X and should be registered. If not, use regsvr32 to register actxprxy.dll.ActiveX EXE/DLL Is Not Properly RegisteredIf your ActiveX Document does not show up if you add the .vbd file to Office Binder by selecting the menu item "Section," then item "Add from File," then there is a registry problem or the DocObject can't instantiate. If you can add the .vbd file to Binder, then the .vbd file has the wrong CLSID. Try recompiling and using the .vbd file that is created.Visual Basic Run-Time Is Not Installed Or Is Not on the PathMake sure MSVBVM50.DLL is correctly installed on your computer.The ActiveX Document May Not Be SignedChanging the security in Internet Explorer may resolve this problem. If your server is not signed, you will need Medial level safety for Internet Explorer 3.x and Low for 4.x and higher. Check the Internet Explorer Online help for more details.Run-Time Error in Initialization Code of ActiveX DocumentMake sure you do run-time error checking in your ActiveX Document project. You will have problems if you have a run-time error in either of the following routines. If a run-time error occurs while in this routines, Internet Explorer will display the above-mentioned error message rather than the actual error message in your code:
Dependent files are not being DownloadedThe inability to download dependent files could also cause this error. Visual Basic provides its core-dependent CAB files on the Visual Basic 5.0 CD-ROM in the \\Tools\Cabinets directory. It is important to note that these files are not digitally signed. If users are running Internet Explorer with a High security setting, the files will not be installed on their client computer and the ActiveX Document will not run, yielding the error to which this article refers.The signed versions of these CAB files are available from the Microsoft Web site specified by default in your Internet Component Download (see the generated .inf file for exact name). You can also download and place these CAB files on your own server. Here is how you can accomplish that:
Other Problems that Occur
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. REFERENCESQ177269 Internet Explorer 4 Keeps Active Document Servers Running Additional query words:
Keywords : kbActiveX kbIE kbIE300 kbIE301 kbIE400 kbIE401 kbVBp500 kbVBp600 kbIE302 kbCodeDownload kbInetDev kbIEFAQ |
Last Reviewed: January 27, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |