c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
Website host

SOLVED-This program is blocked by group policy. For more information, contact your system administrator.(godaddy server)

| | ASP-NET , Networking , webconfig , MVC

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=\&quot;Web\&quot; /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