I'm trying to use Lists.UpdateListItems to move items from a list in WSS 3.0 to a list in SharePoint Foundation 2010. The original list contains several items. The target list does not contain any items.
When I run the code, no items are added to my 2010 list.
Here is the CAML I'm generating for the first item:
<Method ID='237' Cmd='New'>
<Field Name='ID'>237</Field>
<Field Name='Title'>237x</Field>
<Field Name='SampleID'>B000004</Field>
</Method>
I'm not getting any error messages. What is going wrong?
UPDATE
I am able to move list items from the WSS 3.0 production server to SharePoint Foundation 2010 on my local machine. However, when I try to move the items from the WSS 3.0 production server to our Foundation 2010 production server, I have the original problem (the list items don't move and I don't get an error). Does this seem like my account needs higher permissions on the 2010 production server? Or is there a code-based way to give myself higher permissions? Or is the problem unrelated to permissions?