Hi there!
We'll try to help you with troubleshooting this issue.
We understand that the failure occurs only on 64-bit systems and works fine on 32, but here are a few points we'd like to confirm:
- You tried to compile the DLL as x86, and also as AnyCPU, and have a problem in both cases.
- Your installer is built for x86 (installers can't be built for AnyCPU because they use native-code Setup.exe and therefore have to be either 32 or 64).
- You have a problem with both the installer when it's running, and with the web application itself when it's hosted under UltiDev Cassini on 64-bit system.
Please let us know if we got it right.
We also have a question: do you use any 3rd-party native-code DLLs in your application, like 32-bit COM objects or 32-bit DLLs called via P/Invoke?
The reason we ask is that UltiDev Cassini runs as a 64-bit process on 64-bit machines, and most applications built with AnyCPU option will load just fine in either 32- or 64-bit process. When you build your application for a specific system - x86 or x64, it may not work if loaded in a process with different characteristics. Trying to load 64-bit ASP.NET app into 32 bit process will blow up, but 32-bit processes sometimes work. We are able to run ASP.NET 1.1 applications built for x86 under UltiDev Cassini for ASP.NET 2.0 on x64 machines. In fact, Cassini Explorer application is ASP.NET 1.1 app running just fine. CassiniExplorer, however, does not call native 32-bit DLLs.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.