Monday, February 02, 2009

Custom tool error: Failed to generate code for the service reference 'ServiceReference1'. Please check other error and warning messages for details.

Custom tool error: Failed to generate code for the service reference ''. Please check other error and warning messages for details.

this is another issue i was stuck for sometime.. reason was i created the silverlight project using the Blend 2 with SP1 and created the WCF project using the VS2008 SP1.

to solve this problem you have to create silverlight application also using VS2008

Error 11007: Entity type '' is not mapped.

Most of the time u will get this bug or the table will not get added to the model (.edmx file) if you don't have a Primary Key in the database table ! so watch out !