Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7737967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T08:08:28+00:00 2026-06-01T08:08:28+00:00

I am encountering issues while deploying an ASP web application to HostMySite. The application

  • 0

I am encountering issues while deploying an ASP web application to HostMySite. The application has previously been deployed to their servers that are on different platforms without issues. However, for the current domain and server I continue to get the server error below.

Server Error in ‘/PropertyManagement’ Application.
The current identity (ADSAFESECUREWEB\C116018-fhmonlinea) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The current identity (ADSAFESECUREWEB\C116018-fhmonlinea) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. I know that the code is not explicitly attempting to write to the .NET temporary directory but, I was wondering if the application is somehow using that directory during run-time. The host keeps telling me that I have to configure my application to not use the temporary directory since they will not provide read/write access to it. Can someone please tell me why my application might be attempting to use this directory and what I can do to configure it to use a different directory that I have access to. I am new to ASP development and need help. Thanks!

Stack Trace:

[HttpException (0x80004005): The current identity (ADSAFESECUREWEB\C116018-fhmonlinea) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +11650831
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +323

[HttpException (0x80004005): The current identity (ADSAFESECUREWEB\C116018-fhmonlinea) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11612256
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4842149

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T08:08:30+00:00Added an answer on June 1, 2026 at 8:08 am

    The CLR copies all your assemblies to that directory and compiles your .aspx/.asmx/etc files and puts the compiled version in Temporary ASP.NET Files.

    This must be writable so that your site can be compiled at runtime.

    Edit: Here is an MSDN article explaining it.

    As discussed in the comments, if the provider refuses to let you write to that directory, you can override it by putting the following in your web.config, ‘system.web’ section:

    <compilation tempDirectory="c:\path\to\directory\you\can\write" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been encountering issues with a custom WCF service deployed to SharePoint 2010.
I'm programming a complex storyboard application and I'm encountering some issues when it comes
Iv been encountering problems with disk space when deploying my app to a pocket
I have an Access 2007 application (previously in Access 2003) that is running into
I've been messing around with a radiobox. I'm encountering an issue that varies depending
During development of an mvc web application, I'm encourtering issues running the local instance
I'm encountering this issue while deploying my ear to my local JBoss 5.1 server
I am encountering issues in the navigation defined in a master page which are
I'm encountering problems with my .NET Framework 3.0 SP1 application. It is a C#
I want to put an update to my App and I'm encountering heavy issues.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.