Server Error in '/institucional' Application.

Could not find any record that matches the current filter conditions.

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: Oficina.Data.RecordNotFoundException: Could not find any record that matches the current filter conditions.

Source Error:


Line 25:         Dim imageUrl As String = String.Empty
Line 26:                 
Line 27:         Dim bin As Oficina.BLL.REES.Institucional.Imagem = New Oficina.BLL.REES.Institucional.Imagem(opcaoId)
Line 28: 
Line 29:         'Dim w As String = ""

Source File: E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\Handler\ImagemNot.ashx    Line: 27

Stack Trace:


[RecordNotFoundException: Could not find any record that matches the current filter conditions.]
   Oficina.BLL.BLLBase.Bind(Boolean LazyLoading, String[] FilterMembers, DataRow DataRow) +1471
   Oficina.BLL.REES.Institucional.Imagem.Bind(Boolean LazyLoading, String[] FilterMembers, DataRow DataRow) +18
   Oficina.BLL.BLLBase.Bind(Boolean LazyLoading) +273
   Oficina.BLL.REES.Institucional.Imagem..ctor(Int32 pImagemID) +56
   Imagem.ProcessRequest(HttpContext context) in E:\SITES\JOAOFORTES240\Root_www.joaofortes.com.br\institucional\Handler\ImagemNot.ashx:27
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171


Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8015