执行SSIS包会产生System.IO.IOException

问题描述 投票:2回答:1

我试图执行包,每次看到以下错误。特别是当我执行数据流任务时。

错误:

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不会争夺这个位置

sql-server visual-studio ssis etl ssis-2012
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.