Skip to main content
Question

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


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. 

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings