Giter Site home page Giter Site logo

Comments (8)

tidusong avatar tidusong commented on May 15, 2024 2

I got the same issue , works find on local but below error if deploy to Azure web. (using 64 bit dll)
System.BadImageFormatException: An attempt was made to load a program with an incorrect format.

Any chance you got this solved ?

from dinktopdf.

MRauca avatar MRauca commented on May 15, 2024

I also have this issue. Does someone have an answer?

from dinktopdf.

tidusong avatar tidusong commented on May 15, 2024

I got this solved by change to 32 bit dll

from dinktopdf.

rajapc avatar rajapc commented on May 15, 2024

If Azure platform is 32 bit appservice, then it works fine if we use 32 bit dll.

from dinktopdf.

aleksa-kuzman avatar aleksa-kuzman commented on May 15, 2024

I also have the same problem, tried both 32 and 64 bit version, nothing seems to be working...

from dinktopdf.

JasonYangNWI avatar JasonYangNWI commented on May 15, 2024

I got this solved by change to 32 bit dll

Hi @tidusong, I have the same issue. If I change platform to 32 bit(x86) and build it, I can't run it locally. Could you provide your steps? Thank you very much.

from dinktopdf.

JasonYangNWI avatar JasonYangNWI commented on May 15, 2024

If Azure platform is 32 bit appservice, then it works fine if we use 32 bit dll.

Hi @rajapc , do I need change local platform to x86 as well? Thanks.

from dinktopdf.

jimmytricks avatar jimmytricks commented on May 15, 2024

Hey guys does anyone have any updates on this? I'm experiencing the same issue. On my local the 64bit library works, however in Azure only the 32bit works. Experiencing the same error as above:

An attempt was made to load a program with an incorrect format.

Does anyone have any thoughts on a way to include both libraries and have the function work out which it requires? Cheers!

from dinktopdf.

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.