Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6775707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:56:19+00:00 2026-05-26T15:56:19+00:00

I read some of the posts on this problem, and then recommended placing the

  • 0

I read some of the posts on this problem, and then recommended placing the code from the app.config file from my DAL into the project that loads the application. I don’t have an app.config file in my DAL and I’m not reaslly sure why or the correct syntax to build one. Help would be appreciated!

The error is being thrown when it hit the following method in my FCGuide.Designer.cs. FCGuide is the name of my edmx file. gere is the method:

    public FCGuideEntities() : base("name=FCGuideEntities", "FCGuideEntities")
    {
        this.ContextOptions.LazyLoadingEnabled = true;
        OnContextCreated();
    }

The complete error is: The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.

I do have a connection string in my web.config.

<?xml version="1.0" encoding="utf-8"?>
<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->
<configuration>
  <system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
      </assemblies>
    </compilation>
  </system.web>
  <connectionStrings>
    <add name="FCGuideEntities" connectionString="metadata=res://*/FCGuide.csdl|res://*/FCGuide.ssdl|res://*/FCGuide.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=.;attachdbfilename=|DataDirectory|\FCGuide.mdf;integrated security=True;user instance=True;multipleactiveresultsets=True;App=EntityFramework&quot;" providerName="System.Data.EntityClient" />
  </connectionStrings>
</configuration>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T15:56:21+00:00Added an answer on May 26, 2026 at 3:56 pm

    It sounds like you’re referencing a SQL Connection string by name that doesn’t exist.

    Check the connection string in your web.config:

    <connectionStrings>
        <add name="MySqlConnection"
            connectionString="Data Source=myDBServer;database=myDB;Integrated Security=True;"
            providerName="System.Data.SqlClient"/>
    </connectionStrings>
    

    And make sure the code to access the connection string doesn’t have a typo.

    var conString = ConfigurationManager.ConnectionStrings["MySqlConnection"];
    

    Otherwise, you will need to add the connection string to your calling app’s web.config file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read some posts about this topic and the answers are comet, reverse
I have read some posts on here about not mixing parameters when passing into
I've read some posts where a php file opens and writes the info to
i've just read a few posts on hiding Silverlight code in some way. Main
I read some properties from an xml file, amongst which is a string that
I have a fairly complex problem. I have read some similar posts to my
I have read in some of the ClickOnce posts that ClickOnce does not allow
I've read a few other posts like this one about avoiding repetition in Java
I have read many article about this one. I want to hear from you.
A read some posts here and google and don´t find a substancial answer. Supose

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.