Bhí mé arís crafting BDC comhaid ADF de láimh (ionas gur féidir liom a thógáil suas mo "a fháil as mo Lawn!" Mé) agus bhuail an earráid seo álainn:
"Application definition import failed. An earráid seo a leanas a tharla:"
Mar a fheiceann tú, níl earráid, ach … Ní sé ag dul a insint dom cad é.
I mo chás, the issue turned out that I had started off with a functional ADF for a different project that connected to a database and executed a SQL query against a view. In this new project, I am calling a method on a web service. I had stripped out the DB specific stuff and added my web service stuff, ach theip chun cothrom le dáta an <LobSystem>’s Type attribute. I switched it to "WebService" agus bhog mé sona sásta ar earráidí allmhairithe níos nuaí agus níos spreagúla, Láimhseáladh in am trátha.
Seo é an LobSystem mícheart:
<LobSystem
xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="Database"
Version="1.0.0.0" Name="xyzzy"
xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
Tá sé seo ceart:
<LobSystem
xmlns:xsi =http://www.w3.org/2001/XMLSchema-instance
xsi:schemaLocation =http://schemas.microsoft.com/office/2006/03/BusinessDataCatalogBDCMetadata.xsd
Type="WebService"
Version="1.0.0.0" Name="xyzzy"
xmlns="http://schemas.microsoft.com/office/2006/03/BusinessDataCatalog">
</deireadh>