Hi Experts,
I have on asp.net application deployed on IIS 8 in Windows Server 2012 Standard Edition 64 Bit.
In the dependency of my asp.net application, One DLL is present in its bin directory. This DLL
is build on Any CPU Platform.
Suppose The name of this DLL is X.dll build on Any CPU
now this X.dll is calling native dll.
Suppose the name of native dll is a32.dll and a64.dll
With the length of pointer I Decide that which dll has been import...
If I enable32 bit application in application pool, then it is working fine, because it is detecting always 32 bit native dll in 64bit server.
But If i disable 32 bit application in application pool it crash my application.
That means it is always try to execute a32.dll on 64bit system.
Then Why my a64.dll is not working on 64bit system.
When I try to call same things in windows application. it is working fine with a64.dll in same 64bit server, but in IIS 8 It is not working.
I have tried several things like ApplicationHost settings, application.config setting,
remove entry of 32 bit aspnet_filter.dll, unregister 32 bit asp.net in IIS , so and so...
How can I resolve this issue. I have to run a64.dll instead of a32.dll in 64bit server.
Thanks in advance.