Could not load file or assembly 'WebApplication2' or one of its dependencies RRS feed

  • Question

  • User-1506996564 posted


    I installed VS Express 2013 for web , 


    I get this error if I run any web project

    Could not load file or assembly 'WebApplication2' or one of its dependencies. ‏‏يتعذر على العملية الوصول إلى الملف لأنه قيد الاستخدام من قبل عملية أخرى. (Exception from HRESULT: 0x80070020)

    the non-english part means : it could not access the file because it is in use by another process

    any ideas please

    Sunday, October 4, 2015 8:41 AM


  • User281315223 posted

    This is occurring in any Web Project?

    If that is the case, then something something sounds wrong with Visual Studio. You might consider closing Visual Studio and restarting it (running it with administrative rights via Right-click > Run as Administrator). This generally resolves most Visual Studio issues, if that in fact is one. (Restarting your machine can help as well).

    With regards to your actual error message, it sounds like you are missing an assembly reference. Try checking the References area of your application to ensure the proper references are there and that none of them have any caution icons over them (indicating issues).

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, October 4, 2015 12:11 PM