Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AppHarbor: The directory '/App_GlobalResources/' is not allowed because the application is precompiled

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.

like image 831
Igor Kulman Avatar asked Dec 02 '12 22:12

Igor Kulman


1 Answers

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.

like image 134
Sunil Avatar answered Nov 11 '22 10:11

Sunil