Server Error in '/' Application.

Não foi possível completar a requisição solicitada. Mensagem Original: Objeto Tipo Elemento nulo

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: Objeto Tipo Elemento nulo

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: Objeto Tipo Elemento nulo]
   Portal.PortalModel.GetMenuItemByTipoElemento(Int32 chave) in C:\el\projetos\ctgi-dotnet-portaltp\Portal\PortalTransparenciaModel.Data.cs:1307
   Portal.consultas.documentos.GetMenuName(Int32 idTipoElemento) in C:\el\projetos\ctgi-dotnet-portaltp\Portal\consultas\documentos.aspx.cs:220
   Portal.consultas.documentos.GetIdRelat() in C:\el\projetos\ctgi-dotnet-portaltp\Portal\consultas\documentos.aspx.cs:52
   System.Web.UI.Control.OnLoad(EventArgs e) +104
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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