Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Error : Code blocks are not allowed in this file.

$
0
0
Hi, I am trying to implement inline code in sharepoint default page (The default page doesnt have a corresponding CS page).

While doing so , I get the following error

Code blocks are not allowed in this file.

I updated the web.config of the site to include

<

 

PageParserPaths AllowServerSideScript="true" CompilationMode="Always" VirtualPath="/ShipOwnerPortal/*" IncludeSubFolders="true">

</

 

PageParserPaths>

But still no result.

Please help....


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>