ms sql native extension not installed что делать
Ms sql native extension not installed что делать
Добрый день! Уважаемые читатели и гости одного из крупнейших IT блогов в России Pyatilistnik.org. В прошлый раз мы с вами разобрали, как скачать последнюю версию SQL Server Management Studio и настроили Always On кластер. В сегодняшней публикации мы рассмотрим, где скачать и как установить SQL Native Client, разберем примеры его использования на практике, думаю будет как всегда познавательно и интересно.
Что такое SQL Native Client
Драйвер ODBC для SQL Native Client всегда используется вместе с диспетчером драйверов ODBC, поставляемым с компонентами доступа к данным Windows. Поставщик OLE DB для собственного клиента SQL Server можно использовать вместе с базовыми службами OLE DB, поставляемыми с компонентами доступа к данным Windows, но это не является обязательным требованием. Выбор использования Core Services не зависит от требований отдельного приложения (например, если требуется пул соединений).
Хотя SQL Native Client использует компоненты в Windows DAC, он явно не зависит от конкретной версии. Собственный клиент SQL Server можно использовать с версией Windows DAC, установленной с любой операционной системой, поддерживаемой нативным клиентом SQL Server.
Зачем мне нужен собственный клиент SQL?
Например данный клиент используется при установке отказоустойчивых служб удаленных рабочих столов, где они используются на Connection Broker.
Где скачать SQL Native Client
Скачать собственный клиент SQL Server вы можете с официального сайта Microsoft, единственное вам придется потрудится найти самую последнюю, актуальную версию, на момент написания данной статьи, самой свежей версией собственного клиента SQL Server является SQL Native Client 11 (2011.110.7001.00).
Собственный клиент SQL Server распространяется тремя способами:
Тут будет два файла sqlncli.msi, один для 64-x, а другой для 86-x архитектуры.
В результате у вас будет свой файл sqlncli.msi, в зависимости от вашей разрядности системы.
Как установить SQL Native Client
Давайте разберем установку SQL Native Client, она тривиальна, но я приведу ее тут. Запускаем MSI файл, в открывшемся мастере просто нажимаем «Далее».
Далее принимаем лицензионное соглашение.
Выбираем оба компонента:
Далее остается просто нажать кнопку «Установить«.
Через пол минуты мастер завершит установку SQL Native Client.
Как узнать версию SQL Native Client
Иногда нужно выяснить версию SQL Native Client, по ряду причин. Методом много, я приведу несколько. Откройте панель управления Windows и перейдите в раздел «Программы и компоненты«. Находим программу в списке и в столбце с версией находим нужную информацию.
Еще вариант, это перейти по пути «Панель управления\Все элементы панели управления\Администрирование» и найти там компонент «Источники данных ODBC (ODBC Data Soutces)«. На любой вкладке нажмите кнопку «Добавить» и в открывшемся окне найдите компонент SQL Server Native Client. Там вы увидите версию компонента.
Так же очень просто сделать запрос в PowerShell, для этого выполните:
В итоге вы должны получить список программ, где легко отыщите версию SQL Native Client.
Ну и метод для командной строки, в которой нужно ввести:
Ms sql native extension not installed что делать
Общие обсуждения
I’m using wamp server in Windows 8×64 whit this specification:
Apache: 2.2.22
PHP: 5.3.13
When I try to open a webpage I’m getting this error: mssqlnative extension not installed
I found some solution on Internet, but It still not working.
I have downloaded Microsoft Drivers 3.0 for PHP for SQL Server from: http://www.microsoft.com/en-us/download/details.aspx?id=20098
I choose SQLSRV30.EXE
I extract the files in folder ext inside php folder: (C:\wamp\bin\php\php5.3.13\ext)
After that in php.ini i add the following line: extension=php_sqlsrv_53_ts.dll
Finally I reboot the server. However I’m still getting the same error.
I tried to change the line extension=php_sqlsrv_53_ts.dll whit the other installed dll, but all of them are getting the same error. Can anyone give me a hand?
Pd: Sorry for my bad English
I left the solution here to help everyone with the same problem.
It seems that Microsoft Drivers 3.0 for PHP for SQL Server only works on 32 bits operative system (¬¬). I have intalled wamp in its 32 bits and its working perfectly.
Ms sql native extension not installed что делать
Общие обсуждения
I’m using wamp server in Windows 8×64 whit this specification:
Apache: 2.2.22
PHP: 5.3.13
When I try to open a webpage I’m getting this error: mssqlnative extension not installed
I found some solution on Internet, but It still not working.
I have downloaded Microsoft Drivers 3.0 for PHP for SQL Server from: http://www.microsoft.com/en-us/download/details.aspx?id=20098
I choose SQLSRV30.EXE
I extract the files in folder ext inside php folder: (C:\wamp\bin\php\php5.3.13\ext)
After that in php.ini i add the following line: extension=php_sqlsrv_53_ts.dll
Finally I reboot the server. However I’m still getting the same error.
I tried to change the line extension=php_sqlsrv_53_ts.dll whit the other installed dll, but all of them are getting the same error. Can anyone give me a hand?
Pd: Sorry for my bad English
I left the solution here to help everyone with the same problem.
It seems that Microsoft Drivers 3.0 for PHP for SQL Server only works on 32 bits operative system (¬¬). I have intalled wamp in its 32 bits and its working perfectly.
Ms sql native extension not installed что делать
This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.
Asked by:
General discussion
I’m using wamp server in Windows 8×64 whit this specification:
Apache: 2.2.22
PHP: 5.3.13
When I try to open a webpage I’m getting this error: mssqlnative extension not installed
I found some solution on Internet, but It still not working.
I have downloaded Microsoft Drivers 3.0 for PHP for SQL Server from: http://www.microsoft.com/en-us/download/details.aspx?id=20098
I choose SQLSRV30.EXE
I extract the files in folder ext inside php folder: (C:\wamp\bin\php\php5.3.13\ext)
After that in php.ini i add the following line: extension=php_sqlsrv_53_ts.dll
Finally I reboot the server. However I’m still getting the same error.
I tried to change the line extension=php_sqlsrv_53_ts.dll whit the other installed dll, but all of them are getting the same error. Can anyone give me a hand?
Pd: Sorry for my bad English
I left the solution here to help everyone with the same problem.
It seems that Microsoft Drivers 3.0 for PHP for SQL Server only works on 32 bits operative system (¬¬). I have intalled wamp in its 32 bits and its working perfectly.
«SQL Server Native Client is not installed» error is appearing while running powerbuilder Application
3 Answers 3
I believe run times need to be in the PATH and best to use the run time packaging tool that comes with PowerBuilder. You can extract the files from the resultant MSI including extracting the PATH statements.
Did you even bother reading the help file under run time files? This site isn’t a free service to do dirty work for you we give (and take) in a reciprocal way. Overlooking since you are new here.
The SQLNCLI* files are Microsoft owned and the PowerBuilder Native run time (pbsnc170.dll) is needed to interact with the SQL layer.
Relating to OLE DB
OLE DB database providers
If your application uses OLE DB to access data, you must install Microsoft’s Data Access Components software on each user’s computer if it is not installed already.
The PowerBuilder OLE DB interface requires the functionality of the Microsoft Data Access Components (MDAC) version 2.8 or later software.
To check the version of MDAC on a computer, users can download and run the MDAC Component Checker utility from the MDAC Downloads page at http://msdn2.microsoft.com/en-us/data/aa937730.aspx.
On the Windows 7/8.1/10 operating systems, the Windows Data Access Components (DAC) version 6.0 replaces MDAC, and implements the functionality requirements of the PowerBuilder OLE DB interface.
Several Microsoft OLE DB data providers are automatically installed with MDAC and DAC, including the providers for SQL Server (SQLOLEDB) and ODBC (MSDASQL).
PowerBuilder Runtime Packaging
PB 2017 may not include the run time packager tool.
The PowerBuilder Runtime Packager is a tool that packages the PowerBuilder files an application needs at runtime into a Microsoft Windows Installer package (MSI) file. Windows Installer is an installation and configuration service that is installed with newer Microsoft Windows operating systems.
To use the PowerBuilder Runtime Packager:
If your application uses DataWindow XML export or import, check the XML support check box.
If your application uses the XML services provided by the PowerBuilder Document Object Model, or if it is an EJB client or a SOAP Web services client, select the appropriate check boxes.