Method of Object Failed

Error:

Method of Object Failed

Error Message:

Causes:

  1. Application is not compatible with the operating system.
  2. Turn on Data Execution Prevention [DEP] for Essential Windows Programs and Services.
  3. Need to repair Microsoft data access components [MDAC].

Solution 1: Program compatible might be set to some lower editions of Windows OS.

  1. Right click on the Program.
  2. Click on Properties.
  3. Click on “Compatibility” tab.
  4. “Uncheck” the Run this program in compatibility mode.
  5. Click Apply and OK.

Solution 2: Turn on DEP

  1. Right click My Computer > Click Advanced > Click Performance Settings.
  2. In Visual Effects tab Select “Let windows choose what’s best for my computer.
  3. In Data Execution Prevention tab select “Turn on DEP for essential Windows Programs and services only”.

Solution 3: Re-Install the MDAC

  1. Navigate to C:\Windows\Inf  folder.
  2. Search for mdac.inf file.
  3. Right click mdac.inf and Click Install.
  4. When installation wizard prompts for each of the following files, try to browse and locate them in the directories specified.
    • adcjavas.inc – C:\Windows\servicepackfiles\i386
    • handler.reg – C:\Program Files\Common Files\System\msadc
    • MDACRdMe.htm – C:\Program Files\Common Files\System\Ado
    • oledbjvs.inc – C:\Program Files\Common Files\System\Ole DB
    • mssoap1.dll – C:\Program Files\Common Files\MSSoap\Binaries
    • mssoapr.dll – C:\Program Files\Common Files\MSSoap\Binaries

Note:

  • If the required files are not there, you are required to copy OLE DB, msadc, Ole DB and Binaries folders from another computer and place them in the C:\Program Files\Common Files\System32 folder.
  • Otherwise insert Operating system CD later click on OK, later installation succeeds.