Got errors while building the solution file

veronica madsen asked on May 11, 2015 04:13


I install kentico 8.2 on my local machine in a webapp project mode when i rebuild the solution i got this error Error "Could not copy "obj\Debug\CMSApp_MVC.dll" to "bin\CMSApp_MVC.dll". Exceeded retry count of 10. Failed. CMSApp_MVC"Error

Unable to copy file "obj\Debug\CMSApp_MVC.dll" to "bin\CMSApp_MVC.dll". The process cannot access the file 'bin\CMSApp_MVC.dll' because it is being used by another process.    CMSApp_MVC

i try too many things to get it fixed but it could not resolved then i re-install kentico again in a website project mode i got same error. How would i get rid of this error???



Recent Answers

Brenden Kehren answered on May 11, 2015 15:06

Try restarting your machine. I've also found there are times when I cannot start a site in IIS because Skype has port 80 blocked. Stopping and restarting Skype typically fixes this. Not sure exactly what would be using those DLLs, that's why I suggest a restart.

0 votesVote for this answer Mark as a Correct answer

veronica madsen answered on May 11, 2015 16:40 (last edited on May 11, 2015 16:42)

Hello Brenden Kehren

thanx for your reply I restart my system again and again also kill my skype process but error is still same Suggest me any other solution


0 votesVote for this answer Mark as a Correct answer

Mitch du Clou answered on April 20, 2016 10:47 (last edited on April 20, 2016 10:48)

Try to kill the following processes before you hit build in Visual Studio:

  • HealthMonitoringService.exe
  • SchedulerService.exe

These processes lock your .dll files.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.