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 Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
466 questions
{count} votes

2 answers

Sort by: Most helpful
  1. satya karki 986 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.

    1 person found this answer helpful.
    0 comments No comments

  2. Rijwan Ansari 746 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.

    0 comments No comments