An error ocurred during the process of … Code Block are not allowed in this file.

15 09 2008

Oh well, whenever I start a project, there I go hitting this message.

Just as a reminder: if you want to solve this, you just have to edit your web.config file and set the gallery you want to run code in. For example, if this happened caused by some code added tou the blueband.master masterpage, you will have to modify :


<Safemode …>
<PageParserPath VirtualPath=”/_catalogs/masterpage/*” CompilationMode=”Always” AllowServerSideScript=”True” IncludeSubfolders=”True” />

Just as a hint, if you have some sort of framework, it may be useful to add this line on install.




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: