Server Error in '/' Application.

No connection string named 'Entities' could be found in the application config file.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: No connection string named 'Entities' could be found in the application config file.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: No connection string named 'Entities' could be found in the application config file.]
   System.Data.Entity.Internal.LazyInternalConnection.get_ConnectionHasModel() +288
   System.Data.Entity.Internal.LazyInternalContext.InitializeContext() +258
   System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType) +18
   System.Data.Entity.Internal.Linq.InternalSet`1.Initialize() +52
   System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext() +15
   System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider() +25
   System.Linq.Queryable.FirstOrDefault(IQueryable`1 source) +68
   Utils.ConfiguracaoHelper.get_GetConfiguracao() +106
   WebApplication.intranet._login.CarregaConteudo() +15
   WebApplication.intranet._login.Page_Load(Object sender, EventArgs e) +24
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0