"System.DllNotFoundException: Unable to load DLL"

Discussion in 'ASP.NET / ASP.NET Core' started by ianoble, Jun 9, 2008.

  1. We created a .net dll from a c library and I am able to reference and access methods locally, but when I upload the dll to the server, I'm getting this exception:

    System.DllNotFoundException: Unable to load DLL 'poker-eval': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)

    The bin folder locally and on the server are identical in terms of files.

    Anyone have any suggestions?

    Thanks!!


    - Ian
     
  2. That's a bummer because there isn't a managed .net solution that I can find.

    Here is the source code if any one knows a better solution: freshmeat.net/projects/poker-eval/
     
  3. The C library dll most likely needs to be registered/installed on the server. This is not supported. I recommend looking for a fully-managed .NET solution.

    Aristotle

    DiscountASP.NET
    www.DiscountASP.NET
     
  4. I did see that but it only works for Hold'em hands. We are using the API to evaluate all the different games. Thanks for the link, though!!
     

Share This Page