question

NithyaMuthukrishnan-5199 avatar image
0 Votes"
NithyaMuthukrishnan-5199 asked HuryShenMSFT-3800 commented

How to Enable 32 bit applciations in Windows 2016 docker container hosting a .net web applicaiton?

I am trying to host my asp.net web application as a container using docker image. The docker engine- enterprise has been installed in Windows 2016 server. The docket image used is microsoft/aspnet which is an official microsoft image for asp.net

This image contains:

Windows Server Core as the base OS
IIS 10 as Web Server
.NET Framework (multiple versions available)
.NET Extensibility for IIS

My asp.net application has some c++ components to be included for few features. So I need to Enable 32 bit applications in IIS 10 app pool setting. Whenever I set that to 'True' and launch my application , the app pool gets stopped automatically. When Enable 32 bit applications is set to 'False' I don't see this behavior. Can anyone help me on how to enable 32 bit applications within container?

I have checked the credentials used in IIS are not expired. When the same set up is hosted directly on Windows 2016 with IIS, I am able to Enable 32 bit applications.

windows-serverwindows-server-iisdotnet-ad
· 7
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I think it may be caused by there are something in your application which can not run with 32 bit. Is there any error message ? Can all of the features work in 64 bit ? If all of features can work, I think you can just use 64 bit.

0 Votes 0 ·

Hi,
I have some 32bit components invoked in my applicaiton while launching it. So I get application specific error that I cannot load COM class factory of the 32 bit component, when I set Enable32bitapplicaitons to False. So I need to enable 32 bit.

0 Votes 0 ·
HuryShenMSFT-3800 avatar image HuryShenMSFT-3800 NithyaMuthukrishnan-5199 ·

Could you please provide more details of the error message ? And may I know which component do you use in your application ? Is there a version of 64 bit of this component to install ?

0 Votes 0 ·
Show more comments

0 Answers