2018-01-13 19:02:52,578 [26] ERROR CECAM [(null)] - System.Web.HttpUnhandledException (0x80004005): Exceção do tipo 'System.Web.HttpUnhandledException' foi acionada. ---> System.Data.SqlClient.SqlException (0x80131904): The EXECUTE permission was denied on the object 'spDespesasEmpenhadasGeral', database 'CONTABIL2017', schema 'dbo'.
   em System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   em System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   em System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   em System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   em System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   em System.Data.SqlClient.SqlDataReader.get_MetaData()
   em System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   em System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
   em System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   em System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
   em System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
   em System.Data.SqlClient.SqlCommand.ExecuteReader()
   em Cecam.PortalTransparencia.Repository.DespesaRepository.ObterDadosNotaEmpenho(Int32 entidade, DateTime inicial, DateTime final, Int32 empenho)
   em Cecam.PortalTransparencia.Report.NotaEmpenhoReportQuery.ListarInventarioEstoque(NotaEmpenhoReportArgs args)
   em Cecam.PortalTransparencia.Report.NotaEmpenhoReportSet.ObterRelatorioNotaEmpenho(NotaEmpenhoReportArgs args)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.GerarNotaEmpenho(EnumExportFormat format, Int32 codigoEmpenho)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.Imprimir(EnumExportFormat format, Int32 codigoEmpenho, Nullable`1 codigoEmpenhoB, Nullable`1 codigoLiquidacao, Nullable`1 anulacao)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.ucFormatoDownload_Sucess(EnumExportFormat formato, Nullable`1 tipoRelatorio)
   em Cecam.PortalTransparencia.Web.Pages.ucDownload.btnPdf_Click(Object sender, EventArgs e)
   em System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
   em System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
   em System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   em System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   em System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ClientConnectionId:dbeedec4-9a36-468b-992f-03b8e48d9833
Error Number:229,State:5,Class:14
   em System.Web.UI.Page.HandleError(Exception e)
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest()
   em System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   em System.Web.UI.Page.ProcessRequest(HttpContext context)
   em ASP.pages_geral_wfdespesa_aspx.ProcessRequest(HttpContext context)
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-01-13 19:03:29,388 [26] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O cliente se desconectou. ---> System.Web.UI.ViewStateException: Viewstate inválido. 
	Client IP: 189.47.246.200
	Port: 52521
	Referer: http://camaramogimirim.ddns.net/PortaldaTransparencia/Pages/Geral/wfPrestacaoContasExibicao.aspx
	Path: /PortaldaTransparencia/Pages/Geral/wfPrestacaoContasExibicao.aspx
	User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
	ViewState:  ... ---> System.FormatException: Comprimento inválido para uma matriz ou uma cadeia de caracteres de Base 64.
   em System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
   em System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   em System.Convert.FromBase64String(String s)
   em System.Web.UI.ObjectStateFormatter.Deserialize(String inputString, Purpose purpose)
   em System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter2.Deserialize(String serializedState, Purpose purpose)
   em System.Web.UI.Util.DeserializeWithAssert(IStateFormatter2 formatter, String serializedState, Purpose purpose)
   em System.Web.UI.HiddenFieldPageStatePersister.Load()
   --- Fim do rastreamento de pilha de exceções internas ---
   em System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError)
   em System.Web.UI.HiddenFieldPageStatePersister.Load()
   em System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
   em System.Web.UI.Page.LoadAllState()
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   em System.Web.UI.Page.ProcessRequest()
   em System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
   em System.Web.UI.Page.ProcessRequest(HttpContext context)
   em ASP.pages_geral_wfprestacaocontasexibicao_aspx.ProcessRequest(HttpContext context)
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
