---
title: "Error while running MVC application"  
description: "Error while running MVC application"  
author: "Anonymous User"  
published: 2014-10-17  
updated: 2014-10-17  
canonical: https://www.mindstick.com/forum/2402/error-while-running-mvc-application  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 1 minute  

---

# Error while running MVC application

Hi all i have been developing an [MVC application](https://www.mindstick.com/forum/12932/how-to-consume-webservices-from-asp-dot-net-mvc-application) in my [remote desktop](https://answers.mindstick.com/qa/50302/how-to-speed-up-your-slow-remote-desktop-connection) . but while executing the [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects) im getting the following error . And once i [deleted](https://www.mindstick.com/forum/160487/how-to-remove-the-deleted-git-code-marker-in-scrollbar-in-visual-studio-2022) 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](https://www.mindstick.com/forum/161620/how-do-you-copy-file-metadata-creation-date-attributes-along-with-the-file) "obj\Debug\abc.dll" to "bin\abc.dll". The [process](https://yourviews.mindstick.com/story/1525/7-important-factors-that-may-affect-the-learning-process) [cannot access](https://www.mindstick.com/forum/33726/inside-onclicklistener-i-cannot-access-a-lot-of-things-how-to-approach) the file 'bin\abc.dll' because it is being used by another process.**

## Replies

### Reply by Anonymous User

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>
```


---

Original Source: https://www.mindstick.com/forum/2402/error-while-running-mvc-application

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
