cancel
Showing results for 
Search instead for 
Did you mean: 

Error while importing BDC-Models from Duet Enterprise: “Could not load Type described by TypeDescriptor’s TypeName …”

Former Member
0 Kudos

Hello Community,

I tried to import the BDC-Models for Duet Enterprise 1.0 into Sharepoint 2010 using the following intruction

(http://technet.microsoft.com/en-us/library/ff972447%28v=office.14%29.aspx).

Import BDC-Models :

PS C:\Users\s_shell> cd "C:\program files\duet enterprise\1.0\"

PS C:\program files\duet enterprise\1.0> .\duetconfig.exe /importbdc "D:\BDC\models.xml"

/addusers "nt authority\authenticated users" /username MY_USERNAME/password MYPASSWORD

/bdcserviceapplication BDCAppStarting import of models from D:\BDC ...

While doing this we receive the following error message:

Attempting to import model: Account [ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.BPCCustGetSpec,

Account' on Parameter with Name 'ReadCustomerByID1' on Method with Name 'ReadCustomerByID' on

Entity (External Content Type) with Name 'Account' in Namespace 'SAP.Office.DuetEnterprise.Account'. Error was encountered at or just before Line: '48' and Position: '20'. Failed to import model: Account

Attempting to import model: AccountDocumentStorageCategory

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.S

torageCategoryCodeInput, Account' on Parameter with Name 'StorageCategoryGetSpec

In' on Method with Name 'ReadDocStorageCategoryCodeById' on Entity (External Con

tent Type) with Name 'AccountDocumentStorageCategory' in Namespace 'SAP.Office.D

uetEnterprise.Account'.

    Error was encountered at or just before Line: '46' and Position: '20'.

Failed to import model: AccountDocumentStorageCategory

Attempting to import model: AccountDocumentTypeStatus

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.

ocTypeStatusGetSpecInput, Account' on Parameter with Name 'DocTypeStatusGetSpec

n' on Method with Name 'ReadDocTypeStatusCodeById' on Entity (External Content

ype) with Name 'AccountDocumentTypeStatus' in Namespace 'SAP.Office.DuetEnterpr

se.Account'.

    Error was encountered at or just before Line: '46' and Position: '20'.

Failed to import model: AccountDocumentTypeStatus

Attempting to import model: AccountDocuments

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.

PCDocuDelete, Account' on Parameter with Name 'DeleteDocument1' on Method with

ame 'DeleteDocument' on Entity (External Content Type) with Name 'AccountDocume

ts' in Namespace 'SAP.Office.DuetEnterprise.Account'.

    Error was encountered at or just before Line: '46' and Position: '20'.

Failed to import model: AccountDocuments

Attempting to import model: AccountTitle

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.

PCTitleGetSpec, Account' on Parameter with Name 'ReadTitleByCode1' on Method wi

h Name 'ReadTitleByCode' on Entity (External Content Type) with Name 'AccountTi

le' in Namespace 'SAP.Office.DuetEnterprise.Account'.

    Error was encountered at or just before Line: '47' and Position: '20'.

Failed to import model: AccountTitle

Attempting to import model: BOM

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.

roductBomGetSpec, Product' on Parameter with Name 'ReadBillOfMaterialByID1' on

ethod with Name 'ReadBillOfMaterialByID' on Entity (External Content Type) with

Name 'BOM' in Namespace 'SAP.Office.DuetEnterprise.Product'.

    Error was encountered at or just before Line: '46' and Position: '20'.

Failed to import model: BOM

Attempting to import model: Contact

[ERROR] Cannot load Type described by TypeDescriptor TypeName 'BCSServiceProxy.

PCContGetSpec, Account' on Parameter with Name 'ReadCustomerRelationshipContact

ersonByID1' on Method with Name 'ReadCustomerRelationshipContactPersonByID' on

ntity (External Content Type) with Name 'Contact' in Namespace 'SAP.Office.Duet

nterprise.Account'.

    Error was encountered at or just before Line: '46' and Position: '20'.

Failed to import model: Contact

Attempting to import model: ContactTitle

PS C:\program files\duet enterprise\1.0> .\duetconfig.exe /importbdc "D:\BDC\Ac

ount.xml" /addusers "nt authority\authenticated users" /username MYUSERNAME /pas

word MYPASSWORD /bdcserviceapplication BDCApp

[ERROR] The Models.xml file is not valid. Details Could not find schema informa

ion for the element 'http://schemas.microsoft.com/windows/2007/BusinessDataCata

og:Model'..

Thank you in advance! Any help will be appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

binson
Advisor
Advisor
0 Kudos

Hello Dennis,

Could you please try below options:

1. Please ensure that WSS_SETUP program is already executed in your Gateway system. This will configure DELAY_L_<SID> user for all duet enterprise services in your system. Details are mentioned under "Enable Message-Based Authentication" in Duet Enterprise deployment guide.

2. In Gateway system, please check SRTUTIL error logs and check whether any error messages are logged there. Go to TCode: SRTUTIL -> click on "Error Log" button.

3. In Gateway system, please increase log level in SMICM and check for any error logs there.

Regards,

Binson

Former Member
0 Kudos

Dear Binson,

thanks for your fast reply.

I've made testruns on every client we use and it allways says that our Delay_Logon user  is consistent. I also checked the parametres given and they're all right:

1)

Testlauf
(führt nicht zu Konfigurationsänderungen, sondern zeigt nur die geänderten Konfigurationswerte an)

Service-Benutzer 'DELAY_LOGON' ist konsistent


Konfiguration für WS-Security-Anmeldung erfolgreich geprüft

Auto-Konfiguration d. Endpunkte für sichere Konversation nicht ausgewählt

WS-Sicherheitsoptionen are:
    Algorithm Suite:TripleDesSha256Rsa15
    Zeitversatz (Sek.):120
    Zeitstempelablauf (Sek):90
    Message-Replay feststellen
    SAML 1.1 Trust:SAML2

2)

SRTUTIL gave one error message saying that the user SAP_WSRT had no auhtorization on object S_BTCH_EXT. But we fixed that by giving this user the needed roll.

3)

SMICM looks fine also. (Trace LVL 3)

I still get the same error when trying to import the bdc models to Sharepoint.  

Could you give any further suggestions that could help us fixing this problem please?

Kind regards,

Dennis

linda_peruzzi
Participant
0 Kudos

Are you using the delivered Duet Enterprise BDC models or is this custom development.  If it is the delivered BDC Models, is it possible you have mismatched Duet Enterprise components on the SAP NetWeaver Gateway system vs the SharePoint components?

Can you look at the following blog to make sure you are using the right components for Feature Pack 1 for Duet Enterprise 1.0 for SharePoint 2010.

http://scn.sap.com/community/duet-enterprise/blog/2011/12/01/duet-enterprise-feature-pack-1--now-gen...

Best,

...Linda

binson
Advisor
Advisor
0 Kudos

Hello Dennis,

Could you please create an OSS ticket for this issue? I feel its better to connect to the system and check all related configurations. Our team will look into this issue.

Regards,

Binson

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks for everyone's help.

We we're actually able to solve this problem with the nice help of Holger Bruchelt.