Faild to load application

Rochdi Badis 1 Reputation point
2022-02-18T02:05:56.63+00:00

Hi Guys,

After our system admin processed some updates in the server now I'm getting this error when loading my application:

CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\cvdesktoptest\bd400d26\e617c1c3\App_Code.v7si8vgx.dll' -- 'Access is denied.

any help pls?

Thanks

Microsoft Security | Intune | Configuration Manager | Application
{count} votes

3 answers

Sort by: Most helpful
  1. satya karki 996 Reputation points MVP
    2022-02-19T14:52:45.15+00:00

    Hi @Rochdi Badis

    The error message suggests that it could be because of a permission issue. Try changing the permission to dll folder or run application with admin privilege to verify the permission issue.

    2 people found this answer helpful.
    0 comments No comments

  2. Rijwan Ansari 766 Reputation points MVP
    2022-02-19T14:57:18.58+00:00

    Hi @Rochdi Badis

    You need to grant full control to two users of your system, "Network Service " and "YourComputerName\IIS_IUSERS ".

    Just right click following folders

    1. C:\Windows\Temp
    2. C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

    And go to Security tab, click Edit and click Add and try adding "Network Service" and "YourComputerName\IIS_IUSERS", from the Permission checkbox, click Full Control. Click Apply and OK.

    Restart your IIS and try running your web application. Hopefully it should run.


  3. Dominique Brouard sur Outlook.com 0 Reputation points
    2025-05-16T11:10:55.5233333+00:00

    Merci Sartia Karki, j'ai démarré les deux applications, Lightroom et On1Photoraw, en mode administrateur, et cette fois le transfert des données ne s'est pas bloqué à 1% avec un message d'erreur. Je n'en suis qu'à presque 1/3 du transfert, mais je suis optimiste...


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.