Hi Arun, I spun up a test ASP.NET MVC project without changing any properties and as I expected, I got the same result. Since the MIP SDK binaries are exclusively x64 bitness, you’ll need to visit the properties of your web application, and make the following changes:
Build tab → Platform target: x64 (this ensures the project is built targeting x64 to match the referenced SDK dlls
Web tab → Servers → IIS Express / Bitness: x64 (this launches a 64bit version of IIS Express in the debugger)
Does making these two changes resolve the issue for you as well?
Thanks for the reply. I tried what you suggested and now I get a different error message.
"Could not load file or assembly ‘VideoOS.DatabaseUtility.Common.DLL’ or one of its dependencies. The specified module could not be found."
That message usually means there is a dependency dll missing. You don’t usually need ALL the binaries included in the MIP SDK but as a test, you might copy all of them into your build directory to confirm the error is due to a missing dependency.
Strange but removing the VideoOS.DatabaseUtility.Common.DLL from the build directory fixed the issue. And the webapi loads.