I come accross some problems when adding new item to a SPList. The error i got is “Value does not fall within the expected range. ” This would only happen if you target list is empty. After do some googling, this seems is MS known bugs. Luckly there is workarround to solve this issue. Simple rules is
1. Add a new item, assign “Title” item and save it
2. Get the newly created item and update it with remaining items.
Here are the codes:
January 18, 2008 at 6:34 pm
[...] when try to change the “Page Setting” in MOSS 2007. Yes, again same error message as in here (In fact, this error occurs is various scenarios). This error only happens when you copy an aspx [...]
May 26, 2008 at 8:06 pm
nice, thanks
it works