in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

This Blog

Syndication

All About SharePoint - S.S. Ahmed - MVP Microsoft SharePoint

All About SharePoint, as the name suggests, is all about SharePoint. It has articles, tutorials, source code, FAQs, and tips about SharePoint, InfoPath, C#, Microsoft Office, SQL Server, XML, etc.

Few Issues with Microsoft Business Data Catalog Definition Editor

Microsoft Business Data Catalog Definition Editor is a great tool that has made creating application definition file very easy. This tool is available in the latest SharePoint Server 2007 SDK. After installing the SDK, you can install this tool by running setup.exe from the following folder on your server:

LocalDrive:\Program Files\2007 Office System Developer Resources\Tools\BDC Definition Editor

I notice there are some issues with this first release of the tool. Of course, it works fine with the SQL server but if you try other DBs, especially through the use of DSNs, it breaks. Following are two instances when it broke while I was trying to add a new LOB system.

Example 1:

1. Click "Add LOB System".
2. Click "Connect to Database"
3. Select "Oledb" from the connection type
4. Add following connection string:

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Documents and Settings\Administrator\My Documents\Contacts.accdb;Persist Security Info=False;

5. Click "Connect"
6. Click "Add Table" and select (drag and drop) a table from the list of available tables.
7. Click OK and it will give you an error. Click the debug button and select the debugger of your choice. I selected Visual Studio and it gave me the following error message:

Figure 1: KeyNotFoundException: The given key was not present in the dictionary

Example 2:

1. Create a new DSN using "Microsoft Text Driver (*.txt;*.csv)". While creating the DSN, select a directory that contains the .txt or .csv files.
2. Open BDC Definition Editor tool and click "Add LOB System".
3. Click "Connect to Database"
4. Select "ODBC" from the connection type
5. In the connection string box, add the name of the DSN that you created. For example, dsn=dsnText where "dsnText" is the name of the DSN.
6. Click "Connect"
7. Click "Add Table". You will be shown list of files. Select a file without any spaces in the name. Things work without any problem. Now select a file that has spaces in its name and try to add it to the main area. You will get an error:

"Could not process table "filename".Make sure you have select rights on the Table/View".

Click OK and an empty table will be added. Try to delete this empty table and you will get another error. See screenshot of the error below:

Figure 2: Object reference not set to an instance of an object

These are some minor issues that I am sure will be resolved in future releases. Overall , it's an excellent tool.

-SSA

Comments

 

Windows Vista News said:

There is an interesting post over at www.sharepointblogs.com

December 27, 2007 11:59 PM
 

SHAREPOINTBlogs.com Mirror said:

Microsoft Business Data Catalog Definition Editor is a great tool that has made creating application

December 28, 2007 12:22 AM
 

Sharepoint implementation said:

Great article on Microsoft Business Data Catalog Definition Editor.Its a very useful tool.

December 28, 2007 9:46 AM
 

All About SharePoint - S.S. Ahmed - MVP Microsoft SharePoint said:

Using Business Data Catalog Definition Editor Category: SharePoint Level: Beginner Business Data Catalog

December 30, 2007 12:51 AM
 

SharePoint, SharePoint and stuff said:

OT: Live Writer Tools 10 Useful Plugins for Windows Live Writer Mal wieder was zum Content Query Webpart

January 7, 2008 9:10 AM
 

Mirrored Blogs said:

OT: Live Writer Tools 10 Useful Plugins for Windows Live Writer Mal wieder was zum Content Query Webpart

January 9, 2008 7:10 PM
 

SharePointPodcast.de said:

Direkter Download: SPPD-084-2008-01-17 Intro: Bill Gates Keynote on CES 2008 On-Demand Webcast : Bills

January 17, 2008 7:47 AM
 

SharePoint, SharePoint and stuff said:

Direkter Download: SPPD-084-2008-01-17 Intro: Bill Gates Keynote on CES 2008 On-Demand Webcast : Bills

January 17, 2008 7:47 AM
 

Mirrored Blogs said:

Direkter Download: SPPD-084-2008-01-17 Intro: Bill Gates Keynote on CES 2008 On-Demand Webcast : Bills

January 17, 2008 8:05 AM
 

All About SharePoint - S.S. Ahmed - MVP Microsoft SharePoint said:

SharePoint and MySQL Integrating SharePoint with MySQL using Business Data Catalog T his is another article

January 27, 2008 5:14 PM
 

SharePoint MVP Blogs said:

Microsoft Business Data Catalog Definition Editor is a great tool that has made creating application

June 19, 2008 3:10 PM
 

Fred Morrison said:

Those "issues" with the BDC you hoped would be fixed "soon" back in December 2007?  Well, it's the end of July 2008 and they haven't been fixed and I see no sign they ever will.

July 31, 2008 2:47 PM
 

Frederick Morrison said:

I can't get the Microsoft BDC Editor to work after a week of trying it on the AdventureWorks database.  It's totally worthless and a waste of time.  If Microsoft ever wants to know what's slowing down the rate of adoption of BDC, providing crappy tools is the pimary reason.  I shouldn't have to waste my time figuring out various "work-arounds" for the most simple things which should already have been QA tested before it ever made its first public appearance.

August 4, 2008 9:07 AM
 

ALEXANDERN said:

and why can't this P*!*!_ program detect if SQL EXPRESS 2005 is already installed???

C'mon M$ boyz...

August 14, 2008 4:19 PM

Leave a Comment

(required )  
(optional )
(required )  
Add

About ssa

MOSS MVP - Over 8 years experience. 4 years SharePoint experience!

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts