???? ????? ???? DSN ?? "????" ?? "????? ODBC

?????? ????????? ?????? ?????????
???? ???????: 260249 - ??? ???????? ???? ????? ????? ??? ???????.
??? ????? ??? ???????. ????? "??? ??" ??? ??? ??????? ??? ????.
????? ???? | ?? ????

???????

??? ????? ???? SQL Server ??? ???? ???????? (DSN) ???????? ?????? ODBC API SQLConfigDataSource ? ??? ?? ??? ????? ????? ???? ?????. ?? ???? ?????? ??????? ??? ????? ???? ??????? ?? ???? ???? ????? ???? ?????? ?? "????".

?????

?? "???? ??????" ? ???? ?????? ????? ???? ?? ????? ????? ?????? ODBC ???? ????? ??????. ???? ??????? ??? ????? ???? ??????? ?? ??????? ??? ???? ????? ????? ????? ???? ???????. ???? ??? "???? ?? ?????????" ?????? ??? ??????? ??? ??????? ????? ???? ????? SQLConfigDataSource.

????

??????? ???? ????? ?? ??? ????? ???? ???????.

??????: ??? ??? cosmetic. ?? ????? ???? ??? ????? ???? ???????.

??????? ????

???? ??????? ?????? ODBC API SQLConfigDataSource ?????? DSNs ???? SQL ????? ???????. ??? ???? ??????? ???????? ???????? ??????? ?????? DSN ?????? ?????? ???? MyNewDSN (?? ??????? ??? ??? ??????? ??????) ??????? ?????? ?????? pubs (????????) ???????? ???????? TCP/IP:
returnCode = SQLConfigDataSource(NULL,ODBC_ADD_SYS_DSN, (LPSTR) "SQL Server",
                                (LPSTR) "DSN=MyNewDSN\0"
                                "Network=DBMSSOCN\0"
                                "Server=MySqlServer\0"
                                "Database=pubs\0"
                                "Description=New Data Source\0");
				
????? DSN ???? ???? ?? ????? ?????? ????? ???? ??????? ?????????? ?? ?????? SQL ??????? ?? ??????? ??? ??????? ??????:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo
????? ????? DSQUERY ??? ????? ??????? ??? ????? ???? ??????? ?????????? ?? ?? SQL Server.

??? ??? ??? ????? ???? ??????? ???? ???? ?? SQLConfigDataSource ????? ??????? ????? ?? "?????? = dbmssocn\0"????? ??"???? = DBMSSOCN\0" ? ????? ???? ???? ????? ???? ????? ???? ??????? "????".

?????


229929INFO: ??????? ??????? ? ??????? ???????? ????? ????? ???? SQL
814844????? ?????: "????? ???? ?????? ?? ??? ???????? ???? ??? ?????? ??????" ???? ??? ????? SQL Server 2000 Service Pack 3 (SP3)

???????

???? ???????: 260249 - ????? ??? ??????: 21/???? ??????/1435 - ??????: 3.2
????? ???
  • Microsoft Data Access Components 1.5
  • Microsoft Data Access Components 2.0
  • Microsoft Data Access Components 2.1
  • Microsoft Data Access Components 2.5
  • Microsoft Data Access Components 2.6
  • Microsoft Data Access Components 2.7
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 7.0 Standard Edition
????? ??????: 
kbnosurvey kbarchive kbmt kbprb KB260249 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????260249

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