Dec
31
Written by:
Vizisoft Networks
31 December 2009 10:30
Migrating some old DotNetNuke 2.12 sites under ASP.NET 1.1 to a new Windows 2008 Server (64bit), all went smoothly, used the new Webdeploy and al sites were created. Installed .Net Framework 1.1 and was set to go. But trying to access any of the site details for the ASP.NET 1.1 sites gave the following error:
There was an error while performing this operation.
Details:
Filename:
\\?\C:\Windows\system32\inetsrv\config\applicationHost.config
Error:
Went throughthe applicatonHost.config file line by line but no obvious errors, or differences with ASP.NET 2.0 sites.
Eventually tracked this down as:
"The problem is that when the runtime tries to load the corresponding configuration, it doesn't take the bitness of the application pool into the consideration. As you know, ASP.NET 1.1 is only supported on 32-bit. So if you have a 64-bit OS, in order to run ASP.NET 1.1, you have to enable 32-bit applications in the application pool. So, with the QFE/SP2 on 64-bit OS (and only on 64-bit OS), the runtime is incorrectly looking for the 1.1 version of the configuration under Framework64, which does not exist."
Smart solution was to create an NTFS junction:
MKLINK /j "%WINDIR%\Microsoft.NET\Framework64\v1.1.4322" "%WINDIR%\Microsoft.NET\Framework\v1.1.4322"
Tags: