Home > DeveloperSection > Forums > Error while running MVC application
lois waisbrooker
lois waisbrooker

Total Post:70

Points:494
Posted on    October-17-2014 1:00 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:


 1 Reply(s)
 657  View(s)
Rate this:

Hi all i have been developing an MVC application in my remote desktop  . but while executing the project im getting the following error . And once i deleted the abc.dll in my bin the project get executing but why am i getting the following error frequently

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



ezra heywood
ezra heywood

Total Post:145

Points:1019
Posted on    October-17-2014 1:01 AM

I found the answer thanks all

 <system.web>

<hostingEnvironment shadowCopyBinAssemblies="false" />

 </system.web>

by changing this to like this i could solve

<system.web>

<hostingEnvironment shadowCopyBinAssemblies="true" />

 </system.web>


Modified On Oct-17-2014 01:03:07 AM

Don't want to miss updates? Please click the below button!

Follow MindStick