Ошибка sql истек период оценки

title description ms.date ms.custom ms.prod

Evaluation period has expired when you use SSMS

This article provides a resolution for the problem that occurs when you use Microsoft SQL Server tools such as SQL Server Management Studio (SSMS) or SQL Profiler.

10/22/2020

sap:Database Engine

sql

Evaluation period has expired error message when working with SQL server

This article helps you resolve the problem that occurs when you use Microsoft SQL Server tools such as SQL Server Management Studio (SSMS) or SQL Profiler.

Original product version:   SQL Server
Original KB number:   971268

Symptoms

You may encounter the following error message when using SQL Server tools such as SQL Server Management Studio (SSMS) or SQL Profiler:

Evaluation period has expired. For information on how to upgrade your evaluation software please go to https://www.microsoft.com/sql/howtobuy

Additionally you may see the following error message when you try to connect to an expired installation of SQL Server instance:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 — Could not open a connection to SQL Server)

[!NOTE]
The connectivity error message is a generic message, and it is not always tied to an expired installation of a SQL Server instance.

Cause

The problem usually occurs when you are running an evaluation instance of SQL Server and the evaluation time period has expired.

[!NOTE]
In the case of SQL Server 2008, you may see this error message even after upgrading to a licensed version because of a known bug.

Resolution

  • Case 1 — You have an expired version of SQL server evaluation edition

    [!NOTE]
    This also applies to scenarios wherein only tools are installed from an evaluation version.

    To upgrade the Evaluation Edition to a retail edition, you can consult the following topics in Books Online:

    • Upgrade to a Different Edition of SQL Server 2012 (Setup)

    • Supported version & edition upgrades (SQL Server 2016)

      [!NOTE]
      In either of these topics, you can select the version picker tool at the top to pick a topic that is relevant to your environment. For SQL Server 2008 you can also refer to the KB article: Upgrade to a Different Edition of SQL Server (Setup). For SQL Server 2005, check the following KB article Upgrade to a Different Edition of SQL Server (Setup)

  • Case 2 — Moving from an enterprise evaluation edition to an express edition

    In some cases, you may decide to move from an Enterprise evaluation edition to an Express edition. Since there is no upgrade path available, you can consult the following article on moving your user databases from the evaluation edition to express edition.

    • Scenario 1 — You are still able to start your SQL Server evaluation version

      Consult the following topic in SQL Server Books Online on how to move user databases: Database Detach and Attach (SQL Server)

    [!NOTE]
    The maximum relational database size for SQL Express editions is 10 gigabytes (GB).

    • Scenario 2 — You cannot start an expired edition of your Enterprise evaluation edition because the evaluation period has expired

      If the database size is less than 10 gigabytes (GB), you can follow these steps:

      1. Install an express edition of the product.

      2. Locate the data files (mdf and ldf) files for your database.

      3. Attach these files to the SQL express edition.

        [!NOTE]
        Before you attach the data files to SQL Express edition, if these files are currently located in the default data directory for the old instance, you may want to move the database files from their current location to either the new data directory for the new installation or to another location on the server.

  • Case 3 — You are running into this issue in SQL Server 2008 environments even after upgrading to a licensed version of SQL Server

    In this case, you have the following options.

    [!NOTE]
    You will also notice this issue on systems where you had originally installed the evaluation edition of the shared tools and later upgrade to a licensed version.

    • Option 1

      Apply Service Pack 1 for SQL Server 2008 before upgrading the evaluation edition to a licensed edition.

      [!NOTE]
      If you had already performed the edition upgrade before applying Service Pack 1 for SQL server 2008, you will be required to go through all the steps mentioned in the Option 2 section to resolve the problem. The service pack will only prevent issues that involve future edition upgrades.

    • Option 2

      Use the following procedure to fix the issue:

      [!IMPORTANT]
      This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see the following article: How to back up and restore the registry in Windows.

      1. Click Start, click Run, type Regedt32, and then click OK.

      2. Locate and then click the following key in the Registry Editor:

        HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SQL Server100ConfigurationState

      3. In the right pane of the Registry Editor, select CommonFiles DWord value.

      4. On the Edit menu, click Modify.

      5. Type 3, and then click OK.

      6. Quit Registry Editor.

      7. Rerun the Upgrade to a Different Edition of SQL Server (Setup) procedure to complete the upgrade of all the components to a licensed edition.

Check whether SSMS will expire

  1. Start SQL Server Management Studio.
  2. Select the Help menu and then the About… submenu from the list. You will run into the problem discussed in the article if the component Microsoft SQL Server Management Studio has expires in ‘x’ days next to it.

Applies to

  • SQL Server 2008 Developer
  • SQL Server 2008 Enterprise
  • SQL Server 2008 Standard
  • SQL Server 2008 Web
  • SQL Server 2008 Workgroup
  • SQL Server 2008 R2 Developer
  • SQL Server 2008 R2 Enterprise
  • SQL Server 2008 R2 Express with Advanced Services
  • SQL Server 2008 R2 Standard
  • SQL Server 2008 R2 Standard Edition for Small Business
  • SQL Server 2012 Developer
  • SQL Server 2012 Enterprise
  • SQL Server 2012 Express
  • SQL Server 2012 Standard
  • SQL Server 2012 Web
  • SQL Server 2012 Enterprise Core
  • SQL Server 2014 Developer
  • SQL Server 2014 Enterprise
  • SQL Server 2014 Enterprise Core
  • SQL Server 2014 Express
  • SQL Server 2014 Standard

Копия оценки SQL Server expirado — Срок оценки истек.

Вчера закончился пробный период SQL Server 2014, установленного на моем компьютере. Я решил использовать экспресс-выпуск, удалил SQL Server 2014 и установил экспресс-выпуск.

Но когда я открываю SQL Server Management Studio, по-прежнему возникает ошибка:

период оценки истек

После этого я установил версию SQL Server 2014 для разработчиков, которая, как я понял, теперь бесплатна. Установка прошла успешно, но при открытии SQL Server Management Studio у меня все еще возникает та же ошибка.

Как я могу использовать версию SQL Server Express или Developer edition?

Спасибо

  • Вы можете продлить оценочный период SQL Server без удаления текущего SQL-сервера или установки нового SSMS, как указано на Срок действия оценки SQL Server истек

Вы можете установить предварительные версии SSMS. Они имеют те же функции, что и предыдущие версии, с большим количеством исправлений ошибок и лучшей совместимостью с базами данных Azure SQL: https://msdn.microsoft.com/en-us/library/mt238290.aspx

SQL Server — одно из худших приложений, когда мы говорим об удалении). Вам следует попробовать удалить его снова, но на этот раз сделайте это гораздо более тщательно.

  1. остановить все экземпляры и службы SQL Server (или пропустить этот пункт)
  2. простое удаление SQL Server
  3. установите что-то вроде cCleaner и удалите все другие файлы SQL Server, такие как файлы реестра и временные файлы
  4. устанавливать новую версию только после полного удаления предыдущей версии (+ перезапуск компа);

Удачи.

  • Спасибо! Я только что установил managment studio 2016 и наконец он работает))

Если кто-то наткнется на эту тему, измените Edition под Free Edition к Developer и примените изменения.

Вы найдете эту функцию на SQL Server Installation Center -> Maintenance -> Edition Upgrade

Tweet

Share

Link

Plus

Send

Send

Pin

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

  • При попытке запуска ms sql 2008 r2, появляется сообщение «Период оценки истек. Сведения о том, как обновить ознакомительную версию продукта, можно получить по адресу: http://www.microsoft.com/sql/howtobuy/».

    Пытался исправить, как написано здесь http://support.microsoft.com/kb/971268: обновил, делал «обновление выпуска» на Express. Не помогло.

    Как решить проблему?

    • Перемещено

      24 октября 2011 г. 8:57
      в соответствующий раздел (От:Windows Server 2008)

Ответы

  • Не пойму одного: какой период оценки? — у меня express edition.

    это весело, конечно, но SQL Server Express не имеет периода оценки; у Вас стоит или SQL Server какой-нибудь Trial, или, что более вероятно, ознакомительная пре-релизная версия SQL Server Express.

    Попробуйте обходные маневры с реестром и каталогом сервера, которые предлагаются здесь

    Evaluation Expired unable to use Management Studio


    Мнения, высказанные здесь, являются отражением моих личных взглядов, а не позиции корпорации Microsoft. Вся информация предоставляется «как есть» без каких-либо гарантий.

    • Предложено в качестве ответа
      Dmitry Davydov
      8 ноября 2011 г. 11:50
    • Помечено в качестве ответа
      Roman ZhukovModerator
      8 ноября 2011 г. 11:51

Важно понимать, что Инструкции для RedHat 7.3 и 7.4 применимы к соответствующим версиям CentOS. Поскольку вы не указали, какую версию CentOS вы используете, я могу только предположить, что вы используете версию, основанную на RHEL 7.3 или RHEL 7.4. Если это не так, то ваша ОС не поддерживает MSSQL.

Кто-нибудь может мне помочь? Почему я получаю эту ошибку, я не могу продолжить
настройку.

Я подозреваю, следуя неофициальным инструкциям вы случайно установили пакет CTP или RC SQL Server 2017. Корпорация Майкрософт обычно ограничивает предварительные сборки определенными временными рамками. Перед выполнением любой из приведенных ниже команд вам потребуется удалить то, что вы установили, с помощью соответствующих команд.

Для решения этой проблемы вам необходимо выполнить следующую команду:

sudo rm -rf /etc/yum.repos.d/mssql-server.repo

После успешного выполнения этой команды вам необходимо выполнить следующую команду:

sudo curl -o /etc/yum.repos.d/mssql-server.repo
https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo

В собственной документации Microsoft о том, как изменить источник репозитория для SQL Server 2017, они указали следующее.

На этом этапе, если вы решите выполнить полную установку с помощью руководств по быстрому запуску, помните, что вы только что настроили целевой репозиторий. Не повторяйте этот шаг в учебных пособиях. Это особенно верно, если вы настраиваете репозиторий GDR, потому что в руководствах по быстрому запуску используется CU хранилище.

Измените репозитории из репозитория предварительного просмотра в репозиторий GA

После обновления репозитория вам необходимо выполнить следующую команду:

sudo yum install -y mssql-server

Затем вам нужно выполнить следующую команду:

sudo /opt/mssql/bin/mssql-conf setup

Затем вы можете продолжить настройку, как описано корпорацией Майкрософт.

Если вы пытаетесь использовать SQL Server 2017 в этом руководстве, следующие
выпуски бесплатная лицензия: Оценка, Разработчик и Экспресс.

Установите SQL Server и создайте базу данных на Red Hat

Конец URL-адреса репозитория подтверждает тип репозитория:

  • Mssql-сервер: репозиторий предварительного просмотра.

  • Mssql-сервер-2017: репозиторий CU.

  • Mssql-сервер-2017-гдр: репозиторий ГДР.

Для каждого дистрибутива существует два основных типа репозиториев:

  • Накопительные обновления (CU): Хранилище накопительных обновлений (CU) содержит пакеты для базового выпуска SQL Server и любые исправления ошибок или
    улучшения с момента этого выпуска. Накопительные обновления зависят
    от версии выпуска, такой как SQL Server 2017. Они выпускаются в
    обычном ритме.

  • GDR: Репозиторий GDR содержит пакеты для базового выпуска SQL Server и только критические исправления и обновления безопасности с этого
    выпуска. Эти обновления также добавлено в следующий выпуск CU.

Руководство по установке SQL Server в Linux

In this post, we’ll explain How to extend SQL Server evaluation period to avoid “SQL Server Evaluation Period has expired” when we open SQL Server Management Studio.

SQL Server evaluation period has expired

We’ll also go through the following:

  1. 1
    SQL Server Evaluation Period has expired

  2. 2
    Extend SQL Server Evaluation Period

    1. 2.1
      Extend SQL Server Evaluation Period prerequisites list

    2. 2.2
      Upgrade SQL Server Edition to extend SQL Server Trial Period

    3. 2.3
      Test extended SQL Server Evaluation Period

  3. 3
    Extend SQL Server trial period for multiple times

    1. 3.1
      Extend SQL Server Evaluation Period using Command Prompt

You may also like to read SQL Server Evaluation Period has expired after upgrade, how to extend it?


When I tried to open the SQL Server Management Studio evaluation edition, I got the below error message:

SQL Server Evaluation period has expired

This issue usually occurs if you are using a trial SQL Server (180 days) and the SQL Server evaluation period has expired!


Extend SQL Server Evaluation Period

In this section, we’re gonna learn how to avoid the “SQL Server Evaluation period has expired” error message and Extend SQL Server Evaluation Period.

Extend SQL Server Evaluation Period prerequisites list

  • First of all, you must change the SQL Server machine date to an old date where the SQL server was working properly.
Extend SQL Server Trial Period - Change the machine date

Note: After extending SQL Server Evaluation Period, you should readjust the machine date to be today again.

  • As administrator, Go to Start Menu > Open Registry Editor.
Run regedit - Extend SQL Server Evaluation Period
  • Navigate to the following path “HKEY_LOCAL_MACHINESOFTWAREMicrosoftMicrosoft SQL Server110ConfigurationState“.
Regedit local machine - Extend SQL Server Evaluation Period
  • Edit the REG_DWORD value of the Common Files.
  • In value data, set it to 3.
regedit-software - Extend SQL Server Evaluation Period

Upgrade SQL Server Edition to extend SQL Server Trial Period

In this section, we’ll explain how to upgrade SQL Server edition to extend SQL Server trial period by doing the following:

Steps

  • First of all, you should make sure that the SQL Server Service Pack 1 has been installed before upgrading SQL Server 2012 evaluation edition to any other license edition.

Please, check How to get the current installed update level and Get The build number of the latest Cumulative Update / Service Pack that was installed in SQL Server.

  • Mount the same SQL Server installation media (ISO/CD) that was used to install SQL Server previously. (or an ISO image with the same SQL version)
  • Go to the installation file of your SQL Server Edition, Run Setup File.
  • Select the Maintenance section, and click Edition Upgrade
maintinance-upgrade-edition-sql-server - Extend SQL Server Evaluation Period
  • In Setup Support Rules, click Next.
Extend SQL Server Evaluation Period: SQL Server Evaluation Period has expired
  • Check “Enter the product key”, Usually it is automatically filled for
    • Developer edition; or
    • Licensed ISO file is used.
product-key-sql-server - Extend SQL Server Evaluation Period
  • Accept the License Terms.
license-terms-sql-server - Extend SQL Server Evaluation Period
  • Select the instance that you would like to upgrade.
Extend SQL Server Evaluation Period: SQL Server Evaluation Period has expired
  • Make sure that the Edition Upgrade Rules have been verified, then click Next.
Extend SQL Server Evaluation Period: SQL Server Evaluation Period has expired
  • Finally, Click “Upgrade”.
ready-to-upgrade-sql-server - Extend SQL Server Evaluation Period
  • Once the upgrade is completed successfully, click Close.
sql-2012-setup-complete - Extend SQL Server Evaluation Period
  • Open “SQL Server Configuration Manager”.
  • From the right side, click on “SQL Server Services”.
  • Restart the SQL Server Services.
    • SQL Server Instance.
    • SQL Server Agent.
    • SQL Server Browser.
    • SQL Server Reporting Service (if it’s already installed).
sql-server-configuration-manager - Extend SQL Server Evaluation Period

Test extended SQL Server Evaluation Period

  • Now, go to start menu to run “SQL Server Management Studio”.
open-sql-management-studio - Extend SQL Server Evaluation Period
  • Great, SQL Server Management Studio should be now opening properly without showing the “SQL Server Evaluation period has expired” error message.
  • Connect to your instance to make sure that the SQL Server Trial Edition has been extended successfully.
connect to sql server instance - Extend SQL Server Evaluation Period

Don’t forget to adjust your machine date to be today.


Extend SQL Server trial period for multiple times

The above-mentioned steps would help you to extend SQL Server evaluation period for additional days.

But what happened when SQL Server Evaluation Period has expired after upgrade, Is it possible to extend SQL Server evaluation period that already upgraded?

Unfortunately, you can’t extend SQL evaluation period that has expired after upgrade. In this case, you should think about the following:

  • Purchase a new SQL Server license.
  • Build a new SQL Server Trial Environment.
  • Downgrade your SQL Server enterprise edition to SQL Server free express edition.
  • Try this workaround Extend SQL Server evaluation period that already upgraded.
  • Extend SQL Server Evaluation Period using Command Prompt.
  • Update: Due to the SQL Server Management Studio is now a free separated product, you can download and use it for previous and latest SQL Server versions without getting this expiration message “SQL Server Evaluation Period has expired”.

Note: Extend SQL Server evaluation period is not supported for the production environment. it should be only used for a development environment.

Extend SQL Server Evaluation Period using Command Prompt

You can also run slmgr.vbs –rearm to extend the evaluation period for additional 10 days by doing the following:

  • Close the SQL Server Management Studio.
  • Open Command Prompt as Administrator.
  • Type the below command line
slmgr.vbs –rearm

You can use this command up to five times.


Conclusion

In conclusion, we have learned how to extend SQL Server Evaluation Period to avoid SQL Server Evaluation period has expired error message.

Applies To
  • SQL Server 2012.
  • SQL Server 2016.
  • SQL Server 2017.
You might also like to read
  • Evaluation Period expired for Windows Server 2012 R2, How to extend it?
  • SQL Server: Get the Detailed Information Via SERVERPROPERTY.
  • Get The build number of the latest Cumulative Update / Service Pack that was installed in SQL Server.
  • SQL Server: How to get the current installed update level.
Have a Question?

If you have any related questions, please don’t hesitate to ask it at deBUG.to Community.

Понравилась статья? Поделить с друзьями:
  • Ошибка spn 3841 fmi 4
  • Ошибка sql запрос insert into
  • Ошибка sql переполнение поля 1с зуп
  • Ошибка spn 3241 камаз евро 5
  • Ошибка sql база найдена таблицы