Hi,
I am getting a strange issue with the error "Item does not exist. It may have been deleted by another user " with the below code which was under "RunWithElevatedPrivileges" in a application page.
public void test(int requestId)
{
-------------
--------------
SPList list= web.Lists["test"];SPListItem lstItem = list.GetItemById(Convert.ToInt32(requestId)); //Error
--------------
----------------
}
But when I test the above code in a console application, it is working fine & I am sure the id exist in the list.
Can any one help me on this issue!
Thanks In Advance,
Kumar.