locked
File Missing in ASP.NET Temporary Compilation Folder RRS feed

  • Question

  • User-383688373 posted

    Hello,

    I am having this issue of missing file when building an ASP.NET website application in Visual Studio 2012, I got the error below:

    Error 27 Could not find file 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\<ApplicationDirectoryName>\e37604f0\99f25d47\App_Web_lmsgiywk.24.vb'.

    I have built the application over and over again and have not gottena way out yet.

    Tips and way out of this issue will be appreciated.

    Thanks.

    Tuesday, July 8, 2014 2:44 AM

Answers

  • User541108374 posted

    Hi,

    kill IIS Express if you're using that or perform an iisreset command if you're making use of IIS on your dev machine.

    Then perform a clean build on your solution and then a rebuild solution (basically I always use the latter for building instead of just Build).

    You can also try to delete everything under the Temporary ASP.NET Files folder.

    In the past also Indexing Services from Windows needed to be excluded to index that particular folder (gave us quite some headache before I found that one out).

    Grz, Kris.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 8, 2014 2:52 AM