Fix SSIS Error while execution: System.IO.IOException: The process cannot access the file ‘PATH\Project.ispac’ because it is being used by another process.

Typically this error occurs when Visual Studio crashes while a package is running in debug mode! .ispac file will be locked by the debug process and does not allow you to execute SSIS package in Visaul Studio (in debug mode).

Error:
System.IO.IOException: The process cannot access the file XYZ:\Project.ispac’ because it is being used by another process.

Fix:
Need to kill the Windows processes (SSIS Debug Host, and SSIS Debug Host (32 bit)) related to SSIS Debug and restart Visaul Studio to address the problem.

FYI:
Fix_ispac_file_Lock_Problem

Advertisements
This entry was posted in SQL Server, SSIS, Visual Studio and tagged , , , , . Bookmark the permalink.

4 Responses to Fix SSIS Error while execution: System.IO.IOException: The process cannot access the file ‘PATH\Project.ispac’ because it is being used by another process.

  1. Thanks for the tip, however I am getting that issue and those processes are not open

    I have noticed Microsoft.VSHUB.SErver.HTTPHOST.EXE and VSHUB.EXE still open – It didn’t help either.

    Going to try a reboot instead.

  2. nian says:

    Thanks, that works

  3. CAMORA says:

    This works

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s