mzelensky
03.09.12 — 11:34
Доброго всем!
Настроил план обслуживания базы на СКЛ. Проверил его в пятницу — вроде все работало. Сегодня с утра результатов обслуживания не увидел. Полез в СКЛ менеджер, открываю там вкладку «Плантс», тыкаю в мой план и получаю эту ошибку:
Error 1 Error loading ‘Zup’ : The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired). The SQL statement that was issued has failed. . server=s2;package=Maintenance PlansZup; 1 1
Попытался поискать в инете — особых результатов не дало. Что это за лажа и как бороться?
mzelensky
1 — 03.09.12 — 11:35
(0) пока надеюсь, что после перезапуска сервера все уйдет, но с такой ошибкой сталкиваюсь первый раз.
mzelensky
2 — 03.09.12 — 11:39
апну
Sammo
3 — 03.09.12 — 11:40
mzelensky
4 — 03.09.12 — 11:43
(3) я находил эту статью + обсуждение моей траблы на еще каком-то форуме, где аналогично давали это ссылку — как я понял это не решение.
Они там просто таймаут увеличили и все.
mzelensky
5 — 03.09.12 — 11:56
ну и где гении ИТ-мира?
mzelensky
6 — 03.09.12 — 12:08
,ele fgfnm ^(
Axel2009
7 — 03.09.12 — 12:10
а к SSMS подключиться под этим пользователем нормально получается?
Axel2009
8 — 03.09.12 — 12:12
пользователи у служб SQL Server и Agent одинаковые?
mzelensky
9 — 03.09.12 — 12:29
(8) пользователи одинаковые…вроде. Ща перепроверю
mzelensky
10 — 03.09.12 — 12:31
(7) к самому менеджеру «SQL Server Management Studio» подключается. Операции над базами тоже проходят. Косяк ток с планами.
mzelensky
11 — 03.09.12 — 12:33
(9) + да, было под одним пользователем, точнее все под системной ролью
Axel2009
12 — 03.09.12 — 12:34
(10) ну планы это Agent. значит косяк в нем.
под кем запускается задание, что выполняет?
mzelensky
13 — 03.09.12 — 12:36
(12) все должно быть под системной ролью
mzelensky
14 — 03.09.12 — 12:37
(12) + выполняет стандартные действия — реиндексация, бекапы…
Фишка в том, что в пятницу проверял — все работал, а на выходных какой-то глюк произошел. Сейчас минут через 30 перезапущу сервер, может уйдет
ДенисЧ
15 — 03.09.12 — 12:38
мммм….
Как бэ… Login timeout expired
mzelensky
16 — 03.09.12 — 12:41
(15) ииииии…о чем это говорит?
mzelensky
17 — 03.09.12 — 12:50
(15) завис??? или диагноз малюешь?
mzelensky
18 — 03.09.12 — 13:10
Ну, после рестарта все заработало. Хотя хотелось бы разобраться, что это за трабл был.
Проблемы
Рассмотрим следующий сценарий для сред с 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.
источник
Перейти к контенту
- Remove From My Forums
-
Question
-
В журнале все планы обслуживания выпадают с ошибкой: «Не удалось загрузить пакет «Maintenance PlansPRELOAD» из-за ошибки 0xC0014062. Описание:
Метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL» «Не удалось загрузить пакет «Maintenance PlansMyPlan» из-за ошибки 0xC0014062«.
План обслуживания так же не могу изменить, при попытке изменить выпадает в ошибку: «Ошибка 1 Ошибка загрузки «MyplanBZ — sa» : Метод
LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL. «
Answers
-
Avis de non-responsabilité:
Mon opinion ne peut pas coïncider avec la position officielle de Microsoft.Bien cordialement, Andrei …
MCP-
Proposed as answer by
Saturday, May 22, 2021 7:02 PM
-
Marked as answer by
Иван ПродановMicrosoft contingent staff, Moderator
Thursday, June 3, 2021 2:54 PM
-
Proposed as answer by
-
Здравствуйте
Посмотрите пригодится ли Вам нижеперечисленное:
- Change the host file
Which is generally located at “C:WINDOWSsystem32driversetchost” add server name and an ip address.
This could solve your problem.
- Change the “Delay” setting in package property , package property ->Control flow delay.
And the third one which generally would be the best alternative and will mostly solve this issue is
- Change the number of retry for the specific job to greater number (eg. 5 or more) and also can change the retry interval to (0). This way if this job fails with delay in connection, will retry again till specified number of times and mostly it gets succeeded.
Мнения, высказанные здесь, являются отражением моих личных взглядов, а не позиции корпорации Microsoft. Вся информация предоставляется «как есть» без каких-либо гарантий.
-
Proposed as answer by
Иван ПродановMicrosoft contingent staff, Moderator
Saturday, May 22, 2021 7:02 PM -
Marked as answer by
Иван ПродановMicrosoft contingent staff, Moderator
Thursday, June 3, 2021 2:54 PM
I have this error:
LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired). The SQL statement that was issued has failed
And here is my code, what is wrong?
DECLARE @FileName VARCHAR(50);
DECLARE @VendorID VARCHAR(50);
DECLARE @sql VARCHAR(2000);
DECLARE @Local_File_FullPath VARCHAR(100);
SET @FileName = 'Extgt_skinny_file.txt.pgp'
Set @VendorID = 'ET'
Select @Local_File_FullPath = dw03_path FROM GMAC_META.dbo.VENDOR_XFER_METADATA where vendor_id = @VendorID
SET @sql = 'dtexec /SQL "EMAP_FTP_XFER_CHECK" /SET Package.Variables[User::FileName].Properties[Value];"'
+ @FileName+'" /SET Package.Variables[Local_File_FullPath].Properties[Value];'
+ @Local_File_FullPath+' /SERVER "hqgmdw02/dw_dev" /CHECKPOINTING OFF /REPORTING E'
exec xp_cmdshell @sql
Yaroslav
6,45810 gold badges48 silver badges89 bronze badges
asked Sep 6, 2012 at 20:15
Try the following:
GRANT exec ON xp_cmdshell TO '<somelogin>'
. Please refer to xp_cmdshell (Transact-SQL).
Check to see if you are using a 32-bit DTExec on a 64-bit machine.
Ensure that the users that will run the SSIS package have sufficient permissions. I take that you run is under SSIS in a SQL Server Agent or you might run it manually. The service account running SQL Agent and your account must have permissions to execute the job. Please see Error in executing SSIS package through Agent
answered Sep 6, 2012 at 20:55
Conrad LotzConrad Lotz
8,1003 gold badges23 silver badges27 bronze badges
1
As the OP mentioned, the server routes (for parameter /SERVER
) should use backslashes and not common slashes. The error being displayed is a little misleading for this occasion, as the login times out because the server path is incorrect.
So change
/SERVER "hqgmdw02/dw_dev"
for
/SERVER "hqgmdw02dw_dev"
answered May 10, 2018 at 9:41
EzLoEzLo
13.7k10 gold badges33 silver badges38 bronze badges
- Remove From My Forums
-
Question
-
Hello,
I have imported an SSIS package to package store of SQL Server 2014. When I call it from c# application, I am getting error «The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired)». Please help.
Aakash Rajput
All replies
-
Hi Aakash,
It seems like it indeed times out. So it must be a slow network.
But I do not know how to reproduce your error to help any further.
-
Hi Aakash,
Can you check the server name which you used to call the package? You should use the dbserver name where the package is installed.
Please refer to : SSIS Package Timeout issue«Login
timeout expired» prevents package deploymentRegards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com -
Hi Zoe,
I have checked the dbserver name and it is correct.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
please tell us how to reproduce this issue.
-
-
Proposed as answer by
Tuesday, June 25, 2019 2:54 AM
-
Proposed as answer by
-
Hello,
I am getting the same issue «The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired)» while launching package. I have imported package in MSDB of SQL Server 2014 and launching from c# code as below:
Microsoft.SqlServer.Dts.Runtime.Application app = new Microsoft.SqlServer.Dts.Runtime.Application();
using (Package package = app.LoadFromSqlServer(string.Format(«{0}{1}», @»\», «Package»), «SERVER», null, null, null))
{
DTSExecResult result = package.Execute();
}
Please let me know what might be the reason. It was working properly in SQL Server 2012.
Thanks,
-
Hi,
Any updates on my query. I am using the same what Rajesh has posted, hope that will help in replicating the issue.
Thanks,
Aakash
Aakash Rajput
-
Hi Zoe,
Any updates on my query. I am using the same what Rajesh has posted, hope that will help in replicating the issue.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
After using his method, has your problem been solved?
Regards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com -
Hi Zoe,
The problem still persists. I am having the exact same code which he has posted and getting the «Login timeout expired» error.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
Sorry, no progress has been made through our efforts. Maybe you can try to work it in SQL Server 2012 as Rajesh said before.
Regards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com
В журнале все планы обслуживания выпадают с ошибкой: «Не удалось загрузить пакет «Maintenance PlansPRELOAD» из-за ошибки 0xC0014062. Описание: Метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL»
План обслуживания так же не могу изменить, при попытке изменить выпадает в ошибку: «Ошибка 1 Ошибка загрузки «MyplanBZ — sa» : Метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL. »
-
Вопрос заданболее двух лет назад
-
160 просмотров
mzelensky
03.09.12 — 11:34
Доброго всем!
Настроил план обслуживания базы на СКЛ. Проверил его в пятницу — вроде все работало. Сегодня с утра результатов обслуживания не увидел. Полез в СКЛ менеджер, открываю там вкладку «Плантс», тыкаю в мой план и получаю эту ошибку:
Error 1 Error loading ‘Zup’ : The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired). The SQL statement that was issued has failed. . server=s2;package=Maintenance PlansZup; 1 1
Попытался поискать в инете — особых результатов не дало. Что это за лажа и как бороться?
mzelensky
1 — 03.09.12 — 11:35
(0) пока надеюсь, что после перезапуска сервера все уйдет, но с такой ошибкой сталкиваюсь первый раз.
mzelensky
2 — 03.09.12 — 11:39
апну
Sammo
3 — 03.09.12 — 11:40
mzelensky
4 — 03.09.12 — 11:43
(3) я находил эту статью + обсуждение моей траблы на еще каком-то форуме, где аналогично давали это ссылку — как я понял это не решение.
Они там просто таймаут увеличили и все.
mzelensky
5 — 03.09.12 — 11:56
ну и где гении ИТ-мира?
mzelensky
6 — 03.09.12 — 12:08
,ele fgfnm ^(
Axel2009
7 — 03.09.12 — 12:10
а к SSMS подключиться под этим пользователем нормально получается?
Axel2009
8 — 03.09.12 — 12:12
пользователи у служб SQL Server и Agent одинаковые?
mzelensky
9 — 03.09.12 — 12:29
(8) пользователи одинаковые…вроде. Ща перепроверю
mzelensky
10 — 03.09.12 — 12:31
(7) к самому менеджеру «SQL Server Management Studio» подключается. Операции над базами тоже проходят. Косяк ток с планами.
mzelensky
11 — 03.09.12 — 12:33
(9) + да, было под одним пользователем, точнее все под системной ролью
Axel2009
12 — 03.09.12 — 12:34
(10) ну планы это Agent. значит косяк в нем.
под кем запускается задание, что выполняет?
mzelensky
13 — 03.09.12 — 12:36
(12) все должно быть под системной ролью
mzelensky
14 — 03.09.12 — 12:37
(12) + выполняет стандартные действия — реиндексация, бекапы…
Фишка в том, что в пятницу проверял — все работал, а на выходных какой-то глюк произошел. Сейчас минут через 30 перезапущу сервер, может уйдет
ДенисЧ
15 — 03.09.12 — 12:38
мммм….
Как бэ… Login timeout expired
mzelensky
16 — 03.09.12 — 12:41
(15) ииииии…о чем это говорит?
mzelensky
17 — 03.09.12 — 12:50
(15) завис??? или диагноз малюешь?
mzelensky
18 — 03.09.12 — 13:10
Ну, после рестарта все заработало. Хотя хотелось бы разобраться, что это за трабл был.
У меня есть эта ошибка:
Метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (истекло время ожидания входа в систему). Выполненный оператор SQL не выполнен
А вот мой код, что не так?
DECLARE @FileName VARCHAR(50);
DECLARE @VendorID VARCHAR(50);
DECLARE @sql VARCHAR(2000);
DECLARE @Local_File_FullPath VARCHAR(100);
SET @FileName = 'Extgt_skinny_file.txt.pgp'
Set @VendorID = 'ET'
Select @Local_File_FullPath = dw03_path FROM GMAC_META.dbo.VENDOR_XFER_METADATA where vendor_id = @VendorID
SET @sql = 'dtexec /SQL "\EMAP_FTP_XFER_CHECK" /SET \Package.Variables[User::FileName].Properties[Value];"'
+ @FileName+'" /SET \Package.Variables[Local_File_FullPath].Properties[Value];'
+ @Local_File_FullPath+' /SERVER "hqgmdw02/dw_dev" /CHECKPOINTING OFF /REPORTING E'
exec xp_cmdshell @sql
2012-09-06 20:15
2
ответа
Попробуйте следующее:
GRANT exec ON xp_cmdshell TO '<somelogin>'
, Пожалуйста, обратитесь к xp_cmdshell (Transact-SQL).
Проверьте, используете ли вы 32-битный DTExec на 64-битной машине.
Убедитесь, что пользователи, которые будут запускать пакет служб SSIS, имеют достаточные разрешения. Я предполагаю, что вы работаете под SSIS в агенте SQL Server, или вы можете запустить его вручную. Учетная запись службы, на которой запущен агент SQL, и ваша учетная запись должны иметь разрешения для выполнения задания. Пожалуйста, смотрите Ошибка при выполнении пакета служб SSIS через агента
2012-09-06 20:55
Как упоминалось в OP, сервер маршрутизирует (для параметра /SERVER
) следует использовать обратную косую черту, а не обычную косую черту. Отображаемая ошибка немного вводит в заблуждение по этому поводу, так как время входа в систему истекло, потому что путь к серверу неверен.
Так что меняй
/SERVER "hqgmdw02/dw_dev"
за
/SERVER "hqgmdw02\dw_dev"
2018-05-10 09:41
- Remove From My Forums
-
Вопрос
-
В журнале все планы обслуживания выпадают с ошибкой: «Не удалось загрузить пакет «Maintenance Plans\PRELOAD» из-за ошибки 0xC0014062. Описание:
Метод LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL» «Не удалось загрузить пакет «Maintenance Plans\MyPlan» из-за ошибки 0xC0014062«.
План обслуживания так же не могу изменить, при попытке изменить выпадает в ошибку: «Ошибка 1 Ошибка загрузки «MyplanBZ — sa» : Метод
LoadFromSQLServer обнаружил код ошибки OLE DB 0x80004005 (Ошибка связи). Ошибка запущенной инструкции SQL. «
Ответы
-
Avis de non-responsabilité:
Mon opinion ne peut pas coïncider avec la position officielle de Microsoft.Bien cordialement, Andrei …
MCP-
Предложено в качестве ответа
22 мая 2021 г. 19:02
-
Помечено в качестве ответа
Иван ПродановMicrosoft contingent staff, Moderator
3 июня 2021 г. 14:54
-
Предложено в качестве ответа
-
Здравствуйте
Посмотрите пригодится ли Вам нижеперечисленное:
- Change the host file
Which is generally located at “C:\WINDOWS\system32\drivers\etc\host” add server name and an ip address.
This could solve your problem.
- Change the “Delay” setting in package property , package property ->Control flow delay.
And the third one which generally would be the best alternative and will mostly solve this issue is
- Change the number of retry for the specific job to greater number (eg. 5 or more) and also can change the retry interval to (0). This way if this job fails with delay in connection, will retry again till specified number of times and mostly it gets succeeded.
Мнения, высказанные здесь, являются отражением моих личных взглядов, а не позиции корпорации Microsoft. Вся информация предоставляется «как есть» без каких-либо гарантий.
- Remove From My Forums
-
Question
-
Hello,
I have imported an SSIS package to package store of SQL Server 2014. When I call it from c# application, I am getting error «The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired)». Please help.
Aakash Rajput
All replies
-
Hi Aakash,
It seems like it indeed times out. So it must be a slow network.
But I do not know how to reproduce your error to help any further.
-
Hi Aakash,
Can you check the server name which you used to call the package? You should use the dbserver name where the package is installed.
Please refer to : SSIS Package Timeout issue«Login
timeout expired» prevents package deploymentRegards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com -
Hi Zoe,
I have checked the dbserver name and it is correct.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
please tell us how to reproduce this issue.
-
-
Proposed as answer by
Tuesday, June 25, 2019 2:54 AM
-
Proposed as answer by
-
Hello,
I am getting the same issue «The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (Login timeout expired)» while launching package. I have imported package in MSDB of SQL Server 2014 and launching from c# code as below:
Microsoft.SqlServer.Dts.Runtime.Application app = new Microsoft.SqlServer.Dts.Runtime.Application();
using (Package package = app.LoadFromSqlServer(string.Format(«{0}{1}», @»\\», «Package»), «SERVER», null, null, null))
{
DTSExecResult result = package.Execute();
}
Please let me know what might be the reason. It was working properly in SQL Server 2012.
Thanks,
-
Hi,
Any updates on my query. I am using the same what Rajesh has posted, hope that will help in replicating the issue.
Thanks,
Aakash
Aakash Rajput
-
Hi Zoe,
Any updates on my query. I am using the same what Rajesh has posted, hope that will help in replicating the issue.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
After using his method, has your problem been solved?
Regards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com -
Hi Zoe,
The problem still persists. I am having the exact same code which he has posted and getting the «Login timeout expired» error.
Thanks,
Aakash
Aakash Rajput
-
Hi Aakash,
Sorry, no progress has been made through our efforts. Maybe you can try to work it in SQL Server 2012 as Rajesh said before.
Regards,
Zoe
MSDN Community Support
Please remember to click «Mark as Answer» the responses that resolved your issue, and to click «Unmark as Answer» if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com