visual-studio-2010sharepoint-2010bcs

Sharepoint 2010 - BCS Content Type with Visual Studio 2010


I am making an external content type BCS project in visual studio. In the project I have a Linq to Sql class with an employee table in it and I have got an BCS model class (BDCM) in which I have one Entity named Employee, I have followed the below tutorial for your reference Tutorial, please click here to see

When I am deploying and making a list in sharepoint site then I am getting this error

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.

Correlation ID:0b6e886b-a218-4658-82b2-23e82eb1fa5f

When I checked in sharepoint logs with the correlation ID it shows me this:

External Lists: Using the default Filter settings for Finder 'ReadItem'in Entity 'Employee' of EntityNamespace 'SPCheck2010CSharp2.ExternalModel1'. This will likely result in significant performance degradation.

Please help me find out the cause for this issue.

-RHM

Found this error also in the logs:

Cannot find Property with name 'EmployeeID' on the parent object


Solution

  • Thanks for getting back to me but I resolved it, the typename on the Employee type descriptor under EmployeeList was not defined to the class "Employee" which is in the project as inside the DBML LINQ to SQL file.

    Hope it helps someone out there !

    Cheers :)