我试图执行包,每次看到以下错误。特别是当我执行数据流任务时。
错误:
System.IO.IOException:进程无法访问文件'C:\ PPE_OVERRIDES.ispac',因为它正由另一个进程使用。
全输出:
------ Build started: Project: PPE_OVERRIDES, Configuration: Development ------
Build started: SQL Server Integration Services project: Incremental ...
Starting project consistency check ...
Project consistency check completed. The project is consistent.
Error : System.IO.IOException: The process cannot access the file
'C:\PPE_OVERRIDES.ispac' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.IncrementalBuildThroughObj(IOutputWindow outputWindow)
at Microsoft.DataTransformationServices.Project.DataTransformationsProjectBuilder.BuildIncremental(IOutputWindow outputWindow)
Build complete -- 1 errors, 0 warnings
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
我该如何解决呢?我的ispac文件位于bin文件夹中。我想确保SsISDB目录和Visual Studio不会争夺这个位置
基于以下文章:
可能解决方案
需要杀死与SSIS Debug相关的Windows进程(SSIS调试主机和SSIS调试主机(32位))并重新启动Visaul Studio以解决此问题。
类似问题链接