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

Subreport work in the preview at design time in vs but not in the browser

1 Answer 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Moïse Mintya
Top achievements
Rank 1
Moïse Mintya asked on 13 Jan 2011, 01:39 AM
In visual studio, the report and all his subreports are rendering well, but in the browser I have the following error message on every subreport : Format of the initialization string does not conform to specification starting at index 0. The parameter is a string (the id of an employee) and subreports show other data from that employee. My project is a web app (ASPx) on sql server 2008 and VS 2010. Thanks for help (I am a french speaker, so...)

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Jan 2011, 10:29 AM
Hello Moïse,

You should copy the connectingString from the class library app.config file to the config file of your actual application. In your case it is a web application, which means this is the web.config file.
In class library, the Report and Data Source Wizards save the selected connection string in the config file using the application settings which use full path i.e. MyClassLib.Properties.Settings.HariindarrTest.

Greetings,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Moïse Mintya
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or