You get an error when you attempts to save SSIS packages to the MSDB package store if the network packet size >=16388 By

本文涉及的产品
云数据库 RDS SQL Server,基础系列 2核4GB
简介: In SQL Server 2005 if you configure network packet size to 16388 or greater,  and attempts to save SSIS packages to the MSDB package store, It will fa...

In SQL Server 2005 if you configure network packet size to 16388 or greater,  and attempts to save SSIS packages to the MSDB package store, It will fail with the following error message:

The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Communication link failure).The SQL statement that was issued has failed.

Attempting to import a package using Management Studio's Integration Services Connection fails with error:

Communication link failure. SSL Provider: Packet size too large for SSL Encrypt/Decrypt operations [50]. (Microsoft Native Client)

The same behaviour can be seen if we are deploying the package from the Visual studio.

Steps to reproduce

1. Reconfigure Network Packet Size to 16388:

sp_configure 'network packet size (B)', 16388

go

reconfigure with override

2. In SQL Management Studio, drill into the server and then Management, and then right-click on Maintenance Plans and choose New Maintenance plan.

3. Accept the name and click OK.

4. Click the Save Selected Items button on Management Studio's toolbar.

Results: Error: The SaveToSQLServer method has encountered OLE DB error code 0x80004005 (Communication link failure).The SQL statement that was issued has failed.

Resolution

Dropping the run value for Network packet size to 16387 or less, and the maintenance plans save as packages and the packages import successfully.

You can do that using

1.      Go to server properties by right clicking the instance NameàAdvancedàNetwork Packet Size

Or

2.     sp_configure 'network packet size (B)', <numeric value less than 16388>

go

reconfigure with override

 

Reason:

The reason is that when SSIS is loading and saving packages into SQL Server MSDB, the connection used is encrypted with a server generated self-signed SSL certificate so that the packages and any secrets such as connection manager passwords within the SSIS package are not visible as plain text on the network. That form of encryption is incompatible with the large network packet size in SQL 2005.

Note: This issue is fixed in SQL Server 2008

目录
相关文章
|
人工智能 自然语言处理 自动驾驶
什么是人工智能
一、什么是人工智能 人工智能(Artificial Intelligence,简称AI)是指通过模拟人类智能思维和行为的方式,使机器能够像人类一样感知、理解、推理、学习和决策的一种技术和应用领域。它可以让计算机系统具有自主学习、自主决策、自主执行任务的能力,从而实现自动化、智能化的目标。常见的人工智能应用包括语音识别、图像识别、自然语言处理、机器翻译、智能推荐、自动驾驶等。 二、人工智能具有以下几个特点 1. 学习能力:人工智能系统可以通过学习从大量的数据中提取模式和规律,并根据学习到的知识和经验不断优化自身的性能。 2. 推理能力:人工智能系统可以根据已有的知识和规则进行推理,从而做出合理的
1664 0
|
缓存 监控 网络协议
cpu相关指标(top、uptime、vmstat、mpstat、sar、pidstat、ps、dstat、perf、tcpdump、lscpu)等常见使用方法(三)
cpu相关指标(top、uptime、vmstat、mpstat、sar、pidstat、ps、dstat、perf、tcpdump、lscpu)等常见使用方法
352 0
|
机器学习/深度学习 算法 Java
矩阵运算在数据分析中的应用
矩阵运算在数据分析中的应用
|
存储 Docker 容器
【docker】导入镜像报错磁盘空间不足的解决方法 && 【docker】修改默认的存储路径
安装docker时,默认的安装位置是/var/lib/docker。 可以用docker info 查看 镜像存放的目录
1089 0
【docker】导入镜像报错磁盘空间不足的解决方法 && 【docker】修改默认的存储路径
|
Shell
shell| 字符串比较
必须放到[]中 =等于则为真 !=不相等则为真 n not zero 字符段长度不为0 z zero表示字符段长度位0 = 和!=的样例 image.
1163 0
|
5天前
|
云安全 人工智能 自然语言处理
|
10天前
|
人工智能 Java API
Java 正式进入 Agentic AI 时代:Spring AI Alibaba 1.1 发布背后的技术演进
Spring AI Alibaba 1.1 正式发布,提供极简方式构建企业级AI智能体。基于ReactAgent核心,支持多智能体协作、上下文工程与生产级管控,助力开发者快速打造可靠、可扩展的智能应用。
874 28
|
4天前
|
机器学习/深度学习 人工智能 自然语言处理
Z-Image:冲击体验上限的下一代图像生成模型
通义实验室推出全新文生图模型Z-Image,以6B参数实现“快、稳、轻、准”突破。Turbo版本仅需8步亚秒级生成,支持16GB显存设备,中英双语理解与文字渲染尤为出色,真实感和美学表现媲美国际顶尖模型,被誉为“最值得关注的开源生图模型之一”。
462 4
|
6天前
|
机器学习/深度学习 人工智能 数据可视化
1秒生图!6B参数如何“以小博大”生成超真实图像?
Z-Image是6B参数开源图像生成模型,仅需16GB显存即可生成媲美百亿级模型的超真实图像,支持中英双语文本渲染与智能编辑,登顶Hugging Face趋势榜,首日下载破50万。
399 19