Execution 'iwy2vpzo52pmp555ftfn4455' cannot be found (rsExecutionNotFound)

前端 未结 6 1973
Happy的楠姐
Happy的楠姐 2021-01-13 00:56

Some users get the following error when running reports.

• Execution \'iwy2vpzo52pmp555ftfn4455\' cannot be found (rsExecutionNotFound)

They run fine in t

6条回答
  •  感情败类
    2021-01-13 01:06

    This error was causing my application to display a run time error.

    I added this to the Global.asax class to resolve the error. Tried Server.Clear but got nothing. Session.Clear got rid of the error completely.

    Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)
        If ex.InnerException IsNot Nothing Then
                If ex.InnerException.ToString.Contains("The report execution") AndAlso
                   ex.InnerException.ToString.Contains("rsExecutionNotFound") Then
                    Session.Clear()
                    Return
                End If
            End If
    End Sub
    

    While it may not be 100% applicable to the question above, I haven't been able to find any other resolution.

提交回复
热议问题