Sometimes when you want to deploy your solution or custom web part on the server , However everything is OK and the code is built successfully but you encounter this error.
Object reference not set to an instance of an object
It may be because of the existing deployed solutions. Mark Arend has written a good post [...]
Archive for the ‘Develop Errors’ Category
Deploy Error : Object reference not set to an instance of an object
Posted in Develop Errors, Development, tagged Object reference not set to an instance of an object, solution deploy error on May 11, 2009 | Leave a Comment »
Set “User” type field
Posted in Develop Errors, Development, Sharepoint, tagged update User type field error on January 11, 2009 | Leave a Comment »
You may have seen this error message if you have tried to update a “People and Group” or “User” field by a simple string ( like “Domain\Username” ).
Invalid data has been used to update
the list item. The field you are trying to update may be read only.
I found that you should use SPUser field type in this situation. [...]