I had a working DotNetNuke project 4.0.2 with .Net 2.0 that I wanted to publish to Windows Server 2003.
However when I opened the published web site, I've got an error:
Parser Error Message: Unrecognized attribute 'requirePermission'.
Source Error:
Line 4:
Line 5:
Line 6:
After some search in Google I recognized that the published site is running .Net 1.1 instead of expected 2.0.
I had to change application pool to be ASP.NET 2.0(how to do this see e.g. Create the Application Pool and Move the Virtual Server to the New Application Pool ) and then run
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -s W3SVC/1/ROOT/DotNetNuke
to fix the problem. Note that DotNetNuke should be replaced with actual name of your virtual directory and 1 with the actual number of your web site (1 for default web site).
