![]() The format, in this case, refers most likely to the 64-bit build of an application being deployed to IIS, which is being run in 32-bits. “An attempt was made to load a program with an incorrect format.” That means that the assembly, which was to be loaded, was in an unexpected format. The latter part of the error message should point you in the right direction. In quite a few cases, it’s simply a mismatch between architectures and easily changed. No fear, though, as this is usually easily fixed. An attempt was made to load a program with an incorrect format. Solution: Change the IIS Express to run in 64bĮspecially while installing a new dev machine, and building your project for the first time, you may end up getting the following exception:Ĭould not load file or assembly ‘’ or one of its dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |