Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Oct 16, 2010 09:37 PM|LINK
Are you sure that your stored procedure returned a value? For instance, if table has no identity defined then SCOPE_IDENTITY() will return NULL which may not be converted to int32. Call the code with DBNull as it is listed here and see in SQL Management
Studio if Project_Id has got an ID.