locked
What to do about errors from TEMP folder RRS feed

  • Question

  • User1642115476 posted

    Hello,

    I'm working on a C# project in Visual Studio 2017. I keep getting these errors that come from

    C:\Users\Junkm\AppData\Local\Temp\Temporary ASP.NET Files\...

    These errors are a pain in the ass to solve. I could never quite figure out why they happen or what to do about it. Most suggestions on the net say to delete the contents of the Temp folder. Most of the time, I can't even do that. There's usually a few files that won't delete because they're being used by another program. On the rare occasions when I can, it doesn't help. The files get regenerated and I get the same error.

    How does one generally deal with these kinds of errors?

    Friday, March 8, 2019 3:07 AM

All replies

  • User283571144 posted

    Hi gib9898_00,

    Could you please tell me when you face this error? Open the C# project or build it?

    Could you please tell me what's the details error message about the project?

    If you could post more details information, it will be more easily for us to reproduce the issue and find out the solution.

    Best Regards,

    Brando

    Friday, March 8, 2019 8:53 AM
  • User1642115476 posted

    Hi Brando,

    Thanks for the response. Here is the exact error message:

    error message

    I'm more concerned with solving errors like this in generals (errors that come from the TEMP directory), but if you could help me with this one specifically, I would be grateful for that too.

    Sunday, March 10, 2019 6:10 AM
  • User283571144 posted

    Hi gib9898_00,

    According to your error message, it seems you have a view app_web_home.cshtml, it appears that you are indeed either missing the namespace for your model declaration or declared the wrong namespace for the model that you are trying to use.

    I suggest you could firstly check the app_web_home view to make sure the content.home is exists.

    Best Regards,

    Brando

    Monday, March 11, 2019 5:31 AM