|
|
|
Hi.
Thank you for the reply. The work around is to enable 32-bit apps on 64-bit in IIS by running: 1. cscript.exe C:\Inetpub\AdminScripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 2. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -r 3. "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/ccnet" Here is the detailed output: C:\Documents and Settings\Administrator>"C:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/ccnet" The error indicates that IIS is in 64 bit mode, while this application is a 32 b it application and thus not compatible. C:\Documents and Settings\Administrator>cscript.exe C:\Inetpub\AdminScripts\adsu til.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1 Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. Enable32bitAppOnWin64 : (BOOLEAN) True C:\Documents and Settings\Administrator>"C:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/ccnet" Start registering ASP.NET scriptmap (2.0.50727) recursively at W3SVC/1/ROOT/ccne t. The error indicates that this version of ASP.NET must first be registered on the machine. C:\Documents and Settings\Administrator>"C:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regiis.exe" -r Start installing ASP.NET (2.0.50727) and replacing ASP.NET DLL in all Scriptmaps with current version. ................................................. Finished installing ASP.NET (2.0.50727) and replacing ASP.NET DLL in all Scriptm aps with current version. C:\Documents and Settings\Administrator>"C:\WINDOWS\Microsoft.NET\Framework\v2.0 .50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/ccnet" Start registering ASP.NET scriptmap (2.0.50727) recursively at W3SVC/1/ROOT/ccne t. Finished registering ASP.NET scriptmap (2.0.50727) recursively at W3SVC/1/ROOT/c cnet. Very interesting. CCNET is a pure-.NET C# application, and is compiled to MSIL, not to 32-bit machine code, so I'm surprised that IIS complained. I was actually expecting you to come back and say that aspnet_regiis was located somewhere else. But this is surprising.
Please check out your registry and tell me:
1) What keys are under HKLM\Software\Microsoft\.NetFramework\policy\v2.0 2) What is the value of HKLM\Software\Microsoft\.NetFramework\InstallRoot I think the issue may be that CCNET should be using the version of aspnet_regiis.exe that is in Framework64, not the version in Framework. On 64-bit machines there is also this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework And the value of InstallRoot there is C:\WINDOWS\Microsoft.NET\Framework\ And so maybe the ccnet setup installer should disable registry redirection when running on x64. Here is some more technical information: http://support.microsoft.com/kb/896459 Revision #4014 changes createCCNetVDir.vbs to locate aspnet_regiis.exe via the chain of registry keys rather than by a hard-coded pathname.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe" -s "W3SVC/1/ROOT/ccnet"
Please try that by hand and let us know what happens.