INF: ??????? ???? ?????????? ??????? ???? ????? SQL DMO ??????

???? ?????? ???? ??????
???? ID: 248241 - ?? ???????? ?? ?????? ??? ?? ?? ???? ???? ???? ??.
??? ?? ??????? ???? | ??? ?? ??????? ????

?? ????? ??

??????

?? ???? ????????? SQL ????? ??????? ?????????? ?? ??????? ???? ?? ???????? ?? ???? SQL Server ?????? ??????? ???????? (SQL-DMO) ??????? ???? ??????????? ????? ???? ?? ??? ?????? ??? ???

???? ???????

??????? ????????

SQL DMO ?? ??? ???? ?? ?? ???? ????????? ?? ????? ??? SQL ????? ???????? ????? ???? ????????? ????? ???????? ?? ????? ???? ?????, ?? ??? ???? ????? ??????? ?????????? ?? ?? SQL ????? ??????? ?????????? ??????? ???? ???????, ?????, ?????? ????????? ???? ???? ??? ??, ?? ??? ?? ?? ?? ??????? ?? ????????? ??? ???? ???? ???? ??????? ????????? ???:
ActiveX ???????? ???? ??? ????
????? ??? ??? ?? ????? ???? ??
????????? ????? ???? ???? ????
???::Microsoft ???? ?????? ????? (MDAC) ?? ??????? ???? ?? ?????? ?? ???? ???? ???

MDAC Sqldmo.dll ???? ??????? ???? ?? ?? Sqldmo.dll ????? ?? ??????? ???? ?? ?? ?????? DLL ??? ???? MDAC ????? ?? ???? ??????? DLL ?? ?? ???? SQL DMO ??????? ??????? ?? ????? ???? ??? Regardless, ???? ????????? ?? ??????? ?? ??? ???????? MDAC ?? ???? ???? ?? ??, ???? ???? ????? ???? ?? ???? ??????? ???? ???? ??? MDAC DLL ?? ????? ???? ?? ??? ???? DMO ??????? ??????? ???? ?? ???? ??? ??, MDAC ?? ???????? ???????? ????? ????? ?? ?????? ???? ?? ?? ??? ???? ???? ??????? ???????? ?? ???????? ???? ????? ????? ?? ?? ?? ???? ???? ??? MDAC ??????????? ????? ???, ???? ?????? DLL ??????? ???? ?? ??? ??????? ???? ?? ???? DLL ?? ?? ???? ??? ??? ??? ????? ????

??????? ?????? ?? DLL ?? ???? ???? ?????? ???? ?? ??? discussed ???, ??????? ????? digress ?? ???? ?? ??? ?? ??????? Win32 ?? ??????? ???? ?? COM DLL ?????? ??? ?? ???? ?? ????????? ?? ??? ??? ????? ??? ?? ???? ?? ???????? ?? ????? ?? ????? apart ???? ???? ?? ???? ??? ?? ??? ?? ?? ?????? ????? DLL ?? ??? ???? ????? ????? ???, ?? ?? ??? ???? ?? ?? ???? ???? ??? ???? ?? ???:
  • ???? ??????? ???? ?? ??? COM ?????? Regsvr32 ?? ?????? ?? DLL ???????
  • ????????? ?? ??? ??? Win32 DLL ?? ???? ?? ??? ?????? ???
  • ?? ???? Win32 ??? ??? Win32 DLL ?? ?? ???? ?? ???????????
???-???, COM ?? ??? ?? distinction ????? ?? ??? ???? ?? ?? ???-COM ?????? DLL; ???????, ????????: ???? COM ?????? DLL ????? ????? ????????? ????? ??:
  • DllGetClassObject
  • DllRegisterServer
  • DllUnregisterServer
  • DllCanUnloadNow
????????? ????? ?? ????? ?? ??? DLL ?? ????-????? ????, ?? ???? ??? ????? ????????? ???????????? ???? ??? ??????? ?? DLL ??????? ?? "??????? ??????" ??? ??? ???? ??? ???? ??? ???

????? SQL DMO ?? ???? ??? ??? ??????? ?? DMO ?? ????? ???? ?? ??? ???? DLL ??????? ??:
  • Sqldmo.dll
  • Sqldmo.rll
  • Sqlsvc.dll
  • Sqlsvc.rll
  • Sqlwoa.dll
  • Sqlresld.dll
  • Sqlwid.dll
  • W95scm.dll
???? ?? ???? ??? ?? DLL, Sqldmo.dll ?? ?? ??????? ???????? ?? ??????? ???? ?? ??? ???? ???? ??? ???????, ??????????? Sqldmo.dll ????? ?? ???????, ???? ?? ??? Sqldmo.rll ????? ???? ????? ????? ??????? ???????? ?? ????? ?????????? ???:
(????? ???? ?????): c:\Mssql7\Binn\Resources\1033
(??????? ???? ?????): c:\Winnt\System32\Resources\1033
Sqldmo.rll ???? ????? ?????? ????? ??? ??? .rll ????? ??? ?????????? ?????? ????? ??? ?????? ?????????? ???? ?? SQL ????? ?? ??????? ?? ??? ??????? ???????? ????????? ???? ?? ?????? ??? ?? ?????? ??? ?????????? 1033 ?? 0X0409 ????? ???? ????????? ???? ?????????? ?? ?? ????? ????? .Rll ???? ?? ????? ?? ??, ?? ??? Regsvr32 ?????? invoking ?????? Sqldmo.dll ????? ?? ??????? ?? ???? ???? ????? ?? ??????? ???? ?? ??? ???? ??:
C:\Regsvr32 Sqldmo.dll
				
??????? ??? ??, ?? ?? ????? ?? ???? ?? ?? ??????? ???? ?????:
DLLRegisterServer SQLDMO.dll ??? ??? ????
??? ?? ???? ????????? ????? ????? ??? ?? ??????? ?? ???????? ???? ?? ??? ????? ???, ?? ?????? Regsvr32 ?????? ?? ??????? ??????? ?? ???? ??? ?????? ????? ?? ??????? ???? ?? ??? ???? ??:
c:\regsvr32 /s- sqldmo.dll
				
?????????? ??? Sqldmo.dll ????? ??????? ???????? ?? ?? ????? ?????? ???? ?????; ?????? ?? ????? ?? ???? ?? ?????? ????? ??????? ?? ???? ??:
LoadLibrary("C:\Winnt\System32\sqldmo.dll") ???? ????
GetLastError 0x0000007e ???? ??
?? ?????? ?? ???? ?? ?? ?? ?????? 126 (????? ??? expressed), "????????? ??????? ???? ????" ?????? ?? ???? ??, ?? ? ?? ??? ?? ?????? ??? ?? Sqldmo.rll ????? ?? ??? relates ??? ??????, Regsvr32 ?????? Sqldmo.dll ????? ????? ??, ????? ???? ??????? ????? ???? ?? ???? ?? ?? ?? Sqldmo.rll ????? ?? ???????? 1033 subdirectory ??? ?????? ???

?? ?? ????, ???? ?? ??? ????? ?????:
  1. Add a directory called "Resources" to the location where the Sqldmo.dll resides.
  2. Add a subdirectory under Resources called "1033".
  3. In this directory, copy the Sqldmo.rll file.
When complete, the directory structure should look like:
Directory that contains Sqldmo.dll\Resources\1033
And that 1033 directory should contain the Sqldmo.rll file.

In addition to the DLLs mentioned previously, you also want to make sure that you have the proper netlibrary DLLs installed. The main netlibrary DLLs you need here are:
  • Named Pipes: Dbnmpntw.dll
  • Sockets: Dbmssocn.dll
  • Multi-Protocol: Dbmsrpcn.dll
These are Win32 based DLLs, so you do not need to register these DLLs. Just place the DLLs into the System32 directory for Microsoft Windows NT or into the System directory for Microsoft Windows 95 or Windows 98.

After you complete the preceding steps, the client application should start without any of the initial problems caused by the absence of the necessary files.

???

???? ID: 248241 - ????? ???????: 03 ?????? 2010 - ??????: 2.0
???? ???? ???? ??:
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 7.0 Standard Edition
??????: 
kbinfo kbmt KB248241 KbMthi
???? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:248241

??????????? ???

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com