Archive for September, 2007

Microsoft Business Data Catalog Definition Editor Installation Problem

Tuesday, September 18th, 2007

I was very happy when I heard that Microsoft has released a BDC XML file creator application called Microsoft Business Data Catalog Definition Editor ( MBDCDE ) with SharePoint 2007 SDK 1.2. But my happiness did not last long Sad.

I have started the installation, but at the end of the installation I got this error: "Unexpected Error has occured. Error is 'ExecuteNonQuery failed for Database '…'. ' –> ExecuteNonQuery failed for Database '…'. –> An exception occured while executing a Transact-SQL statement or batch. –> Invalid column name 'id'.".

SQL Server 2005 Express Edition ( SQLExpress ) is a prerequisite for MBDCDE. When you start the installation of MBDCDE, it searches for the SQLExpress instance named "BDC". If it cannot find the instance it starts the unattended installation of SQLExpress. When it comes to the collation of the SQLExpress installation, the setup sets the collation of the SQLExpress instance according to the regional setting of the computer. In my example, my regional setting was Turkish, so the collation of the SQLExpress instance was set as Turkish_CI_AS. After the installation of the SQLExpress instance, MBDCDE installation starts, and it gives the error above because of the inappropriate collation.

As a solution for the problem, I have installed SQLExpress manually, so I could set the default collation of the installation as Latin1_General_CI_AS with the builtin wizard. I have set the instance name as "BDC" ( the name of the instance is very important ). After the SQLExpress installation, I started the MBDCDE installation, it skipped the SQLExpress installation part ( because it found an SQLExpress instance named "BDC" ) and continued with the MBDCDE installation; so the problem was solved.

And now, I am playing with my new tool. Stick out tongue

 

con Keyword and SharePoint

Monday, September 10th, 2007

Hi All,

Everybody knows the relationship between the "con" keyword and windows operating system. This relationship is another issue on SharePoint sites.

Create a subsite and give "con" as the url of this site, and see what happens when you browse to the created site. It responds with an empty body tagged html.