Page 1 of 1

Error in VB.net streaming - could not load NatNetML.dll

Posted: Fri Mar 26, 2010 7:02 am
by elpiar
I got this error in VB.net:

An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'NatNetML, Version=2.1.3618.19850, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I already added NatNetML.dll in the project reference. I'm new to VB. Please help.

Re: Error in VB.net streaming - could not load NatNetML.dll

Posted: Tue Mar 30, 2010 1:31 am
by aluaces
I do not know VB, but you can check that the NatNet DLL is present in the system folders or in the working directory of your application.

Re: Error in VB.net streaming - could not load NatNetML.dll

Posted: Wed Mar 31, 2010 1:00 pm
by elpiar
This is resolved.
it turns out that i need to set the target cpu compile to 32 bit and there is some mismatch on teh dll file.