Thursday, April 26, 2012

Unspecified Error in Microsoft Access Data Engine...

While trying to access Excel 2007 file using SSIS Excel Source component, I got an error in the Microsoft Access Data Engine as Unspecified Error. I was using SQL Server Business Development Studio 2008. I got this error trying to get the Sheets in the excel file after creating the connection.

I tried to find the reason and the solution for this issue and able to find a helpful blog.
http://ddkonline.blogspot.com/2010/08/ssis-2008-unspecified-error-and-could.html

According to that post the this is related to the driver issue. After following that post I was able to fix is by re-installing the driver in the below link.
http://www.microsoft.com/downloads/details.aspx?FamilyID=7554f536-8c28-4598-9b72-ef94e038c891&displaylang=en

After the installation completes, the issue will be fixed. If you already opened the Business Development Studio project, just close it and re-open it. 

Tuesday, April 10, 2012

How to show column headers on all pages in SSRS Report

If a report contains several pages it will be useful to have column headers on each page. In tablix properties we have options as Repeat header columns on each page as shown in below figure.


But even though we put a tick on that property, sometimes it is not applied and and column header are not repeated in other pages. This is really confusing and I found useful link in the internet.


It mentions the work around as well the reasons that may cause for it.

Work around is
  • Select the Tablix that you want to repeat column headers for by clicking on it.
  • At the bottom of the screen, find the "Row Groups" and "Column Groups" section.
  • Click the small drop-down-arrow on the right side of that section.
  • In the "Row Groups" section, locate the top-outermost "static" row and click on it.
  • In the properties pane, you need to set the following TWO properties:
    -RepeatOnNewPage = True
    -KeepWithGroup = After