【发布时间】:2021-09-10 02:29:47
【问题描述】:
自去年以来,我已经将一些 SSIS 部署到 SQL 2012,所有这些都已启动并运行,没有任何问题。开始提示这个错误
A .NET Framework error occurred during execution of user-defined routine or aggregate "set_system_informations":
System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection'
threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The paging file is too small for this operation to complete. (Exception from HRESULT: 0x800705AF)
System.IO.FileLoadException:
at System.Data.SqlClient.SqlConnection..cctor()
System.TypeInitializationException:
at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
at Microsoft.SqlServer.IntegrationServices.Server.SystemInformations.SetSystemInformations(SqlInt64 operationId)
. Source: .Net SqlClient Data Provider
只是运行失败,我尝试再次部署到SQL,出现类似错误如下
A .NET Framework error occurred during execution of user-defined routine or aggregate "deploy_project_internal":
System.TypeInitializationException: The type initializer for 'System.Data.SqlClient.SqlConnection'
threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The paging file is too small for this operation to complete. (Exception from HRESULT: 0x800705AF)
System.IO.FileLoadException:
at System.Data.SqlClient.SqlConnection..cctor()
System.TypeInitializationException:
at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
at Microsoft.SqlServer.IntegrationServices.Server.ServerConnectionControl.GetOperationInfo(SqlInt64 operation_id, OperationType type, ServerOperationStatus status, Int64& object_id)
at Microsoft.SqlServer.IntegrationServices.Server.ServerConnectionControl.checkParameters(SqlInt64 object_id, SqlInt64 operation_id, OperationType type)
at Microsoft.SqlServer.IntegrationServices.Server.ServerApi.DeployProjectInternal(SqlInt64 deployId, SqlInt64 versionId, SqlInt64 projectId, SqlString projectName)
. (.Net SqlClient Data Provider)
我直接从 VS2017(SSDT) 运行 SSIS 没有问题,只是无法部署并让它在服务器上运行。我不确定这是什么根本原因,昨天一切正常,今天开始抛出错误。
有人遇到过这个问题吗?
【问题讨论】:
-
分页文件太小,无法完成此操作。 听起来执行 SSIS 包的机器内存不足。你能增加交换文件/s(又名分页文件/s)的大小吗?
标签: sql-server ssis