Hey Guys, I just noticed this error upon trying to add a new calendar item to the Groupboard Workspace Template:
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Code blocks are not allowed in this file.
Source Error:
|
Source File: /departments/it/gb/Lists/Schedule and Reservations/NewForm.aspx Line: 66
Any ideas on how to fix this Thanks!

Code Block Error in Groupboard Workspace Template?
Greg D Clark
I have yet to install Groupboard Workspace, but based on the error you are getting, there is an additional entry you will need to add in the web.config file:
Depending on whether it is a page (with aspx extension) or a master page, the entry differs slightly:
For aspx page:
<PageParserPaths>
<PageParserPath VirtualPath="/pages/[file name].aspx" CompilationMode="Always" AllowServerSideScript="true" />
</PageParserPaths>
For master page, this will enable inline code blocks for all master pages:
<PageParserPaths>
<PageParserPath VirtualPath="/_catalogs/masterpage/*" CompilationMode="Always" AllowServerSideScript="true" />
</PageParserPaths>
Hope this helps....
Cheers
skuehner
I am experiencing a similar problem as well.
Even though SharePoint Designer/Portal claim to have ASP.NET support when I drop a standard ASP.NET page onto the site it throws this error at me.
I haven't tried code-behind pages (can't find that support anywhere in SharePoint Designer, must have to be a VS.NET thing - although I get some weird "Visual Web Designer does not support opening SharePoint Sites" error but that's another story)
Portal is running on a standard Windows Server 2003 virtual instance along with the SharePoint designer, VS.NET 2005 (all the updates and new SharePoint tools/templates etc..) running on XP complains about viewing the Portal site.
I hope a resolution is out there for this one