July 15, 2019

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

Problem:

You may encounter the following error message while deploying ASP.NET Web Forms application.

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

The solution I found is simply delete the PrecompiledApp.config file and re-start your application.

In some cases, bin folder in deployed website may also cause an error, so you may also need to delete bin folder.

Caution!

Make sure you took the backup before deleting anything.

No comments:

Post a Comment