Website host

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

SOLVED-This program is blocked by group policy. For more information, contact your system administrator.(godaddy server), someone asked me to explain?

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

 

Post your comments / questions