Do people not realise you can tax your bloody car online these days without moaning at the Post Office? #waiting or perhaps they can't read!
Posts Tagged Windows 2008
Change of Platform
Posted by Kevster in Site Updates on 27/08/2009
Having run this blog and others on Community Server for quite a while not, I decided it was time for a change.
As this sites only used for blogs (no media, forums etc) there did not seem much point in continuing running the site on CS. In addition, for some reason they have decided to remove support for running multiple ‘virtual’ CS sites within the same database. Also I have issues with the stability, updates etc. Hence moving this to WordPress.
Lets see how it goes……
ASP.Net and SharePoint
Its taken me long enough but finally had a reason to write some true ASP.Net code. One problem I hit was that trying to run code on a server that is running SharePoint Services …. so you need this exceprt….
You may see this error:
Reason: SharePoint does not allow server side code to execute in aspx pages contained in the SharePoint site.
Fix: Edit the web.config (I.E. C:\Inetpub\wwwroot\wss\VirtualDirectories\80\web.config) file:
<!– To allow a single file: –>
<PageParserPath VirtualPath=”/test.aspx” CompilationMode=”Always” AllowServerSideScript=”true” />
<!– To allow global: –>
<PageParserPath VirtualPath=”/*” CompilationMode=”Always” AllowServerSideScript=”true” />
<!– To allow global within a subsite: –>
<PageParserPath VirtualPath=”/websitefoobar/*” CompilationMode=”Always” AllowServerSideScript=”true” />
</PageParserPaths>