Thursday, November 29, 2012

VB issue with Office 2010 “Can not load an object because it is not available on this machine”


Prerequisite:
1.      The user applying the below fix should be a local administrator of the system
2.      The user should have a basic knowledge of Windows 7 operating system and files
3.      Before starting make sure you below files in it;
a.     MSCAL.OCX
b.     MSCOMCT2.ocx
c.      MSCOMCTL.OCX
The solution is for below error and mainly found for below site



Solution:

Clear Cache

Remove all cached control type libraries as follows:
  • Close all running instances of Excel or Word
  • Navigate to: C:\Users\USERNAME\appdata\Roaming\Microsoft\Forms
  • Remove all *.exd files
 
Coping the missing file

Navigate to below paths and copy all three .ocx file present in “VBLoadIssue” folder

Path: C:\Windows\System32
Path: C:\Windows\SysWOW64
 



Open the Command prompt with run as administrator:

 

Type the below command for registering the file to regsvr32.exe;
regsvr32 c:\windows\system32\mscal.ocx

 

 
You will get the success window as per screenshot

 

 

No comments: