'SSRS Report not working in browser while using ODBC connection type

I am having a problem running a SSRS report in the web browser. I have the same type of issue as the one describe here :SSRS reports not working in browser, architecture mismatch between Driver and Application.

In my case I use MYSQL ODBC Driver (System DSN created in both 32 bit and 64 bit) to have access to a MariaDB and create a Data Source. Everything works fine in Visual Studio. But when I deploy the report I have this error:

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

From what I've read about this error, it's most likely related to the driver not being installed on the machine or not using the correct Bit. In my case I exclude this, I have the System DSN in 32 and 64 bit.

Any idea what may be the problem here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source