Hi,
I need to know the difference between Framework and Framework64 folder C:\Windows\Microsoft.NET folder and please don't make assumption that I know basic things that you already know.
For example, I have ASP.NET sites on 32 bit windows 2003 R2 / IIS 6, and I am moving them to Windows 20112 R2 64 bit / IIS 8.5 by building sites and moving the code etc. I have also Apache sites on Linux but that is another issue.
Here are my questions
1-) Is it safe to assume that all the web app hosted on Windows 2003 R2 is 32 bit applications, because OS is 32 bit.
2-) If not, how i can determine which app is 32 bit and which one is 64 bit
3-) When I run commands such as caspol and aspnet_regiis -ga on Windows 2012 R2 during building sites , Should I run them in C:\Windows\Microsoft.NET\Framework64\ or C:\Windows\Microsoft.NET\Framework\
( I am aware that I should run these commands in the subfolders of v4.0.30319 or v2.0.50727 depending on the site. But that is not my question. My question is which folder ; framework or framework64 )
So far I was running all the commands in C:\Windows\Microsoft.NET\Framework
4- ) if that is the case, meaning I should be running them under C:\Windows\Microsoft.NET\Framework on Windows 2012 R2 / IIS 8.5 , then in which case I should be running them in C:\Windows\Microsoft.NET\Framework64 folder.
Thanks
F.
These are very nice and clean answers. Thanks. I think so too applications should be 32 bit on Windows 2003 R2 32 bit server. But IIS 8.5 allows to run 32 bit as well with that setting as saige pointed out.
Okay, then If I have a web site written 64 bit then, I should be using framework64 folder . I think that is clear now. Thanks ,,,
Actually I have noticed that my 4 th question doesn't make sense. from the answer to 3 questions , if the app is 32 bit then I should be using framework , if it is 64 i should be using framework64.
-- Emmanuel,if possible could you please expand on the use case of WOW64 version of cmd.
for example, my code of the site sits on UNC share on NAS and when I build the site on Windows 2012 R2 , I run this caspol command in standard cmd command prompt, i am not using WOW64
caspol.exe -m -ag 1 -url "\\UNC_Path\*" FullTrust. My application is 32 ( when looking at the place you told me ). so far I was running this command and aspnet_regiis -ga Service_Account command as well in C:\Windows\Microsoft.NET\F
Could you please tell me in which case i need to use the WOW64 version of cmd.
is it that , for example, if i want to run this 32 bit apps as if 64 bit ?
I couldn't understand the following statement :
------If you have 32-bit application you want to run from the Command Prompt then you need to use the WOW64 version of cmd.exe-----
Thanks very much
F.