How can I run an Application Pool in 64bit mode on Windows Server 2008 R2 x64 with IIS7 Installed ?
You do not tell it to run in 64 bit mode, you only tell it if you want to run it in 32 bit mode. By default it should run in 64 bit.
Related
My asp.net MVC application not working in IIS 7.5 on Windows 7, but it's working fine in IIS 8 with Windows 10.
In my live server I am facing the same. In my server I have Windows 2012 r2
I was creating a demo application, but faced the same issue.
Anyone had this issue?
ASP.NET 4 was not registered in IIS. had to run the following command in the command line/run
32bit (x86) Windows:
%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -ir
64bit (x64) Windows:
%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -ir
My installer works fine with Windows 7 32Bit but if run on a Windows8 64 Computer I get an out of memory error during the installation process.
The Windows 7 and the Windows 8 output are created fine with Inno Setup 5.5.5
Sorry forgot to cancel this.
I discovered my brand new Windows 8.1 computer with 32GB of ram was locked to 4GB of useable ram. I was getting out of memory errors. I have reconfigured the computer and now all is well.
I am working on a Classic ASP application. It used dlls to upload and download files to web server.
FunctionUpload.dll is registered using the regsvr32.exe command. It works fine in Windows 2003 server , 32 bit OS with IIS 6.
Now the server is upgraded to Windows 2008 64 bit OS with IIS 7.5. I registered the dll using regsvr32.exe command in 64 bit OS. ( regsvr32.exe in C:\Windows\SysWOW64 folder using Admin login)
When the ASP code tried to create an object of that dll it fails.
Set download = Server.CreateObject("FunctionUpload.File")
Please let me know what steps need to be done to access the dll from ASP code on a server with windows 2008 64 bit OS with IIS 7.5?
How to check if the dll is registered properly on a 64 bit OS?
Should I make any changes in the IIS 7.5 settings to invoke that dll?
Thanks
Ashok
you have to enable 32-bit applications in your iis under your application pool
I’m trying to install a 32-bit ASP.NET application onto a 64-bit IIS server running on Windows Server 2008. This is a clean installation of the operating system with no other applications installed.
As a prerequisite for our installation, we run the 32-bit version of aspnet_regiis –i
It fails with the following message:
The error indicates that IIS is not installed on the machine. Please install IIS before using this tool.
Additionally:
IIS is definitely installed.
The 64 bit version of aspnet_regiis runs cleanly without warnings.
“Enable 32 bit applications” is set to True in the DefaultAppPool’s Advanced Settings.
The IIS Metabase and IIS 6 configuration compatibility” component is installed.
We have a test VM where this error occurs as well as test VM where both the 32 bit and 64 bit versions of aspnet_regiis run without errors. We've had no luck distinguishing the differences between the two test VMs.
We have struggled with this issue for several days to no avail. Any suggestions would be greatly appreciated!
Is it necessary to run aspnet_regiis? 32 bit asp.net should already be installed and running on iis7, all you should need to do is set the app pool to “Enable 32 bit applications” and set you web app to use that app pool. You do not say what happens when you install/setup your web app, do you get any errors when you try to access it in a browser?
Problem solved! Apparently the issue stems from Windows Server 2008 (R1). Applying the SP2 update to the operating system cures the problem. Later iterations of the OS don't seem to exhibit this behavior.
I am having issues running the chart control on our 64 bit machine. I get the following error...
Could not load file or assembly 'AspnetChart' or one of its dependencies. An attempt was made to load a program with an incorrect format.
The machine I am running this on is a Windows Server 2003 Enterprise x64 Edition SP2 Intel(R) Xeon(R) CPU E5405 # 2.00 GHz w/ 4.00 GB RAM
The chart control works fine on our 32 bit Windows XP Professional SP3 and Windows Server 2003 Standard Edition SP2 machines, but not when deployed to the 64 bit machine.
I tried to change the Platform target to x86, but that didn't seem to help. I also tried signing the dll and putting it in the GAC, but that didn't help.
Any thoughts, suggestions?
It sounds to me like you have a 32 bit DLL. In IIS 7 it's possible to run 32-bit and 64-bit processes simultaneously. But in IIS 6 you can only do one or the other. For running 32-bit applications on IIS 6 (64-bit windows) check out this Microsoft article.