Проблемы
Рассмотрим следующий сценарий для сред с SQL Server 2005 или SQL Server 2008:
-
Настройте ваш SQL Server на использование SSL для подключения.
-
Настроить сервер SQL на использование Размер сетевого пакета, который больше, чем значение по умолчанию (4 КБ)
В этом случае можно заметить следующее:
-
Попытка импортировать пакеты служб SSIS в хранилище пакетов данных MSDB завершится со следующим сообщением об ошибке:
Метод SaveToSQLServer обнаружил OLE DB ошибки 0x80004005 (Ошибка соединения). Не удалось выполнить инструкцию SQL, который был выдан.
Примечание:Также возникает сообщение об ошибке при сохранении планов обслуживания, созданных в среде SQL Server Management Studio как пакеты служб SSIS для базы данных MSDB после этой операции по своей природе использует шифрование для подключения к SQL Server.
-
Функция сбора данных в SQL Server 2008, которая использует службы SSIS, работает в различных проблем, как указано ниже:
-
-
Задание данных коллекции значение сообщает следующие сообщения об ошибках в журнал заданий:
-
dcexec: ошибка: Внутренняя ошибка в главном (причина: не удается найти указанный файл) .dcexec: ошибка: Внутренняя ошибка в главном (причины: недопустимый дескриптор).
-
-
При выполнении набора сбора данных непосредственно из данных может появиться следующее сообщение об ошибке:
-
Не удалось выполнить пакет «Set_ {7B191952-8ECF-4E12-AEB2-EF646EF79FEF} _Master_Package_Collection».
При просмотре журналов группы сборщиков данных, вы увидите сообщение об ошибке следующего вида.
Ошибка служб SSIS. Имя компонента: TaskForCollectionItem_1, код:-1073602332, подкомпонент: (null), описание: ошибка 0xC0014062 при подготовке загрузки пакета. Метод LoadFromSQLServer обнаружил OLE DB ошибки 0x80004005 (Ошибка соединения). Не удалось выполнить инструкцию SQL, который был выдан.
Примечание: проблема может произойти с любой операции, которая использует методы LoadFromSqlServer и SaveToSqlServer при выполнении обоих условий (шифрования и размер больших пакетов) описанные в этом разделе.
Причина
Secure Socket Layer (SSL) и его замены транспортного уровня Security(TLS), фрагменты данных предел 16 КБ (16384) в размере. Эта ситуация описана в открытый RFC 2246(раздел 6.2.2) и текущей реализации Сетевого интерфейса SQL (SNI) слоя соответствует данной спецификации. Поэтому при использовании размер сетевого пакета, больше, чем 16 КБ в средах, где требуется шифрование SQL Server, будет выполняться на ошибки, описанные в разделе «Проблема». Для получения дополнительных сведений обратитесь к следующей статье БАЗЫ знаний:
-
2008195яssues, которые необходимо учитывать при изменении значения по умолчанию размер сетевого пакета для подключения к серверу SQL
Решение
Чтобы устранить эту проблему, укажите размер сетевого пакета, меньше или равно 16384 байт.Для задания параметра конфигурации network packet size системной хранимой процедуры sp_configure можно использовать следующий код:
Примечание. Если включен режим MARS, поставщик SMUX добавит 16-байтовый заголовок пакета перед шифрованием SSL сокращение сети максимальный размер пакета до 16368 байтов.
EXEC sp_configure 'network packet size', 16368
RECONFIGURE WITH OVERRIDE
GO
Размер сетевого пакета, также могут быть изменены на странице свойств сервера в обозревателе объектов. Установите дополнительный параметр и введите новое значение для размер сетевого пакета и нажмите кнопку ОК.
Примечание: необходимо перезапустить SQL Server для изменения эффективного. После изменения этого параметра все новые подключения, принимают новое значение.
Дополнительная информация
-
Дополнительные сведения о SSL и TLS
Действия по воспроизведению
Нужна дополнительная помощь?
Click on any created Maintenance Plan: TITLE: Microsoft SQL Server Management Studio
——————————
Value cannot be null.
Parameter name: component (System.Design)
——————————
BUTTONS:
OK
——————————
Create a new Plan I get this error: TITLE: Maintenance Plan Wizard Progress
——————————
Saving maintenance plan failed.
——————————
ADDITIONAL INFORMATION:
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed.
——————————
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed.
——————————
BUTTONS:
OK
——————————
Edit an already created Backup Plan: Error 1 Error loading ‘BackupDb’ : The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed. . server=SERVER;package=Maintenance
PlansBackupLeadsDb; 1 1
Same Issues Question as found here for 2008, but for 2012, but
http://social.msdn.microsoft.com/Forums/en-US/sqlkjmanageability/thread/1ac464fa-550a-45cb-92a6-07c25a9df0d1
I think only thing I’ve changed since it was working was SP3 for Office 2003 (Access gui I like better than current) and added 2010 Compatibility Pack and Windows Updates associated with it. Only things I added besides Windows Updates since it was
working correctly. Maybe Uninstall and Reinstall SQL.
Attemped Solutions: I’ve changed password for SA Account; I use Windows Authentication to log in; and I’ve registered C:Program Files (x86)Microsoft SQL Server110DTSBinnDTS.dll. Repair SQL Server 2012, Uninstall/ReInstall SQL
Server 2012.
Click on any created Maintenance Plan:
TITLE: Microsoft SQL Server Management Studio
Value cannot be null.
Parameter name: component (System.Design)
BUTTONS:OK
Create a new Plan I get this error:
TITLE: Maintenance Plan Wizard Progress
Saving maintenance plan failed.
ADDITIONAL INFORMATION: The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed.
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed.
BUTTONS:OK
Edit an already created Backup Plan:
Error 1 Error loading ‘BackupDb’ : The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Unspecified error). The SQL statement that was issued has failed. . server=SERVER;package=Maintenance PlansBackupLeadsDb; 1 1
Attemped Solutions: I’ve changed password for SA Account; I use Windows Authentication to log in; and I’ve registered C:Program Files (x86)Microsoft SQL Server110DTSBinnDTS.dll. Repair SQL Server 2012, Uninstall/ReInstall SQL Server 2012.
asked Sep 26, 2012 at 11:14
Using Microsoft SQL Server Management Studio 2012 on my local machine, I get the same issue trying to modify a backup plan on a SQL2008r2 server.
It works with Microsoft SQL Server Management Studio2008r2 on both my local PC and directly RDPing on to the server and running SSMS2008r2 from there.
Looks like a bug in Microsoft SQL Server Management Studio2012 to me.
![]()
answered Oct 12, 2012 at 16:32
You are seeing something that is by design. SQL Server 2012 introduced a new designer for maintenance plans so if you try and edit a earlier version of a maintenance plan with SSMS 2012 it will be saved in the new format, then the lesser versions of SSMS will not be able to open it.
Reference MSDN article, point 5.5:
5.5 New Maintenance Plan Layout Not Compatible with Earlier SQL Server Tools Issue:
When SQL Server 2012 management tools are used to modify
an existing maintenance plan created in a previous version of SQL
Server management tools (SQL Server 2008 R2, SQL Server 2008, or SQL
Server 2005), the maintenance plan is saved in a new format. Earlier
versions of SQL Server management tools do not support this new
format.Workaround: None
answered Oct 15, 2012 at 8:52
I am getting strange error on deploying ssis package to SQL Server.
TITLE: Package Installation Wizard
—————————————-
Could not save the package «C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsIntegration Services Project1Integration Services Project1binDeploymentDataTrans.dtsx» to SQL Server «(local)».
—————————————-
ADDITIONAL INFORMATION:
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
BUTTONS:
OK
—————————————-
=====================================================
=============================================
Could not save the package «C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsIntegration Services Project1Integration Services Project1binDeploymentDataTrans.dtsx» to SQL Server «(local)». (Package Installation Wizard)
=============================================
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.SavePackageToSqlServer(WizardInputs wizardInputs, String packagePassword, Boolean bUseSeverEncryption, String serverName, String userName, String password, String packageFilePath, List`1 configFileNames)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.InstallPackagesToSqlServer(WizardInputs wizardInputs)
=============================================
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToSQLServer(IDTSPackage90 Package, IDTSEvents90 pEvents, String ServerName, String ServerUserName, String ServerPassword)
at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)
I am getting strange error on deploying ssis package to SQL Server.
TITLE: Package Installation Wizard
—————————————-
Could not save the package «C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsIntegration Services Project1Integration Services Project1binDeploymentDataTrans.dtsx» to SQL Server «(local)».
—————————————-
ADDITIONAL INFORMATION:
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
BUTTONS:
OK
—————————————-
=====================================================
=============================================
Could not save the package «C:Documents and SettingsAdministratorMy DocumentsVisual Studio 2005ProjectsIntegration Services Project1Integration Services Project1binDeploymentDataTrans.dtsx» to SQL Server «(local)». (Package Installation Wizard)
=============================================
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.SavePackageToSqlServer(WizardInputs wizardInputs, String packagePassword, Boolean bUseSeverEncryption, String serverName, String userName, String password, String packageFilePath, List`1 configFileNames)
at Microsoft.SqlServer.Dts.Deployment.DtsInstaller.InstallPackagesToSqlServer(WizardInputs wizardInputs)
=============================================
The SaveToSQLServer method has encountered OLE DB error code 0x80004005 ([DBNETLIB][ConnectionOpen (PreLoginHandshake()).]Encryption not supported on SQL Server.). The SQL statement that was issued has failed.
—————————————-
Program Location:
at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToSQLServer(IDTSPackage90 Package, IDTSEvents90 pEvents, String ServerName, String ServerUserName, String ServerPassword)
at Microsoft.SqlServer.Dts.Runtime.Application.SaveToSqlServer(Package package, IDTSEvents events, String serverName, String serverUserName, String serverPassword)
Не сохраняются планы обслуживания в SQL Management
Модератор: Дмитрий Юхтимовский
Сообщений: 2
• Страница 1 из 1
Не сохраняются планы обслуживания в SQL Management
Koncharenko Mikhail » 16 май 2016, 10:17
Выскакивает ошибка при попытке сохранить план обслуживания.
«Метод SaveToSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL.»
Попытки гуглить пока ни к чему не привели, поэтому и создал тему.
Подскажите, пожалуйста, в чем может быть причина и как исправить?
SQL Server 2012 на Windows Server 2012
- Koncharenko Mikhail
- Сообщений: 1
- Зарегистрирован: 16 май 2016, 10:15
перенес в раздел Прочее
Гилёв Вячеслав » 17 май 2016, 12:42
а какое отношение все это имеет к эксплуатации 1С? ![]()
- Гилёв Вячеслав
- Сообщений: 2543
- Зарегистрирован: 11 фев 2013, 15:40
- Откуда: Россия, Москва
Сообщений: 2
• Страница 1 из 1
Вернуться в Прочее
Кто сейчас на форуме
Сейчас этот форум просматривают: Bing [Bot] и гости: 1
нажмите на любой созданный план обслуживания:
Название: среда Microsoft SQL Server Management Studio
Значение не может быть null.
Имя параметра: component (System.Дизайн)
КНОПКИ: OK
создать новый план я получаю эту ошибку:
заголовок: выполнение мастера плана обслуживания
Не удалось сохранить план обслуживания.
дополнительные сведения: метод SaveToSQLServer обнаружил код ошибки OLE DB 0x80004005 (Неопределенная ошибка). Не удалось выполнить инструкцию SQL.
метод SaveToSQLServer обнаружил код ошибки OLE DB 0x80004005 (неуказанная ошибка). Не удалось выполнить инструкцию SQL.
КНОПКИ: OK
изменить уже созданный план резервного копирования:
Ошибка 1 ошибка загрузки «BackupDb»: метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (неуказанная ошибка). язык SQL заявление о том, что был выдан не удалось. . сервер=сервер; пакет=планы обслуживанияBackupLeadsDb; 1 1
попытки решения: я изменил пароль для учетной записи SA; я использую проверку подлинности Windows для входа; и я зарегистрировался C:Program файлы (x86)Microsoft SQL Server110DTSBinnDTS.файл DLL. Восстановление SQL Server 2012, удаление и переустановка SQL Server 2012.
источник