Skip to content

Instantly share code, notes, and snippets.

@bioyeneye
Created August 19, 2020 14:44
Show Gist options
  • Save bioyeneye/34958e1fb586ebc14f49a69ac417c5ce to your computer and use it in GitHub Desktop.
Save bioyeneye/34958e1fb586ebc14f49a69ac417c5ce to your computer and use it in GitHub Desktop.
I think you need to register .net Freamework 4.0 for IIS for the above issue. Here are the steps..
Could not load file or assembly 'System.Web, Version=4.0.0.0, Culture=neutral' or one of its dependencies. Access is denied
Open Command prompt as Administrator
Navigate to "C:\Windows\Microsoft.NET\Framework\v4.0.30319" directory in command prompt [use the command cd C:\Windows\Microsoft.NET\Framework\v4.0.30319]
Register .net FrameWork for IIS [use command aspnet_regiis.exe -i]
Restart IIS [use command iisreset].
Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment