Friday, October 19, 2007

Cannot create a connection to data source 'myDataset'

I almost pulled the hair out of my head trying to resolve this stupid error when working with SQL
Reporting Expresses Data source connection limitations;
Cannot create a connection to data source 'myDataset'

The solution is quite simple yet mystifying, the two connection strings below should be pointing to the same database

Does not work in Reporting Services Express: Server='MyDataBase\SQLEXPRESS';Database=Catalog;
Works in Reporting Services Express: Server=MyDataBase\SQLEXPRESS; Database=Catalog;

In case you miss the difference, you are apparently not allowed inverted commas around your attribute names.

Hope someone finds this helpfull

Installing SQL Reporting Services Express

Installing SQL Reporting services Express on Windows 2003 Server "trick"

I dont know why this works but if you are having
  • Security problems with Reporting Services on Windows Server 2003.
  • Trouble logging into reporting services from .NET Report Viewer
The solution is the following:
  1. Open the windows registry
  2. Locate the key HKEY_LOCAL_MACHINES\SYSTEM\CurrentControlSet\Control\LSA
  3. Add a DWork to Value and named DisableloopbackCheck and set its value to 1
  4. Close the Registry and restart the server.
Unfortunately this does not resolve the problem Cannot create a connection to data source 'myDataset'. but at least now you'll be able to log into your report server and report manager and manage your reports.

Wednesday, October 10, 2007