• Register
0 votes
321 views

Problem :

When I try to upload my application on to the GoDaddy shared Plesk hosting account, I get the below error.

“This program is blocked by group policy. For more information, contact your system administrator.”

Does anyone know a purpose of this block or why the Microsoft puts it there?

Please Note : The app uses C# and not VB.

7 5 2
3,870 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

From the ASP.NET 2 it is possible to upload the site to your hosting without even compiling it. Then your site will be compiled on a initial request using a compiler settings as seen in your web.config. If you have pre-compiled your site but still have the code in the App_code folder then those settings will be used to compile the code.

I think the go-daddy disabled the compiling on their servers so malicious code can not be inserted and compiled or executed.

As long as you are not using your App_code folder and you have pre-compiled your website then you can delete your web.config section that you have mentioned.

OR

On the server change the Asp.net settings. There is the option for Trust Level. Just try to set it to the "Full".

This will surely solve your error.

9 7 4
38,600 points

Related questions

0 votes
1 answer 4 views
4 views
Problem: Please help me fix this dilemma in This program is blocked by group policy. for more information contact your system administrator?
asked Apr 6 tuhin1 48.9k points
0 votes
1 answer 3 views
3 views
Problem: How to turn on windows defender in windows 10 by group policy?
asked 5 days ago Irenka Kiri 17.9k points
0 votes
1 answer 2 views
2 views
Problem: Please Support is needed > Failed to open the group policy object on this computer .
asked 22 hours ago Isac Christiaan 7.6k points
0 votes
2 answers 44 views
44 views
Problem: Can anyone guide me with the right solution? what service works with group policy to install, upgrade, patch, or remove software applications?
asked Feb 17, 2020 maddi86 5.4k points
0 votes
1 answer 3 views
3 views
Problem: How to solve this issue? Unable to read group information from repositories.
asked Apr 18 PkGuy 23.5k points
0 votes
1 answer 18 views
18 views
Problem: Can't log in to intranet website from IE. From Chrome everything works fine. ASP.Net.Identity used to check if email is in DB. We don't use passwords, only corporate emails. IIS used to host web- ... System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +607 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134
asked May 1 anika11 32.2k points
1 vote
1 answer 6 views
6 views
Problem: I got an error while rendering index view: The "renderbody" method has not been called for layout page.
asked Apr 26 PkGuy 23.5k points
1 vote
1 answer 7 views
7 views
Problem: I am new to ASP MVC but encountering this problem. The following sections have been defined but have not been rendered for the layout page
asked Apr 24 PkGuy 23.5k points
0 votes
1 answer 7 views
7 views
Problem: 1. Error when starting app Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Stack Trace: [FileNotFoundException: Could not load file or ... .0-4.1.1.1" newVersion="4.1.1.1" /> </dependentAssembly> ... </assemblyBinding> </runtime> </configuration>
asked Apr 26 ochena 23.3k points
0 votes
1 answer 5 views
5 views
Problem: Do you have any suggestions about how I can resolve this &ldquo;Argument out of range exception: argument is out of range. parameter name: index&rdquo;?
asked Apr 1 rakib1 51.5k points