After deploying a 32-Bit WCF service in IIS 7.5(Windows 2008 R2 server), browsing the service failed with
HTTP 500.0 - Internal Server Error, and from the error message i figured out something wrong with PageHandlerFactory. For 32-Bit web apps, it is mandatory to set 'Enable 32-Bit Applications' to 'True'. We can either set it @ 'Application Pool Defaults' or the specific Application Pool in question.
Showing posts with label x64. Show all posts
Showing posts with label x64. Show all posts
Monday, 23 April 2012
Friday, 13 April 2012
BadImageFormatException in Windows 2008 R2 Server
I successfully imported PowerShell Script written using C#, but it throws System.BadImageFormatException when i tried to execute it. After spending few hours, figured out my Powershell Script was compiled for x86, so i should have used “c:\Windows\SysWOW64\WindowsPowerShell\v1.0”.
Labels:
BadImageFormatException,
c#,
powershell,
Windows Server 2008,
x64
Location:
Bangalore, Karnataka, India
Subscribe to:
Posts (Atom)