Skip to main content
Question

.Net 4.8 DLL Error: No connection string named 'x' could be found in the application config file.

  • June 6, 2024
  • 0 replies
  • 47 views

Forum|alt.badge.img+1

Hi, I built a C# DLL to use in a bot on AA. Included in the DLL is a database connection via Entity Framework. I need guidance in getting this DLL to work in the bot. As the title suggests I am currently stuck with an “No connection string named 'cims3_iemas_trnEntities' could be found in the application config file.” error. I added the “.dll.config” as well as the “app.config” as a dependency in the bot along with all the related DLLs such as EntityFramework.dll and EntityFramework.SqlServer.dll. The connection string is definitely in both the config files. Note that I added the App.config file to try and get past this issue.