Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

Build broken: Access denied to Temporary ASP.NET Files

saxx's Avatar

saxx

15 Feb, 2011 05:41 PM

I upgraded an app from ASP.NET MVC2 to MVC3. Now the build on AppHarbor breaks, the error is:

ASPNETCOMPILER : error ASPRUNTIME: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files'.

What am I doing wrong? Thanks a lot for your help,
~ saxx

  1. 1 Posted by tansey on 15 Feb, 2011 06:06 PM

    tansey's Avatar

    Are you trying to write something to disk? AppHarbor doesn't allow access to local storage.

  2. 2 Posted by saxx on 15 Feb, 2011 06:17 PM

    saxx's Avatar

    No, just a small ASP.NET MV3 app with SQL Server, nothing fancy, no disk access. Plus it's the build itself that fails, not the app.

  3. Support Staff 3 Posted by friism on 15 Feb, 2011 06:55 PM

    friism's Avatar

    Are you precompiling your views? It's something we want to support, but it's probably not working currently. In the meantime I suggest you disable view precompilation.

  4. friism closed this discussion on 15 Feb, 2011 06:55 PM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac