473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

64bit builds

I setup a new win03 64bit box. Specifically because sql reports rendered
locally with the asp.net 2.0 report viewer control would crash because of
memory problems in the worker process (very important).

Anyway we normally deploy from a 32 bit development machine to the server
using a command like:

aspnet_compiler -v %virtualPath% -p %sourcePath% -f %destinationPath% -c
-nologo

After reading a slew of kb articles I am still at a loss on how to compile
the application and how to setup IIS.

I don't see a command line switch for x64.

The issues on IIS are:
On 64-bit Windows, the World Wide Web Publishing service does not support
running 32-bit and 64-bit worker processes concurrently on the same server.

http://www.microsoft.com/technet/pro....mspx?mfr=true

Do I need to configure the server to run 32 bit?
Do I need to specify what .net DLL is allowed in the IIS web service
extensions tab of the admin tool.
How do I configure IIS.

Nov 14 '06 #1
4 1696
Hi Chuck,

From your description, you want to deploy an ASP.NET 2.0 application
developed on a 32 bit machine to a 64 bit server, correct?

Based on my experience, since 64 bit windows server only support running
one version(32 bit or 64 bit) of the ASP.NET 2.0 application at a time, so
you need to consider whether to compile and run your ASP.NET application as
32 bit or 64 bit. You have the following options:

1. Still develop the ASP.NET application and precompile it(if necessary) on
32 bit development machine, however, when you deploy it onto the 64 bit
server, you need to configure the IIS server to running as 32bit (wow) mode:

#How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit
version of ASP.NET 2.0 on a 64-bit version of Windows
http://support.microsoft.com/kb/894435

However, as you found, you can not run both 32 bit and 64 bit ASP.NET
application in IIS6 the same time.
2. Another option is you build your ASP.NET 2.0 Web application that
naturally target x64 net framework 2.0, however, since .net framework 2.0
(x64) version can only be installed on 64 bit system, you need to
build/precompile your ASP.NET 2.0 web site project on 64 bit system with
.net framework 2.0(x64) sdk(or visual studio 2005) thus, the compiled
applciation can naturally running on x64 system without configure IIS to
running in 32 bit mode.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.

==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 15 '06 #2
Thanks Steven,

Our only reason for setting up the 64bit box was so that the SQL
ReportViewer control would quit crashing the IIS worker process on exports.

If we configure to run as 32 bit, would IIS be running a 32 bit worker
process and would we have the same worker process memory limitations?

"IIS only supports 32-bit worker processes in Worker Process Isolation mode
on 64-bit Windows."
From my readings: "On 64-bit Windows, the World Wide Web Publishing service
can run 32-bit and 64-bit worker processes. Other IIS services like the IIS
Admin service, the SMTP service, the NNTP service, and the FTP service run
64-bit processes only".

Does that mean I couldn't use the IIS Admin or SMTP service, if I am running
32 bit.

Nov 15 '06 #3

IIS 6.0 runs in one of two distinct modes of operation, which are called
application isolation modes: worker process isolation mode, and IIS 5.0
isolation mode which is almost identical to the process model of IIS 5.1 and
earlier.

IIS only supports 32-bit worker processes in Worker Process Isolation mode
on 64-bit Windows.

If I run .net in 32 bit and iis in the 5.o mode will I get a 64 bit worker
process?
Nov 15 '06 #4
Thanks for your reply Chuck,

When you configure the IIS6 worker process to run in 32-bit mode, it only
affect those service that use the WWW worker process (w3wp.exe for IIS6 in
worker process isolation mode). And for FTP, SMTP ... services, they're not
part of the WWW service, the 32 bit switch won't apply for them. In other
words, your swtich for WWW services won't affect any other services that do
not use w3wp.exe worker process.

And as for your following question:
================
If I run .net in 32 bit and iis in the 5.o mode will I get a 64 bit worker
process?
================

No, run IIS under iis5 compatible isolation model won't help. In such mode,
no 32 bit web application can be run in IIS6, just like you keep the
default 64 bit mode (IIS6 worker process isolation model).

So the limitation here is:

** if the ASP.NET application is compiled against 32bit .net framework, it
can only run in 32 bit IIS worker process, if the server is 64 bit, you
should either configure IIS6 to run under 32 bit worker process mode or
recompile the application through 64 bit .net framework.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


Nov 15 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Christian McArdle | last post by:
REQUEST FOR DISCUSSION (RFD) unmoderated group comp.os.ms-windows.programmer.64bit This is a formal Request For Discussion (RFD) to create comp.os.ms-windows.programmer.64bit as an unmoderated...
11
by: Vijay Chegu | last post by:
I have built a 64bit ATL COM dll. When i register the dll on IA64 windows Enterprise server 2003, i get following error. DllRegisterServer in mydll.dll failed. Return code was : 0x80020009 ...
3
by: Frank Uray | last post by:
Hi all I have written a WindowsService in C# 2005. I am running this service on a 64bit Windows Server 2003 and I like to run some Interop.Excel within this service. It seams that Interop...
4
by: mike | last post by:
I have found that orig tested 64 bit on our 64bit windows 2003 server...about 1 year ago...and company decided to use sql 32 bit on the 64bit os my question and any information is very welcome ...
1
by: GaryDean | last post by:
We have been developing all of our .net applications on 32 bit windows using 32 bit SQL Server. We are being asked to now deploy to servers running 64bit windows and 64bit SQL Server. Are there...
2
by: M O J O | last post by:
(I'm using Visual Studio 2008) I want my new develloper pc to be Vista 64bit, but all my clients are so far 32bit (XP), so my questions are: 1) Is it possible for me to tell VS2008 that the...
5
by: Neetu | last post by:
Hi Everybody, Our reports works well on every machine but not on 64bit systems. We can view the report but when we press print button it does nothing, it just stay there and prompt nothing, even...
3
MrPickle
by: MrPickle | last post by:
I am having trouble compiling with Visual Studio Express 2008 on Vista-64bit. I read that I must configure VS to compile for 64-bit but I did not have this option because that option is only...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.