• Register
0 votes

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

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.


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
2 answers 37 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 maddi86 5.4k points
0 votes
1 answer 12 views
1 vote
1 answer 40 views
Problem : While binding the dropdown in MVC, I often face following error: There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key country. Please find below my View for your reference : @Html.DropDownList("country", (IEnumerable<SelectListItem>)ViewBag ... .countryid.ToString() }); } ViewBag.mycountrydrop = myitem8; return View(); I do not know how to resolve above error.
asked Dec 28, 2019 alecxe 7.5k points
0 votes
1 answer 12 views