>Restore to site definition after “code blocks” error

>

You all know those users who didn’t do anything wrong but they suddenly encounters an error on there SharePoint library.

Last week one of my end users had the following error when he wanted to access his document library:

“Code blocks are not allowed…”

It was unable to access the document library with the browser.

Solution

(as site admin)

Go to Site actions –> Site Settings –> click the “Restore to site definition” link.

In the screen enter the url of the list that is broken and click ok.