web 2.1

IIS Admin Add-in for Visual Studio

Released this little nifty Add-in for Visual Studio today...

IIS Admin Add-in for Visual Studio

Tags:

Categories: .net

Remove PrecompiledApp.config

The Sitecore 5.2.0.1 package contains a file called PrecompiledApp.config, located in the root-folder. Because of this little nasty bugger, you receive this Server Error if you try to add your own class to the solution:

 

Server Error in '/' Application.


The directory '/App_Code/' is not allowed because the application is precompiled.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

medium_app_data_error
(Click image to zoom)


I tried all sorts of things to fix it, but ended up contacting Runi from Sitecore. He replied that I should hust remove the PrecompiledApp.config file - and voila! it worked...

Tags:

Categories: .net | Sitecore