2018-03-22 15:53:31,580 [11] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O arquivo '/PortaldaTransparencia/wfErrorUnavailable.aspx' não existe.
   em System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   em System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   em System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   em System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   em System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   em System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   em System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   em System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   em System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 15:53:47,272 [10] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O arquivo '/PortaldaTransparencia/wfErrorUnavailable.aspx' não existe.
   em System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   em System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   em System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   em System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   em System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   em System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   em System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   em System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   em System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 16:41:19,414 [10] ERROR CECAM [(null)] - Ocorreu um erro ao validar o PARAMETRO: O processo não pode acessar o arquivo 'C:\CECAMWEB\GERAL\Parametro\CAMARA_MUNICIPAL_DE_MOGI_MIRIM.dat' porque ele está sendo usado por outro processo.
System.IO.IOException: O processo não pode acessar o arquivo 'C:\CECAMWEB\GERAL\Parametro\CAMARA_MUNICIPAL_DE_MOGI_MIRIM.dat' porque ele está sendo usado por outro processo.
   em System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   em System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   em System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   em System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   em System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   em System.IO.File.WriteAllText(String path, String contents)
   em Cecam.Domain.Security.CecamParamBuilder.GravarParametro(CecamParam e)
   em Cecam.Domain.Security.CecamParamBuilder.AtualizarParametro(CecamParam e)
   em Cecam.Domain.Security.CecamParamBuilder.ValidarSistema(CecamParam e, String sistema)
   em Cecam.Domain.Security.CecamParamBuilder.ValidarSistema(String sistema)
2018-03-22 16:41:19,608 [10] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O estado de sessão criou uma identificação de sessão, mas não pode salvá-la porque a resposta já foi liberada pelo aplicativo.
   em System.Web.SessionState.SessionIDManager.SaveSessionID(HttpContext context, String id, Boolean& redirected, Boolean& cookieAdded)
   em System.Web.SessionState.SessionStateModule.CreateSessionId()
   em System.Web.SessionState.SessionStateModule.DelayedGetSessionId()
   em System.Web.SessionState.SessionStateModule.ReleaseStateGetSessionID()
   em System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs)
   em System.Web.SessionState.SessionStateModule.OnEndRequest(Object source, EventArgs eventArgs)
   em System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:11:51,001 [36] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O cliente se desconectou. ---> System.Web.UI.ViewStateException: Viewstate inválido. 
	Client IP: 189.108.30.62
	Port: 36798
	Referer: http://camaramogimirim.ddns.net/PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	Path: /PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 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_wfdespesa_aspx.ProcessRequest(HttpContext context) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:21:51,984 [24] 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 'spEmpenhoValorAnterior', database 'CONTABIL2018', 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.EmpenhoRepository.ObterEmpenhoAnterior(Int32 exercicio, DateTime data, Int32 ficha, Int32 codigoEmpenho, Int32 codigoEmpenhoB, EnumTipoEmpenho tipo)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportQuery.ListarInventarioEstoque(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportSet.ObterRelatorioOrdemPagamento(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.GerarOrdemPagamento(EnumExportFormat format, Int32 codigoEmpenho, Int32 codigoEmpenhoB)
   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:dbdfc5e4-edd0-4b35-874d-d5e3fe95f4df
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) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:36:34,234 [40] 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 'spEmpenhoValorAnterior', database 'CONTABIL2018', 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.EmpenhoRepository.ObterEmpenhoAnterior(Int32 exercicio, DateTime data, Int32 ficha, Int32 codigoEmpenho, Int32 codigoEmpenhoB, EnumTipoEmpenho tipo)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportQuery.ListarInventarioEstoque(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportSet.ObterRelatorioOrdemPagamento(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.GerarOrdemPagamento(EnumExportFormat format, Int32 codigoEmpenho, Int32 codigoEmpenhoB)
   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:65fa36ca-6e1f-4195-bb22-a32c603803b0
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) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:37:34,187 [44] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O cliente se desconectou. ---> System.Web.UI.ViewStateException: Viewstate inválido. 
	Client IP: 189.108.30.62
	Port: 44891
	Referer: http://camaramogimirim.ddns.net/PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	Path: /PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 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_wfdespesa_aspx.ProcessRequest(HttpContext context) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:37:46,954 [44] 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 'spEmpenhoValorAnterior', database 'CONTABIL2018', 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.EmpenhoRepository.ObterEmpenhoAnterior(Int32 exercicio, DateTime data, Int32 ficha, Int32 codigoEmpenho, Int32 codigoEmpenhoB, EnumTipoEmpenho tipo)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportQuery.ListarInventarioEstoque(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportSet.ObterRelatorioOrdemPagamento(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Web.Pages.wfDownload.ObterRelatorioNota(String query)
   em Cecam.PortalTransparencia.Web.Pages.wfDownload.Page_Load(Object sender, EventArgs e)
   em System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
   em System.Web.UI.Control.OnLoad(EventArgs e)
   em System.Web.UI.Control.LoadRecursive()
   em System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
ClientConnectionId:c4fae508-d49a-4487-b67a-bcece5e884a5
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_wfdownload_aspx.ProcessRequest(HttpContext context) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.15.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:37:50,467 [37] 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 'spEmpenhoValorAnterior', database 'CONTABIL2018', 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.EmpenhoRepository.ObterEmpenhoAnterior(Int32 exercicio, DateTime data, Int32 ficha, Int32 codigoEmpenho, Int32 codigoEmpenhoB, EnumTipoEmpenho tipo)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportQuery.ListarInventarioEstoque(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Report.OrdemPagamentoReportSet.ObterRelatorioOrdemPagamento(OrdemPagamentoReportArgs args)
   em Cecam.PortalTransparencia.Web.Pages.wfDespesa.GerarOrdemPagamento(EnumExportFormat format, Int32 codigoEmpenho, Int32 codigoEmpenhoB)
   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.btnTexto_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:c4fae508-d49a-4487-b67a-bcece5e884a5
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) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-03-22 17:38:10,994 [43] ERROR CECAM [(null)] - System.Web.HttpException (0x80004005): O cliente se desconectou. ---> System.Web.UI.ViewStateException: Viewstate inválido. 
	Client IP: 189.108.30.62
	Port: 45123
	Referer: http://camaramogimirim.ddns.net/PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	Path: /PortaldaTransparencia/Pages/Geral/wfDespesa.aspx
	User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 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_wfdespesa_aspx.ProcessRequest(HttpContext context) na c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\portaldatransparencia\a96d1b3e\6d31506\App_Web_pj0osbbm.5.cs:linha 0
   em System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   em System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
