Server Error in '/' Application.

Não foi possível completar a requisição solicitada. Mensagem Original: Sequence contains no elements

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.Exception: Não foi possível completar a requisição solicitada. Mensagem Original: Sequence contains no elements

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:


[Exception: Não foi possível completar a requisição solicitada. Mensagem Original: Sequence contains no elements]
   Portal.PortalModel.GetPortalByUrl(String PortalUrl) in C:\el\projetos\ctgi-dotnet-portaltp\Portal\PortalTransparenciaModel.Data.cs:281
   Portal.Global_asax.Session_Start(Object sender, EventArgs e) in C:\el\projetos\ctgi-dotnet-portaltp\Portal\Global.asax.cs:60
   System.Web.SessionState.SessionStateModule.CompleteAcquireState() +360
   System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1043
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +689
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1383


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