64 or 32 bir .net 3.0?

G

Guest

Hello,

we have a 2003 R2 Server x64 installation.
We want to install our own 32 bit applications based on .net 3.0.
So my assumption was, that we need .net 3.0 32 bit on that machine.

Is that correct?

But the 32 bit version is not installable. We get the error 5100 (means
ASIA???).

So do we have to install the 64 bit .net?
Or is the 64 bit version only a 64 bit MSI installer but the installed
frameword is still
only 32 bit?

Please Help
Regards
Michael
 
J

jacky kwok

Michael said:
Hello,

we have a 2003 R2 Server x64 installation.
We want to install our own 32 bit applications based on .net 3.0.
So my assumption was, that we need .net 3.0 32 bit on that machine.

Is that correct?

But the 32 bit version is not installable. We get the error 5100 (means
ASIA???).

So do we have to install the 64 bit .net?
Or is the 64 bit version only a 64 bit MSI installer but the installed
frameword is still
only 32 bit?

Please Help
Regards
Michael

You should install 64bit dotnet framework in 64 bit OS. The 64bit
version installer will install both 32 bit and 64 bit Framework.
Hence, both 32 bit and 64 bit dotnet app can run in the 64 bit OS.

However, you need to know that in Dotnet2/3 the pure dotnet app can run
as both 32 bit and 64 bit app except explicitly mark as 32bit only or 64
bit only app.

That is the app will run as 32 bit app in 32 bit OS and run as 64 bit
app in 64 bit OS.


Dotnet1.X app will always run as 32 bit app no matter in 64bit or 32 bit OS.

Dotnet2/3 app which is explicitly marked as 32 bit app will run as 32
bit app in 64 bit machine.
 
G

Guest

Hello Jacky,

thank you for your answer. It's always the same. One answer, ten new
questions.

We have a mixed application.
The UI is done with .net 3.0, some business logig too, but a lot of image
processing is done in native 32 bit dll's.

So if we install our app on 64 bit OS and start it, recognises the framework
that we are calling 32 bit native functions and is therefore jit compile in
32 bit too, or is it jit compiled in 64 bit and there is some magic glue to
combine the 64 .net app code with the nativ 32 bit app code?

Greetings Michael
 
J

jacky kwok

Michael said:
Hello Jacky,

thank you for your answer. It's always the same. One answer, ten new
questions.

We have a mixed application.
The UI is done with .net 3.0, some business logig too, but a lot of image
processing is done in native 32 bit dll's.

So if we install our app on 64 bit OS and start it, recognises the framework
that we are calling 32 bit native functions and is therefore jit compile in
32 bit too, or is it jit compiled in 64 bit and there is some magic glue to
combine the 64 .net app code with the nativ 32 bit app code?

Greetings Michael


If your app use 32bit native DLL, you MUST mark your dotnet app as a
32bit only app in the development tools (e.g. in VS2005/VSOrcas build
setting). Otherwise your app cannot run.


If you do not mark your Dotnet app is 32bit only app, your app will
start to run as 64bit app in 64bit OS. However, a 64bit app cannot load
any native 32bit DLL, then your app will fail and raise exception.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top