This topic is locked

Error on Edit Page

8/23/2007 10:32:01 AM
ASPRunnerPro General questions
N
nrijo author

Similar Issue as this Post:

http://www.asprunner.com/forums/index.php?...p;hl=Edit+Error
Hey Sergey,
I am having a similar problem with (edit)updating records.
I created a website that allows user to edit records and move records to a different status.
My main page (mySystemName_list.asp) pulls all records from SQL with Status 'Pending'. Each record has a link (Edit) that allow users to edit record. That page is called (mySystemName_edit.asp). I have no issue to edit and save the changes here.
One of the options in mySystemName_edit.asp is to change a field (Status) from 'Pending' to 'Completed'.
I created a view (Completed_Records_list.asp) which pull all records from SQL with Status 'Completed'. Each record has a link (Edit) that allow users to edit record, too. That page is called (Completed_Records_edit.asp). I can see on the URL ....asp?editid1=(RecordsID). However, when I try to save changes in this page I get the following error:
<<< Record was NOT edited >>>
Item cannot be found in the collection corresponding to the requested name or ordinal.
This usually means that the SQL can't find the unique record to update, but I see the record ID is being passed in so it available for the SQL update query.
Please advise,
Noel Rijo

Mount Sinai Medical Center

School of Medicine

Sergey Kornilov admin 8/23/2007

Noel,
do you use BeforeEdit/AfterEdit events that may cause this issue?
You can post your application to Demo Account and send me the URL where I can see and troubleshoot this error.

N
nrijo author 8/23/2007

Sergey,
I am not sure where this demo account area is!!! Also my system runs of an internal SQL Server.
BTW - I notice your company sells a ASPRunner.Net. Is the .Net version better than the Pro?
Noel

Sergey Kornilov admin 8/23/2007

Noel,
Demo Account button is located on the last tab in ASPRunnerPro.
ASPRuner.NET is a couple of steps behind. Currently it don't have a Visual Editor or inline editing functionality.