Strange Error: outsystems"."DBO"."OSUSR_IE8_DEALS" with key 0 was not found

Strange Error: outsystems"."DBO"."OSUSR_IE8_DEALS" with key 0 was not found

  
Hi all,

I'm getting a strange error when a _Show window opens. I have debugged and all the variables and queries appear fine, but the page wont load and it shows the error:

"There was an error processing your request. Please try again later..."

With the link http://csephoebeuat1/customHandlers/internalerror.aspx

When checking the error logs it states the below as the problem but I have no idea why it is throwing up that error, nor what it really means?

Any help would be appreciated!

Tom

 
Error Detail
Id:
24c054a0-8081-47d7-9115-bf51ca26018c
Time of Log:
05/12/2011 15:54:52
eSpace:
Tenant:
DonaldTest
User:
 (2)
Session Id:
jugh4545awpd5q55j0hp4dva
Server:
CSEPHOEBEUAT1
Module:
Global
Message:
"outsystems"."DBO"."OSUSR_IE8_DEALS" with key 0 was not found
Stack:
at ssDonaldTest.ExtendedActions.GetDeals(HeContext heContext, Int32 inParamId, RCDealsRecord& outParamRecord)
at ssDonaldTest.Functions.ssGetDeals(HeContext heContext, Int32 inParamId)
at ssDonaldTest.Flows.FlowMainFlow.WBlkHistory.expression9()
at ASP.blocks_donaldtest_mainflow_history_ascx.__DataBind__control39(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at OutSystems.HubEdition.WebWidgets.Span.DataBind()
at OutSystems.HubEdition.WebWidgets.If.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at OutSystems.HubEdition.WebWidgets.PlaceHolder.DataBind()
at OutSystems.HubEdition.WebWidgets.If.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.W...seOnDataBinding)
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at OutSystems.HubEdition.WebWidgets.OSPage.DataBind()
at ssDonaldTest.Flows.FlowMainFlow.ScrnDeal_Show.DataBind()
at ssDonaldTest.Flows.FlowMainFlow.ScrnDeal_Show.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-Env-
eSpaceVer: 13 (Id=125, PubId=113, CompiledWith=6.0.1.7)
RequestUrl: http://csephoebeuat1/DonaldTest/admin/Deal_Show.aspx?DealId=2 (Method: GET)
AppDomain: /LM/W3SVC/1/ROOT/DonaldTest/admin-36-129675735536428784
FilePath: C:\...\PS\test\DonaldTest\admin\Deal_Show.aspx
Locale: en-US
DateFormat: dd/MM/yyyy
PID: 1120 ('w3wp', Started='05/12/2011 12:12:51', Priv=348Mb, Virt=1105Mb)
TID: 13
Thread Name:
.NET: 2.0.50727.5448
Hi.

That happens when you call GET of an entity action and ID=0.

Solution: Replace that action and use a simple query instead.

Cheers.
Daniel Martins.
Hi Daniel,

Thanks for the reply. Will likely rebuild the screen from scratch as it is already a simple query. Enfact the screen was created by intelliwarp!

Thanks for you help, hope this post helps out someone who gets stuck in my postition in the future!

Tom
Hi Tom,

What I usually do in those cases is check in advance whether the Identifier = NullIdentifier()

If so; I won't show content since I know the referral (usually a foreign key) is illegal.