Ao entrar no sistema UltraPDV ou UltraAdm no Windows Vista/Windows 7/Windows 8/Windows 10 aparece o erro mscomctl.ocx , dbgrid32.ocx ou mscomct2.ocx ou Automation error ou "cannot initialize data bindings"

De UltramaxWiki
Revisão de 14h23min de 27 de janeiro de 2020 por Alan.victor (discussão | contribs)
(dif) ← Edição anterior | Revisão atual (dif) | Versão posterior → (dif)
Ir para navegação Ir para pesquisar

** Executar correção no registro do windows (pode utilizar o software Ccleaner). **

** Executar o comando sfc /scannow no cmd para verificar e tentar corrigir problemas na instalação do windows. **

-Causa

Conflito de DLL

Copie o Arquivo MSWINSCK.OCX do servidor na pasta C:\Ultrapdv\DAO\MSWINSCK.OCX para a pasta C:\Windows\System32 ou se for 64 bits para a pasta C:\Windows\Syswow64

para registrar a DLL execute o cmd como administrador e digite o comando:

regsvr32 "C:\Windows\System32\MSWINSCK.OCX"

ou

regsvr32 "C:\Windows\Syswow64\MSWINSCK.OCX" caso o sistema seja 64 bits

-SOlução 1

-Entre no Painel de Controle, Adicionar/Remover programas

-Remove o programa "UltraPDV Bibliotecas"

-Execute o arquivo c:\UltraPDVSetup\UltraPDVLib\UltraPDVDeps.msi

Solução 2: destivar controle de contas de usuario (UAC)

-Solução 3

Entre no prompt de comando e execute os comandos abaixo (voce pode criar um arquivo .bat para executar):

%windir%\system32\regsvr32 /u /s %windir%\system32\msadodc.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\dbgrid32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msflxgrd.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\comdlg32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msbind.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\mswinsck.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msderun.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\msinet.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\mswinsck.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\mscomctl.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msdatlst.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msflxgrd.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msmask32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\tabctl32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\mscomm32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msdbrptr.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\msdatgrd.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\mscomct2.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\mshflxgd.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msadodc.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msvbvm60.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\olepro32.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\comcat.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\msstdfmt.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\dblist32.ocx

%windir%\system32\regsvr32 /u /s %windir%\system32\msxml3.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\winhttp.dll

%windir%\system32\regsvr32 /u /s %windir%\system32\msstdfmt.dll

%windir%\system32\regsvr32 /s %windir%\system32\msadodc.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msflxgrd.ocx

%windir%\system32\regsvr32 /s %windir%\system32\comdlg32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msbind.dll

%windir%\system32\regsvr32 /s %windir%\system32\mswinsck.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msderun.dll

%windir%\system32\regsvr32 /s %windir%\system32\msinet.ocx

%windir%\system32\regsvr32 /s %windir%\system32\mswinsck.ocx

%windir%\system32\regsvr32 /s %windir%\system32\mscomctl.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msdatlst.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msflxgrd.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msmask32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\tabctl32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\mscomm32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msdbrptr.dll

%windir%\system32\regsvr32 /s %windir%\system32\msdatgrd.ocx

%windir%\system32\regsvr32 /s %windir%\system32\mscomct2.ocx

%windir%\system32\regsvr32 /s %windir%\system32\mshflxgd.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msadodc.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msvbvm60.dll

%windir%\system32\regsvr32 /s %windir%\system32\olepro32.dll

%windir%\system32\regsvr32 /s %windir%\system32\comcat.dll

%windir%\system32\regsvr32 /s %windir%\system32\msstdfmt.dll

%windir%\system32\regsvr32 /s %windir%\system32\dbgrid32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\dblist32.ocx

%windir%\system32\regsvr32 /s %windir%\system32\msxml3.dll

%windir%\system32\regsvr32 /s %windir%\system32\winhttp.dll

%windir%\system32\regsvr32 /s %windir%\system32\msstdfmt.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msadodc.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\dbgrid32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msflxgrd.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\comdlg32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msbind.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mswinsck.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msderun.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msinet.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mswinsck.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mscomctl.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msdatlst.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msflxgrd.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msmask32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\tabctl32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mscomm32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msdbrptr.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msdatgrd.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mscomct2.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\mshflxgd.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msadodc.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msvbvm60.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\olepro32.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\comcat.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msstdfmt.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\dblist32.ocx

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msxml3.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\winhttp.dll

%windir%\SysWOW64\regsvr32 /u /s %windir%\SysWOW64\msstdfmt.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msadodc.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msflxgrd.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\comdlg32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msbind.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mswinsck.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msderun.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msinet.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mswinsck.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mscomctl.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msdatlst.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msflxgrd.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msmask32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\tabctl32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mscomm32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msdbrptr.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msdatgrd.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mscomct2.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\mshflxgd.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msadodc.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msvbvm60.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\olepro32.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\comcat.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msstdfmt.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\dbgrid32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\dblist32.ocx

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msxml3.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\winhttp.dll

%windir%\SysWOW64\regsvr32 /s %windir%\SysWOW64\msstdfmt.dll

pause