Log in


   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Trying to deploy to Azure App Services

Pages: 1
LLBLGen Pro Runtime Framework
Trying to deploy to Azure App Services

  Print all messages in this thread  
Poster Message

Central America
Joined on:
06-Aug-2007 18:21:05
392 posts
# Posted on: 21-Oct-2019 03:40:45.  
Hello, I've written a very simple API for our system, and we're deploying to Azure App Services, it's written in ASP.Net Full (4.7) and using LLBL 5.5.

I'm getting this error in the staging enviroment in Azure everytime I try to hit and endpoint of the API


None of the factories in the list of 'Devart.Data.MySql' were found. Please check machine.config and the .NET version your application is running on.

The type initializer for 'SD.LLBLGen.Pro.DQE.MySql.DynamicQueryEngine' threw an exception.

Please Advice.
gansodesoya  Top
LLBLGen Pro Team

The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
38014 posts
# Posted on: 21-Oct-2019 11:29:43.  
And you can't modify the machine.config file of course... What you can do is add a factory declaration to the app/web.config file, like so:

     <!-- The definitions below are examples. It's likely you have to adjust the version numbers to the version the dll you're using. -->
     <!-- PostgreSql -->
     <!--<add name="PostgreSql Client Data Provider" invariant="Npgsql" description=".Net Framework Data Provider for PostgreSql" type="Npgsql.NpgsqlFactory, Npgsql, Version=, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/>-->

(this is for postgresql, but you get the idea). Then reference the dll in your project so it's included in the dll's in the app and can be found by .net's dll loaded (fusion) as it's not in the GAC. You might want to consult the documentation of Devart's mysqlconnect to be sure which dlls to distribute with your application.

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
Pages: 1  

Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.