SOLUTION:
I got the following error “This program is blocked by group policy. For more information, contact your system administrator.” while hosting the asp.net mvc application published copy to the godaddy account. Later I found solution for the problem. Just remove all the contents inside the system.codedom tag in web.config file.
web.config file:
Go to web.config file in the project folder then search for system.codedom tag and removed the all the contents inside the system.codedom tag. Next compile it and go to godaddy and replace it with old web.config.file .
<?xml version="1.0" encoding="utf-8"?>
<!--
------------------------------
--------------------------------
----------------------------------
-->
<configuration>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:6 /nowarn:1659;1699;1701" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:14 /nowarn:41008 /define:_MYTYPE=\"Web\" /optionInfer+" />
</compilers>
</system.codedom>
</configuration>
Below video will explain how to solve this following problem “This program is blocked by group policy. For more information, contact your system administrator.”.
https://www.youtube.com/watch?v=XArc0fHKQxc
Post your comments / questions
Recent Article
- How to create custom 404 error page in Django?
- Requested setting INSTALLED_APPS, but settings are not configured. You must either define..
- ValueError:All arrays must be of the same length - Python
- Check hostname requires server hostname - SOLVED
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
Related Article