Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Business Data Item Error : The Business Data Catalog is configured incorrectly

  Asked By: Tarak    Date: Apr 24    Category: Sharepoint    Views: 2322

i've created an adf file that has 2 web service, Finder and Specific Finder, then import it to my ssp with following warning :

Could not create profile page for Entity News. The error is: Profile page creation for the Entity News skipped. Entity News has no identifiers defined in the SpecificFinder view

i could use my data in Business Data List webpart, but when i add Business Data Item webpart and select my entity and click OK, i got this error :

Cannot save the property settings for this Web Part. The Business Data Catalog is configured incorrectly. Administrators, see the server log for more information

here is my log :


A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79fk High Exception in BusinessDataDetailsToolPart.GetDefaultFields: The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.Met...

08/13/2009 10:14:49.67* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79fk High ...adataModel.View..ctor(TypeDescriptor rootTypeDescriptor) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.GetViewFields() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.GetDefaultFields()

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71sh High Queried 1 TypeDescriptor records for TypeDescriptor with Id '347'

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79cs Critical A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po8 High Exception in BusinessDataDetailsToolPart::OnLoad:The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.MetadataModel...

08/13/2009 10:14:49.67* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po8 High ....View..ctor(TypeDescriptor rootTypeDescriptor) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.ConfigureItemPicker() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.DisplayPickerOrConnectionMessage() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.OnLoad(EventArgs e)

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7pny Exception System.Runtime.Serialization.SerializationException: Attempting to deserialize an empty stream. at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Portal.WebControls.ItemPicker.get_ExtendedData() at Microsoft.SharePoint.Portal.WebControls.ItemPicker.get_EntityId() at Microsoft.SharePoint.Portal.WebControls.ItemPicker.OnLoad(EventArgs e)

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 Windows SharePoint Services Web Parts 89j1 Monitorable Usage: Toolpane: Save button clicked for view:Properties

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71sh High Queried 1 TypeDescriptor records for TypeDescriptor with Id '347'

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79cs Critical A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:49.67 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 8u7x High The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.View..ctor(TypeDescriptor rootTypeDescriptor) ...

08/13/2009 10:14:49.67* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 8u7x High ... at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.SaveFields() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.ApplyChanges()

08/13/2009 10:14:49.68 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71sh High Queried 1 TypeDescriptor records for TypeDescriptor with Id '347'

08/13/2009 10:14:49.68 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79cs Critical A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:49.70 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po9 High Exception in BusinessDataDetailsToolPart::OnPreRender:The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.Metadata...

08/13/2009 10:14:49.70* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po9 High ...Model.View..ctor(TypeDescriptor rootTypeDescriptor) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.ConfigureItemPicker() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.DisplayPickerOrConnectionMessage() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.OnPreRender(EventArgs e)

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71sh High Queried 1 TypeDescriptor records for TypeDescriptor with Id '347'

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79cs Critical A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79fk High Exception in BusinessDataDetailsToolPart.GetDefaultFields: The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.Met...

08/13/2009 10:14:50.64* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79fk High ...adataModel.View..ctor(TypeDescriptor rootTypeDescriptor) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.GetViewFields() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.GetDefaultFields()

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71sh High Queried 1 TypeDescriptor records for TypeDescriptor with Id '347'

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 79cs Critical A Metadata Exception was constructed in App Domain '/LM/W3SVC/1477562028/Root-1-128946139909843750'. The full exception text is: The TypeDescriptor with Name 'News' and Id '348' has a value in Field 'ContainsIdentifier' that is invalid.

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po8 High Exception in BusinessDataDetailsToolPart::OnLoad:The TypeDescriptor with Id '348' has an invalid value in Field 'ContainsIdentifier'. Stack Trace: at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorBuilder.MaterializeInto(MetadataObject s, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.AbstractMaterializer.ProcessRecordSet(UInt32[] metadataObjectIds, SqlDataReader sqlReader) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataAccess.TypeDescriptorMaterializer.GetChildTypeDescriptorIds(UInt32 parentTypeDescriptorId) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor.GetChildTypeDescriptors() at Microsoft.Office.Server.ApplicationRegistry.MetadataModel...

08/13/2009 10:14:50.64* w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7po8 High ....View..ctor(TypeDescriptor rootTypeDescriptor) at Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.GetSpecificFinderView() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.ConfigureItemPicker() at Microsoft.SharePoint.Portal.WebControls.BusinessDataToolPart.DisplayPickerOrConnectionMessage() at Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsToolPart.OnLoad(EventArgs e)

08/13/2009 10:14:50.64 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 7pny Exception System.Runtime.Serialization.SerializationException: Attempting to deserialize an empty stream. at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream) at Microsoft.SharePoint.Portal.WebControls.ItemPicker.get_ExtendedData() at Microsoft.SharePoint.Portal.WebControls.ItemPicker.get_EntityId() at Microsoft.SharePoint.Portal.WebControls.ItemPicker.OnLoad(EventArgs e)

08/13/2009 10:14:50.65 w3wp.exe (0x0BE0) 0x0B68 SharePoint Portal Server Business Data 71q0 High Checking for current connection to SystemInstance: ServiceInstance
where is my problem and how to solve it ?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Glenda Roth     Answered On: Apr 24

I found this link that told me :

This error  can also occur if dynamic proxy generation fails for a web  service, or if the user has a bad type name defined.

and for solve this problem :

Re-register the assembly and define the custom type in the global assembly cache
or delete the Business data  Catalog application or whatever action was intended originally, and then unregister the assembly.

but my web service  does not register in gac. actually, my web service does not have any assembly.

here is my class in web service project that i use to return data :


public class News
{
int _newsID;
string _newsTitle;
string _newsBody;
string _dateCreated;

public string DateCreated
{
get { return _dateCreated; }
set { _dateCreated = value; }
}

public int NewsID
{
get { return _newsID; }
set { _newsID = value; }
}

public string NewsTitle
{
get { return _newsTitle; }
set { _newsTitle = value; }
}

public string NewsBody
{
get { return _newsBody; }
set { _newsBody = value; }
}

public News()
{

}

public News(int id, string title, string body, string dateCreated)
{
this.NewsID = id;
this.NewsTitle = title;
this.NewsBody = body;
this._dateCreated = dateCreated;
}
}

where does my problem and how to solve it ?

 




Tagged: