This is a migrated thread and some comments may be shown as answers.

Report Wizard Connection String for ODBC

5 Answers 247 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Sebastian
Top achievements
Rank 1
Sebastian asked on 15 Mar 2012, 04:48 PM
I'm trying to use the standalone Reportgenerator with an existing ODBC System-DSN with following connection string:
DSN=myDSN;UID=myUserid;PWD=myPwd

After inserting this connection string into the wizard, and specifying "select * from KnownTableName", following error accours:
"Unable to establish a connection to the database. Please, verify that your connection string is valid...".

This connection string works fine with WinSQL and seems to be valid (See attachment).




5 Answers, 1 is accepted

Sort by
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 16 Mar 2012, 01:07 PM
Sebastian,

Use the Visual Studio designer where the SqlDataSource uses the VS tools to generate a valid connection string and then when you successfully connect there, you can use it for the standalone designer.

Cheers!
0
Sebastian
Top achievements
Rank 1
answered on 16 Mar 2012, 01:29 PM
@Massimiliano
Seems legit,
but the VS wizard allows you to specify a Data Connection with the option to select "Microsoft ODBC-Datasource". This option is not available using the standalone wizard.

I think the missing option is the problem with the standalone wizard.
0
Steve
Telerik team
answered on 16 Mar 2012, 02:56 PM
Hello Sebastian,

This is a known problem in the Beta release of the standalone report designer. Please cancel the SqlDataSource wizard and set manually from the properties of the SqlDataSource a valid providerName, in your case System.Data.Odbc and run the wizard again.

Regards,
Steve
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Sebastian
Top achievements
Rank 1
answered on 19 Mar 2012, 10:12 AM
Thanks, that works for me.
Will it be fixed in the next release?
0
Elian
Telerik team
answered on 21 Mar 2012, 05:10 PM
Hi Sebastian,

The Telerik Report Designer is still in Beta and lots of improvements are yet to be done. We have ordered the tasks by importance and will complete as many of them as possible for the next release.

Kind regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
Tags
Report Designer (standalone)
Asked by
Sebastian
Top achievements
Rank 1
Answers by
Massimiliano Bassili
Top achievements
Rank 1
Sebastian
Top achievements
Rank 1
Steve
Telerik team
Elian
Telerik team
Share this question
or