Even Mien

Monday, March 31, 2008

SharePoint: MasterPage with inline code results in "Code blocks are not allowed in this file"

Edit web.config:
<PageParserPaths>
    <PageParserPath VirtualPath="/_catalogs/masterpage/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
</PageParserPaths>

Posted by Even Mien at 12:28 PM
Labels: sharepoint, tip

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2009 (2)
    • ►  06 (1)
      • Reading List: The Pragmatic Programmer
    • ►  05 (1)
      • Fixing “web page not available” in Chrome
  • ▼  2008 (17)
    • ►  09 (1)
      • StackOverflow - My New Addiction
    • ►  04 (3)
      • SPD: SharePoint Designer 2007 won't take my licens...
      • SharePoint: Display site title
      • SharePoint: Batch file to deploy WSP
    • ▼  03 (11)
      • SharePoint: VSeWSS on workstation
      • SharePoint: MasterPage with inline code results in...
      • Tool: Color Cop
      • SharePoint: Where to put .pdb file when .dll is in...
      • SharePoint: Determine which application pool is as...
      • SharePoint: "Service Unavailable" when specifying ...
      • SharePoint: Always show a link to the homepage in ...
      • SharePoint: How to hide the title of a web part?
      • SharePoint: Link to top of site collection
      • How To: Restart File Transfer Manager
      • SharePoint Designer 2007 - Cache Out of Sync
    • ►  01 (2)
      • My Diet Personality
      • 2008 Personal Goals
Awesome Inc. template. Powered by Blogger.