Не устанавливается sql server 2012 на windows 7

  • Remove From My Forums
  • Question

  • Attempting to install Microsoft SQL Server 2012 Express Edition on my Windows 7 Ultimate 64 bit computer.

    During the installation process the following error is displayed…

    SQL Server Setup

    An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000B)

    LinkID: 20476

    Product Name: Microsoft SQL Server

    Message Source: setup.rll

    Any help on this would be greatly appreciated. Plan to install Microsoft Visual Studio 2012 Express also after this if this has any barring on how I should be installing this product.

    Thanks

    Colin

Answers

  • Thanks for your reply — I’m installing Microsoft SQL Server 2012 Express on a Windows 7 64-bit computer should I pre-install .NET 3.5 or .NET 4.0 ? — not 100% sure on this from your reply.

    I’ve uninstalled .NET 4.5 from my machine and will install 3.5 or 4.0 based on what you believe I should reinstall.

    Thanks, Colin

    Hello,

    It seems you are not reading my comment properly.

    .Net 3.5 SP1 is required ,install it before proceeding.This is corrupted in your case so uninstall it first

    .NET 4.0 is a requirement for SQL Server 2012. SQL Server installs .NET 4.0 during the feature installation step.

    • If you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4 because it is not included in the SQL Server Express media.


    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

    • Edited by

      Monday, August 19, 2013 3:02 PM
      removed install

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:21 AM

  • Hi Colin,

    As Shanky post, according to hardware and software requirement, before we installing SQL Server 2012 Express, we need to ensure you have downloaded and installed Microsoft .Net Framework
    3.5 SP1 and Windows Installer 4.5.

    There are some steps for reinstalling SQL Server Express , you can refer to the following points.
    1. Uninstall any previous SQL Server 2012 Express components (setup files, registry items, etc.),
    2. Download and install Microsoft .Net Framework 3.5 SP1 from
    here.
    3. Download and install Windows Installer 4.5 from
    here.
    4. Install VS 2012
    5. Install VS 2012 SP1
    6. Redownload SQL Server 2012 Express installer
    7. Right click installer and run as administrator.

    In addition, if this not work, could you please help us to collect the detailed error message and the following error log? It is very useful for our research.

    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\LOG\Summary.txt.
    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\<YYYYMMDD_HHMM>\Detail.txt

    There are more details about uninstalling SQL Server, you can review the steps (provided by Yu yoyo).
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4d6158a1-b601-428c-aad4-a1716e76de1a/install-sql-server-problem

    Thanks,
    Sofiya Li


    Sofiya Li
    TechNet Community Support

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:19 AM

I have tried everything i can think f to install SQL 2012 but no luck I am getting these errors but after looking through the logs I can’t find the actual cause to get a solution.

every feature gives me this error in the summary:

Detailed results:
Feature: Management Tools — Complete
Status: Failed: see logs for details
Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail.
Next Step: Use the following information to resolve the error, and then try the setup process again.

There is not information to resolve the error!

here is the last few lines from detail.txt about the installation:

(01) 2012-09-19 15:35:07 Slp: Condition is false because the required
feature SQL_SNAC_SDK_sqlncli_Cpu64 failed in result Result (01)
2012-09-19 15:35:07 Slp: Action
«ConfigEvent_SQL_PowerShell_Tools_ANS_sql_ssms_Cpu64_Install_Finalize_finalize»
will return false due to the following conditions: (01) 2012-09-19
15:35:07 Slp: Condition «Feature dependency condition for action:
ConfigEvent_SQL_PowerShell_Tools_ANS_sql_ssms_Cpu64_Install_Finalize_finalize
The condition tests feature: SQL_PowerShell_Tools_ANS_sql_ssms_Cpu64.
There are 2 dependant features. The feature is tested for results:
ValidateResult, Result, CleanupResult.» did not pass as it returned
false and true was expected. (01) 2012-09-19 15:35:07 Slp: Condition
is false because the required feature SQL_SSMS_Adv_sql_ssms_Cpu64
failed in result Result (01) 2012-09-19 15:35:07 Slp: Action
«ConfigEvent_SQL_SSMS_Full_sql_tools_Cpu64_Install_Finalize_finalize»
will return false due to the following conditions: (01) 2012-09-19
15:35:07 Slp: Condition «Feature dependency condition for action:
ConfigEvent_SQL_SSMS_Full_sql_tools_Cpu64_Install_Finalize_finalize
The condition tests feature: SQL_SSMS_Full_sql_tools_Cpu64. There are
4 dependant features. The feature is tested for results:
ValidateResult, Result, CleanupResult.» did not pass as it returned
false and true was expected. (01) 2012-09-19 15:35:07 Slp: Condition
is false because the required feature SQL_SSMS_Adv_sql_ssms_Cpu64
failed in result Result (01) 2012-09-19 15:35:07 Slp: Completed
Action: FinalizeTimingConfigAction, returned True (01) 2012-09-19
15:35:07 Slp:
———————————————————————- (01) 2012-09-19 15:35:07 Slp: Running Action: CreateARPRegKeyAction
(01) 2012-09-19 15:35:07 Slp: Completed Action: CreateARPRegKeyAction,
returned True (01) 2012-09-19 15:35:07 Slp:
———————————————————————- (01) 2012-09-19 15:35:07 Slp: Running Action:
RunRefreshDiscoveryAction (01) 2012-09-19 15:35:07 Slp: Running
discovery on local machine (01) 2012-09-19 15:35:08 Slp: Discovery on
local machine is complete (01) 2012-09-19 15:35:08 Slp: Completed
Action: RunRefreshDiscoveryAction, returned True (01) 2012-09-19
15:35:08 Slp:
———————————————————————- (01) 2012-09-19 15:35:08 Slp: Running Action: NotifyProgressComplete
(01) 2012-09-19 15:35:08 Slp: Completed Action:
NotifyProgressComplete, returned True (01) 2012-09-19 15:35:08 Slp:
———————————————————————- (01) 2012-09-19 15:35:08 Slp: Skipping Action:
DeleteUninstalledPatchRegistryAndCacheFolderAction (01) 2012-09-19
15:35:08 Slp: Action is being skipped due to the following
restrictions: (01) 2012-09-19 15:35:08 Slp: Condition «Do any of the
specified features match the expected scenario Uninstall» did not pass
as it returned false and true was expected. (01) 2012-09-19 15:35:08
Slp: Completed Action: ExecuteExtendedTimingsWorkflow, returned True
(01) 2012-09-19 15:35:08 Slp:
———————————————————————- (01) 2012-09-19 15:35:08 Slp: Running Action: DeleteUpdates (01)
2012-09-19 15:35:08 Slp: Deleting folder
‘C:\Users\mkimonos\AppData\Local\Temp\SQL Server 2012’. (01)
2012-09-19 15:35:08 Slp: Sco: Directory
C:\Users\mkimonos\AppData\Local\Temp\SQL Server 2012 does not exist
(01) 2012-09-19 15:35:08 Slp: Completed Action: DeleteUpdates,
returned True (01) 2012-09-19 15:35:09 Slp:
———————————————————————- (01) 2012-09-19 15:35:09 Slp: Running Action: ExecuteCloseWorkflow
(01) 2012-09-19 15:35:09 Slp: Workflow to execute: ‘CLOSE’ (01)
2012-09-19 15:35:09 Slp:
———————————————————————- (01) 2012-09-19 15:35:09 Slp: Running Action:
DetermineProductFeatureSummary (01) 2012-09-19 15:35:09 Slp: Completed
Action: DetermineProductFeatureSummary, returned True (01) 2012-09-19
15:35:10 Slp:
———————————————————————- (01) 2012-09-19 15:35:10 Slp: Running Action: ProduceStatusLogs (01)
2012-09-19 15:35:11 Slp: Completed Action: ProduceStatusLogs, returned
True (01) 2012-09-19 15:35:11 Slp:
———————————————————————- (01) 2012-09-19 15:35:11 Slp: Running Action: FinalizeProgressStatus
(01) 2012-09-19 15:35:11 Slp: Completed Action:
FinalizeProgressStatus, returned True (01) 2012-09-19 15:35:11 Slp:
———————————————————————- (01) 2012-09-19 15:35:11 Slp: Running Action: RebootMessageAction (01)
2012-09-19 15:35:11 Slp: Completed Action: RebootMessageAction,
returned True (01) 2012-09-19 15:35:11 Slp:
———————————————————————- (01) 2012-09-19 15:35:11 Slp: Skipping Action: FinishPage (01)
2012-09-19 15:35:11 Slp: Action is being skipped due to the following
restrictions: (01) 2012-09-19 15:35:11 Slp: Condition «Is the user’s
scenario set to EditionUpgrade» did not pass as it returned false and
true was expected. (01) 2012-09-19 15:35:11 Slp:
———————————————————————- (01) 2012-09-19 15:35:11 Slp: Running Action: CloseUI (01) 2012-09-19
15:35:11 Slp: Stop action skipped in UI Mode Full (01) 2012-09-19
15:35:11 Slp: Completed Action: CloseUI, returned True (01) 2012-09-19
15:35:12 Slp: Completed Action: ExecuteCloseWorkflow, returned True
(01) 2012-09-19 15:35:12 Slp: Completed Action:
ExecuteCompleteWorkflow, returned True (01) 2012-09-19 15:35:12 Slp:
Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE,
machine (01) 2012-09-19 15:35:12 Slp: Sco: Attempting to open
registry subkey Software\Microsoft\Microsoft SQL Server\110 (01)
2012-09-19 15:35:12 Slp: Sco: Attempting to get registry value
CustomerFeedback (01) 2012-09-19 15:35:14 Slp: (01) 2012-09-19
15:35:14 Slp: (01) 2012-09-19 15:35:14 Slp:
———————————————————————- (01) 2012-09-19 15:35:14 Slp: (01) 2012-09-19 15:35:14 Slp: Error
result: -2068643839 (01) 2012-09-19 15:35:14 Slp: Result facility
code: 1203 (01) 2012-09-19 15:35:14 Slp: Result error code: 1 (01)
2012-09-19 15:35:14 Slp: Sco: Attempting to create base registry key
HKEY_LOCAL_MACHINE, machine (01) 2012-09-19 15:35:14 Slp: Sco:
Attempting to open registry subkey Software\Microsoft\Microsoft SQL
Server\110 (01) 2012-09-19 15:35:14 Slp: Sco: Attempting to get
registry value CustomerFeedback

asked Sep 19, 2012 at 19:56

greektreat's user avatar

5

I had a similar isssue — Win7SP1, VS2010SP1, SQL2008R2, Powershell 2 etc. Every prerequisite was there and still SQL Server 2012 Developers edition did not install. Completing with the following error message for most of the features:

  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.

I did analysis on details.txt and figured that failure started with the following line:

Error: Action "Install_sqlncli_Cpu64_Action" failed during execution.

I figured it had something to do with «SQL Server 2012 Native Client». I think I had it installed with Azure SDK or something like this. So, I uninstalled it and re-ran SQL Server 2012 installer and it completed successfully!

Hope this helps.

answered Oct 11, 2012 at 21:55

bychkov's user avatar

bychkovbychkov

2311 silver badge3 bronze badges

1

The answer isn’t great but after multiple tries over a period of time i found nothing worked but when Microsoft released SQL 2012 with sp1 in our MSDN subscription I tried that Install and it work!

answered Feb 21, 2013 at 15:28

greektreat's user avatar

greektreatgreektreat

1731 gold badge1 silver badge4 bronze badges

I’d follow the following MSDN blog instructions: How to Fix a failed SQL 2005, 2008, R2 or 2012 Install/Upgrade — MSSQLSERVER.INACTIVE. It saved my burning arse a few times.

Mainly, what you need to do is (can’t quote correctly such a big text):

Start quote:

The REAL Resolution Steps: (don’t bother trying to figure out what went wrong…feel free to try the most-recommended resolution first if you’d like…but I’d suggest that if you have the above error/result, do the following:

  • Search your machine for files called Datastore_Discovery.xml (depending on how much you’ve got or done, you might see many of these…just open the most recent one and you’ll be fine

  • Open Datastore_Discovery.xml in an editor…given the formatting, what worked for me was in Visual Studio 2008/2010 and clicking Edit, Advanced, Format Document (this arranges the XML nicely)

  • What you’re looking for is all places where MSSQLServer.Inactive exists in the document as the Instance ID…below is a sample of how the line starts:

  • < Instance Urn=»Machine[@ID=’IWE’]/Product[@ID=’SQLVNEXT’]/Instance[@ID=’MSSQLSERVER.INACTIVE’]» ID=»MSSQLSERVER.INACTIVE»

  • Name=»MSSQLSERVER.INACTIVE» ……..

  • Scroll along the lines around the above one and find the following value field: ProductCode=»{9FFAE13C-6160-4DD0-A67A-DAC5994F81BD}» (and of course, don’t ACTUALLY use the code you see here…yours will be different…look for the brackets and use yours :-) )

  • There might be multiple ProductCodes, depending on how many times the line lists MSSQLServer.Inactive, so make sure to find all ProductCodes…BUT BE CAREFUL that you ignore any VALID instances of SQL. Only look for the ones under MSSQLServer.Inactive entries.

  • Now open a command line — For each of the ProductCodes that you found for the Inactive SQL Instances, type the following:

  • msiexec /x {9FFAE13C-6160-4DD0-A67A-DAC5994F81BD}

  • Do this for each Product Code that relates to an Inactive Instance

  • Once complete, go back to your SQL installation media and run Setup

  • Once the main splash screen launches, click on Tools, then Installed SQL Server features discovery report

  • This will launch a web page listing the SQL Instances and all features per instance

  • If you still see any MSSQLSERVER.INACTIVE there, you missed one of the ProductCodes and you need to double check. Otherwise, all of the orphaned SQL Instances should now be gone, and you can either Add Features or do a clean Default Instance reinstall

End quote.

This is what I did a few times to fix a corrupted installation and it worked flawlessly. I reinstalled only Reporting Services this way and so I didn’t disable or deactivate the complete instance. A packaging engineer told me it’s a usual stuff one should do to fix a corrupted application installation (remove corrupted components), but I admit I didn’t know how to do that for each separate component of the SQL Server. Hopefully this will give you a hint and will work for you too.

Glorfindel's user avatar

Glorfindel

2,1815 gold badges17 silver badges26 bronze badges

answered Nov 13, 2012 at 20:50

Marian's user avatar

MarianMarian

15.4k2 gold badges57 silver badges73 bronze badges

  • Remove From My Forums
  • Вопрос

  • Приветствую участников! Нужна помощь разобраться с ошибкой при установке SQL Server 2012 Express SP1 with Tools появляется «Ошибка при ожидании дескриптора восстановления компонента Database Engine».

    Картинка тут     s2.ipicture.ru/uploads/20140202/JxT7Obvn.png

    Журнал ошибок SQL Server прилагается    rghost.ru/52153650

    Ранее на данном компьютере уже была установлена и нормально работала эта же версия SQL Server, удалилась корректно вот по этой инструкции technet.microsoft.com/ru-ru/library/ms143412.aspx, конфигурация не менялясь, ошибка возникла
    при повторной установке с аналогичными параметрами

    Буду весьма признателен за оперативную помощь

    • Изменено

      2 февраля 2014 г. 18:41

Ответы

  • Проблема решена. При настроке установки у служб SQL Server и Агент SQL Сервера выставил системную учетную запись NT AUTHORITY\система, вместо тех что были по умолчанию. После этого установка прошла без ошибок.

    • Помечено в качестве ответа
      dmshush
      3 февраля 2014 г. 8:37

  • Remove From My Forums
  • Question

  • Attempting to install Microsoft SQL Server 2012 Express Edition on my Windows 7 Ultimate 64 bit computer.

    During the installation process the following error is displayed…

    SQL Server Setup

    An attempt was made to load a program with an incorrect format. (exception from HRESULT: 0x8007000B)

    LinkID: 20476

    Product Name: Microsoft SQL Server

    Message Source: setup.rll

    Any help on this would be greatly appreciated. Plan to install Microsoft Visual Studio 2012 Express also after this if this has any barring on how I should be installing this product.

    Thanks

    Colin

Answers

  • Thanks for your reply — I’m installing Microsoft SQL Server 2012 Express on a Windows 7 64-bit computer should I pre-install .NET 3.5 or .NET 4.0 ? — not 100% sure on this from your reply.

    I’ve uninstalled .NET 4.5 from my machine and will install 3.5 or 4.0 based on what you believe I should reinstall.

    Thanks, Colin

    Hello,

    It seems you are not reading my comment properly.

    .Net 3.5 SP1 is required ,install it before proceeding.This is corrupted in your case so uninstall it first

    .NET 4.0 is a requirement for SQL Server 2012. SQL Server installs .NET 4.0 during the feature installation step.

    • If you are installing the SQL Server Express editions, ensure that an Internet connection is available on the computer. SQL Server Setup downloads and installs the .NET Framework 4 because it is not included in the SQL Server Express media.


    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

    • Edited by

      Monday, August 19, 2013 3:02 PM
      removed install

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:21 AM

  • Hi Colin,

    As Shanky post, according to hardware and software requirement, before we installing SQL Server 2012 Express, we need to ensure you have downloaded and installed Microsoft .Net Framework
    3.5 SP1 and Windows Installer 4.5.

    There are some steps for reinstalling SQL Server Express , you can refer to the following points.
    1. Uninstall any previous SQL Server 2012 Express components (setup files, registry items, etc.),
    2. Download and install Microsoft .Net Framework 3.5 SP1 from
    here.
    3. Download and install Windows Installer 4.5 from
    here.
    4. Install VS 2012
    5. Install VS 2012 SP1
    6. Redownload SQL Server 2012 Express installer
    7. Right click installer and run as administrator.

    In addition, if this not work, could you please help us to collect the detailed error message and the following error log? It is very useful for our research.

    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\LOG\Summary.txt.
    C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\<YYYYMMDD_HHMM>\Detail.txt

    There are more details about uninstalling SQL Server, you can review the steps (provided by Yu yoyo).
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/4d6158a1-b601-428c-aad4-a1716e76de1a/install-sql-server-problem

    Thanks,
    Sofiya Li


    Sofiya Li
    TechNet Community Support

    • Marked as answer by
      Sofiya Li
      Monday, August 26, 2013 9:19 AM

logo_sql_2012В данной статье будет приведена подробная пошаговая инструкция по установке Microsoft SQL Server 2012. В примере приведены особенности установи в операционных системах — Microsoft Windows Server 2012 R2 и Microsoft Windows Server 2008 R2, в других ОС семейства Windows процесс установки аналогичен.

0. Оглавление

  1. Что понадобится
  2. Установка .NET Framework 3.5
  3. Установка SQL Server 2012
  4. Настройка Брандмауэра Windows для MS SQL Server 2012
  5. Администрирование SQL Server 2012

1. Что понадобится

  1. Компьютер соответствующий минимальным системным требованиям для работы с SQL Server 2012. Подробно о требовании к оборудованию и операционной системе читайте здесь.
  2. Права администратора на локальном компьютере.
  3. Установочный диск Microsoft SQL Server 2012, или образ диска (скачать можно, например, на официальном сайте).
  4. Действующий ключ продукта (не обязательно) для необходимой редакции MS SQL Server 2012.

2. Установка .NET Framework 3.5

Прежде всего необходимо установить компоненту .NET Framework версии 3.5 с пакетом обновления SP1. О том как это сделать можно прочитать в статьях:

  • Установка компоненты .NET Framework 3.5 в Microsoft Windows Server 2012 R2
  • Установка компоненты .NET Framework 3.5 в Microsoft Windows Server 2008 R2

3. Установка SQL Server 2012

Запускаем файл «setup.exe» с установочного диска.

Откроется «Центр установки SQL Server» (SQL Server Installation Center), переходим на вкладку «Установка» (Installation) и нажимаем на «Новая установка изолированного экземпляра SQL Server или добавление компонентов к существующей установке» (New SQL Server stand-alone installation or add features to an existing installation).

Запустится «Программа установки SQL Server 2012» (SQL Server 2012 Setup). Убедимся что нет проблем, которые могут возникнуть во время установки файлов поддержки программы установки и нажмем «ОК». Если все же возникли какие-либо проблемы, необходимо устранить их и повторить процедуру проверки нажав «Включить заново» (Re-run).

Теперь необходимо ввести ключ продукта (если он у вас есть) или выбрать свободный выпуск SQL Server. Это может быть:

  • Evaluation Edition — полный набор компонентов, с ограничением использования в 180 дней.
  • Express Edition — бесплатная версия с ограниченным функционалом.

В зависимости от введенного ключа, будет выбрана для установки соответствующая данному ключу редакция MS SQL Server 2012.

Ключ продукта можно будет ввести в любое время, после установки SQL Server. О том как это сделать читайте в статье Изменение версии или ввод ключа Microsoft SQL Server 2012.

После выбора параметров нажимаем «Далее» (Next).

Принимаем условия лицензионного соглашения, соглашаемся (или нет) на передачу данных об использовании компонентов в корпорацию Microsoft и жмем «Далее»  (Next).

Если имеются обновления программы установки, включаем обновление продукта, нажав «Включить обновления продукта SQL Server» (Include SQL Server product updates) и нажимаем «Далее» (Next).

Дожидаемся окончания загрузки обновлений и установки файлов установки SQL Server.

Вот и закончился подготовительный этап, и мы приступаем к непосредственной установке и выбору параметров SQL Server. Убеждаемся что нет проблем, которые могут возникнуть во время установки и нажмем «Далее» (Next). Если же все имеются какие-либо проблемы, необходимо устранить их и повторить процедуру проверки нажав кнопку «Включить заново» (Re-run).

Вариант установки выбираем «Установка компонентов SQL Server» (SQL Server Feature Installaion) и нажимаем «Далее» (Next).

Теперь выбираем компоненты для установки. Для большинства случаев (например для работы и администрирования сервера 1С:Предприятие), вполне достаточно установки компонент:

  • Службы компонента Database Engine (Database Engine Services)

— непосредственно самой службы MS SQL Server, и программы «Среда SQL Server Management Studio» для администрирования SQL Server, т. е. компоненты 

  • Средства управления — основные (Management Tools — Basic)
    • Средства управления — полный набор (Management Tools — Complete)

Все компоненты всегда можно доставить / удалить, просто заново запустив установку SQL Server. Выбрав необходимые компоненты, нажимаем «Далее» (Next).

Опять убеждаемся, что процесс установки не будет заблокирован, исправляем проблемы в противном случае и нажимаем «Далее» (Next).

Теперь необходимо ввести имя именованного экземпляра SQL Server или оставить имя экземпляра по умолчанию. На одном изолированном сервере возможно устанавливать до 50 именованных экземпляров MS SQL Server 2012 и до 25 в отказоустойчивом кластере при использовании общего диска кластера (ссылка). Экземпляр по умолчанию может быть только один. Определившись с именем (Named instance) и идентификатором (Instance ID) экземпляра SQL Server нажимаем «Далее» (Next).

Убедимся что имеется достаточно свободного пространства для установки выбранных компонент SQL Server и снова нажмем «Далее» (Next).

Теперь выберем режим запуска служб SQL Server. Поменяем параметр запуска Агента SQL Server (SQL Server Agent) на «Авто» (Automatic) (для того чтобы отрабатывали регламентированные задания агента SQL). В этом окне также можно задать учетную запись Windows из под которой будут запускаться различные службы SQL Server, выбрав ее в столбце «Имя учетной записи» (Account name) и введя пароль для этой учетной записи в столбце «Пароль» (Password) напротив соответствующей службы. Далее перейдем на вкладку «Параметры сортировки» (Collation).

Здесь необходимо определиться с параметрами сортировки баз данных по умолчанию.

Для большинства программ, которые будут работать с SQL сервером (например для систем 1С:Предприятие) достаточно выбрать «Cyrillic_General_CI_AS». Указав параметры сортировки нажимаем «Далее» (Next).

Теперь следует выбрать режим проверки подлинности (Authentication Mode). Я рекомендую выбрать «Смешанный режим» (Mixed Mode), ввести пароль на встроенную учетную запись «sa», а также добавить администраторов SQL Server из числа имеющихся пользователей Windows с помощью кнопок «Добавить текущего пользователя» (Add Current User) и «Добавить…» (Add..). Для того, чтобы позже не забыть введенный при установке пароль, рекомендую использоваться специальные менеджеры паролей, например бесплатную программу KeePass. Установив все параметры переходим на вкладку «Каталоги данных» (Data Directories).

Здесь можно выбрать каталог хранения баз данных (Data root directory). Для большинства случаев рекомендуется придерживаться следующих правил:

  • Если в конфигурации сервера присутствует RAID-массив из жестких дисков, разумно расположить файлы данных именно на нем.
  • Если есть такая возможность, рекомендуется разнести файлы баз данных и файлы журналов баз данных на разные диски.
  • Каталог системной базы данных temp и каталог журналов базы temp желательно вынести на быстрый SSD диск, это даст ощутимый прирост производительности SQL Server.
  • В некоторых ситуациях есть смысл изменить каталог резервного копирования, выбрав физический диск, отличный от диска с файлами баз данных.

Указав необходимые пути, переходим на вкладку «FILESTREAM».

Если на данном SQL-сервере в будущем планируется хранить неструктурированные данные, например большие документы, изображения, видеофайлы и пр., и для хранения таких файлов будет использоваться хранилище FILESTREAM, то необходимо также настроить соответствующие параметры на данной вкладке. В противном случае, оставляем настройки без изменений и нажимаем «Далее» (Next).

Ustanovka_SQL_2012_25

Принимаем решение об отправке (или не отправке) отчетов об ошибках в компанию Microsoft и снова жмем «Далее» (Next).

В очередной раз убеждаемся что процесс установки не будет заблокирован, исправляем ошибки, если они имеют место быть, и нажимаем «Далее» (Next).

Проверяем все введенные на предыдущих шагах параметры. Обратим внимание, что значение всех введенных параметров будет сохранено в файле конфигурации ConfigurationFile.ini. При повторной установке SQL Server, данный файл можно указать в качестве параметра для программы установки, в этом случае установка SQL Server пройдет в автоматическом режиме, а настройки будут взяты из конфигурационного файла. Данный способ можно использовать, если необходимо быстро установить несколько экземпляров SQL Server с одинаковыми параметрами, или для «бэкапа» параметров принятых во время установки текущего экземпляра.

Нажимаем «Установить» (Install), для запуска процесса установки SQL Server.

Установка может быть довольно продолжительной по времени. Дожидаемся ее окончания.

Затем убеждаемся, что все компоненты установлены успешно и завершаем работу мастера нажав на кнопку «Закрыть» (Close).

Установка Microsoft SQL Server 2012 завершена.

4. Настройка Брандмауэра Windows для MS SQL Server 2012

Если предполагается, что с SQL сервером будут работать программы, расположенные на других компьютерах в сети, то на самом сервере, где запущена служба SQL Server необходимо настроить Брандмауэр Windows для работы SQL Server. Подробно об этом можно прочитать здесь.

5. Администрирование Microsoft SQL Server 2012

Для администрирования (добавления баз данных, пользователей и пр.) используется программа «SQL Server Management Studio». В Microsoft Windows Server 2012 R2 данную программу можно найти в списке всех программ.

Ustanovka_SQL_2012_23

В Microsoft Windows Server 2008 R2 в меню «Пуск» (Start) — «Microsoft SQL Server 2012» — «Среда SQL Server Management Studio».

Ustanovka_SQL_2012_23

Для подключения к службе Database Engine SQL Server в поле «Имя сервера» (Server name) указываем сетевое имя компьютера или локальный IP-адрес, затем «\» и имя экземпляра SQL сервера, или используемый псевдоним экземпляра SQL Server, если таковой задан.

Ustanovka_SQL_2012_24

  • Не устанавливается exe файл на windows 10
  • Не удаляется файл подкачки windows 10
  • Не устанавливается excel на windows 7
  • Не удаляется файл из очереди печати windows 10
  • Не устанавливается docker на windows 10