Last post Jul 24, 2011 09:43 PM by Decker Dong - MSFT
Jul 23, 2011 06:13 AM|abedkhooli|LINK
I have a site that uses integrated security and on a page, I have a listview (LV1) with 2 fields connected to a linq datasource LDS1 (sql server 2008). Since the app pool's identity is network service, I gave it datareader access to the db (for a reason
as follows). Now, when I try to insert a record, nothing happens (expected). How and where to track and display the error/exception? Nothing in teh sql server log and nothing in event viewer. Using framework 3.5 and the linq datasource was created using the
UI. Thank you.
Jul 23, 2011 12:21 PM|abedkhooli|LINK
Update: managed to catch the exception for inserting in the LV1 ItemInserted and LDS1 Inserted.
For updating, it is in the LV1 ItemUpdated or LDS1 Updated event.
Notice that the LSD event occurs first.
Jul 24, 2011 09:43 PM|Decker Dong - MSFT|LINK
Show us some snippets of codes and perhaps we can analyze them...
PS：Especially show us where you got the err msg after debugging.