Giter Club home page Giter Club logo

Comments (4)

gmileka avatar gmileka commented on August 17, 2024

Hi v-jiq,

We have seen similar logs when the plug-in had some missing dependencies. Is it possible that it requires some dlls and they are not at the same folder?

If that's not the case, I would recommend to temporary change the plug-in configuration from out-of-proc to in-proc. You can do that by changed the plug-in manifest file and setting the "outOfProc" to false. This should narrow down the problem - and the you can share the logs again...

Let us know how this goes...

thanks,
george

from azure-client-tools.

v-jiq avatar v-jiq commented on August 17, 2024

Hi george,
I have retried according to your guide , that temporary change the plug-in configuration from out-of-proc to in-proc.

the log prompts that failed to load library SampleComponentNamePlugin.dll. but I have putted SampleComponentNamePlugin.dll to Specified directory. The SampleComponentNamePlugin.dll are generate by refer to this link -- https://github.com/ms-iot/azure-client-tools/blob/master/docs/device-agent/development-scenario/developer-plugin-creation.md and no modify anything.

below is log:
1553234061

configure file:
1553237193(1)

dll:
1553237336(1)

Thanks

from azure-client-tools.

gmileka avatar gmileka commented on August 17, 2024

Hi v-jiq,

The device agent finds the dll. So, your configuration seem to be fine.

The error returned is 193 - looking this up in Windows codes, it's "is not a valid Win32 application".

Does the architecture of the dll matches the architecture of the agent/device? (x64, win32, arm, etc).

thanks,
george

from azure-client-tools.

v-jiq avatar v-jiq commented on August 17, 2024

Thanks george, as you said, the architecture error caused this problem!!

from azure-client-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.