I trying to deploy my ASP.NET WebForms application to AppHarbor. After a succesful deploy I get
The directory '/App_GlobalResources/' is not allowed because the application is precompiled
I disabled the Precompilation in the app settings but it did not help. What should I do? Should I change some settings in my project o is it a server configuration thing?
I found a solution deleting the PrecompiledApp.config but I do not have access to it on AppHarbor.
All you need to do, if your site is Precompiled, is to make sure that the directory /App_GlobalResources is deleted from your deployment location.
I had the exact same problem, and when I removed this directory it all worked very well.
NOTE: Its good to have your site precompiled so it is faster and more responsive, and therefore it may not be a good idea to remove precompiledapp.config file from your deployment folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With