A few of the more common problems in Internet Component Download and their solutions are listed in this section. These include:
You can receive these errors when you attempt to rename or delete the Visual Basic runtime (MSVBVM60.DLL) when simulating a clean machine. In most cases, these errors occur because the file is in use. You cannot delete the Visual Basic runtime when Visual Basic is running. In addition, this error may occur if the browser is viewing an ActiveX document or has currently done so.
To fix this error, close Visual Basic or close your browser and try to delete the file again.
This error generally occurs during testing when the ActiveX document you have been trying to download is still present on the machine.
To fix this problem, delete the ActiveX document from either the OCCache folder or the Downloaded Program Files folder, then restart your download.
This error typically occurs when there is insufficient disk space on the machine to which you are attempting to download. To fix this error, free up disk space and restart your download.
This error occurs when the Visual Basic runtime library (MSVBVM60.DLL) is not installed. Generally, this occurs when the safety level in Internet Explorer is set to High. To correct this, you must set the safety level in Internet Explorer to Medium or None.
This error can occur when you download an ActiveX document. The most common of these are listed below, with information on how to solve the problem.
Cause | Solution |
You are using the wrong .vbd file | Make sure you are using the .vbd file provided by the Package and Deployment Wizard. |
You are using an outdated .vbd file | The CLSID of your .vbd and .exe files may be out of synch. To preserve CLSIDs across builds in your projects, select Binary Compatibility on the Components tab of the Project Property dialog box. |
Your actxprxy,dll is missing or not registered | Use regsvr32 to register the file, or try recompiling your project. |
The Visual Basic runtime is not registered or not in the path | Use regsvr32 to register the file, or add it to your system path |
Your ActiveX document is not signed or safe for scripting | Set the browser safety settings to Medium. |
There is a run-time error in the ActiveX document's initialization code, particularly in the Initialize or InitProperties procedures | Do a run-time error check on your project. |
.cab files are not being downloaded | Make sure you are not distributing Visual Basic's core-dependent .cab files, which are not signed, onto a machine with browser security set to High. -or- Select "Download from alternate web site" from the File Source window when packaging your project in the Package and Deployment wizard and try your download again. |
Other solutions you can try include:
For More Information For more information on troubleshooting the download of ActiveX documents, see Article Q167380 in the Microsoft KnowledgeBase at http://premium.microsoft.com/support/kb/ARTICLES/.