Tuesday, March 11, 2008

How to enable inline coding in MOSS 2007 or WSS 3.0 Custome aspx pages ?

By default, the inline code would throw error in custom defined aspx pages in MOSS / WSS 3.0. To make it work, add the following lines of code in the web.config.

<PageParserPath VirtualPath="/<>/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" />

The "PageParserPaths" tags would be already existing in web.config. All you need to do is to add the code in between to specify your folders to execute the C# script.

- :: -

No comments: