Creating a webservice o target 64 bit process to call 64 bit interiop dll
-
Hello All, Can some one plz help me in referring a sample which can create a 64 bit webservice to call a 64 bit interop dll I havetred to create a webserice using asp.net but by default service is targetting 32 bit only and while loading the interop dll it throwing exception as below, "System.BadImageFormatException: Could not load file or assembly 'Interop.*****, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." environemt: OS: windows 2008 server 64 bit IDE: VS 2010 Thanks in advance
-
Hello All, Can some one plz help me in referring a sample which can create a 64 bit webservice to call a 64 bit interop dll I havetred to create a webserice using asp.net but by default service is targetting 32 bit only and while loading the interop dll it throwing exception as below, "System.BadImageFormatException: Could not load file or assembly 'Interop.*****, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." environemt: OS: windows 2008 server 64 bit IDE: VS 2010 Thanks in advance
Please this link it may help you http://www.hanselman.com/blog/BackToBasics32bitAnd64bitConfusionAroundX86AndX64AndTheNETFrameworkAndCLR.aspx[^]