none
Allowing server side script for an explicit page RRS feed

  • Question

  • Works with SP2010, but not with SP2013:

    <PageParserPath VirtualPath="/_catalogs/masterpage/InternalSystems.master" CompilationMode="Always" AllowServerSideScript="true" />

    I don't want to use the "VirtualPath=/*"-workaround.

    Any solutions ?

    Tuesday, September 9, 2014 9:16 AM

All replies

  • Hi Thomas,

    Greetings. pl scheck

    http://blog.technock.net/2013/03/code-blocks-are-not-allowed-in-this.html

    you should modify web.config before using allowserversidescript.


    Please remember to click 'Mark as Answer' on the answer if it helps you

    Tuesday, September 9, 2014 10:23 AM
  • <PageParserPath VirtualPath="/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />
    As i mentioned above: Don't want do use "/*" as virtual path. As soon as i change this to a particular site (e.g. "/pages/*"), it does not work. Always get an exception.
    Monday, September 22, 2014 7:43 AM