Got running on one server but not another

Aug 27, 2014 at 9:09 PM
I got this running on one server but not another. I'm mystified as to why because I set them up the same way on each server.
  1. Copied project to server
  2. Added App Pool specifying .Net v4
  3. Added Site
  4. Added application to site (Found I had to do this to make this go).
On the server it's working on I can go to http://servername/PassCore and it comes right up.
On the server it's NOT working on I go to http://otherserver/PassCore and just get a directory listing rather than the app itself appearing.

Any thoughts on how to get the page to appear rather than just the directory listing? I confirmed .Net 4.5 is installed on both servers.
Aug 27, 2014 at 9:33 PM
The server where it is running is 32 bit.

The server where it's not working is 64 bit. Is this app capable of running in such an environment?
Sep 2, 2014 at 2:32 PM
Figured it out... There is some sort of bug in IIS that can prevent apps from loading as they are supposed to. To fix the problem (within Web.xml) I added:
<modules runAllManagedModulesForAllRequests="true" />
Directly beneath:
<system.webServer>
So it looks like this now:
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
...
I also had to install the 4.5 framework on the server. I confirmed this works on 32 and 64 bit servers.
Marked as answer by inm101 on 9/2/2014 at 6:33 AM
Coordinator
Sep 12, 2014 at 8:12 PM
Thanks for posting the solution. I think it had more to do with installing 4.5 (the runtime this project targets) than the changes in the Web.config file.