• 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

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.


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 40 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 2 views
Problem: metadata publishing for this service is currently disabled.
asked 6 days ago charles mathews 3.8k points
0 votes
1 answer 19 views
0 votes
1 answer 12 views
Problem: system.componentmodel.win32exception: the network path was not found.
asked Feb 12 Shovo210 2.2k points
1 vote
1 answer 46 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
0 votes
1 answer 101 views
Problem : I am facing this Kind of Error like:: Specified argument was out of the range of valid values.Parameter name: site While Debugging any of the Project. I have also tried after Reinstalling the Visual ... +9873912 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
asked Jan 20, 2020 jwilliam 3.9k points