The process cannot access the file because it is being used

Got a problem you cannot solve? Try here.
badgerb
Posts: 1
Joined: Tue Jan 13, 2015 3:46 pm

The process cannot access the file because it is being used

Postby badgerb » Tue Jan 13, 2015 4:10 pm

I have a VS 2012 solution and I was using the "free" version of InstallAware, version 18. I can't get the InstallAware build to finish due to this error:

Error during build: Cannot open file "C:\Program Files (x86)\Microsoft Visual Studio 11.0\ReportViewer\Microsoft.ReportViewer.WinForms.dll". The process cannot access the file because it is being used by another process

I have reviewed a few other posts, but none seem to propose a solution that works. I have just downloaded the latest version (X2). I uninstalled the prior version first, then loaded VS2012 and tried to do a setup right out of the box, same error. This file does exists (Microsoft.reportviewer.winforms.dll) and its not "in use" in that I can copy it just fine using explorer and I can even temporarily rename it. I did check (saw a case here that said to) and the parent folder (reportviewer) does have readonly applied (but mixed i.e. square box not a full check). I can unapply it but it just go back to mixed. I would note howwever that the file in question (Microsoft.ReportViewer.WinForms.dll) itself does not carry the readonly permission. And even if it was... doesn't InstallAware just need to make a copy anyhow?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: The process cannot access the file because it is being u

Postby FrancescoT » Wed Jan 14, 2015 12:10 pm

Dear User,

if you post a very minimal Visual Studio project that can be used to replicate the issue, I'll try to verify what happens.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 82 guests