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

Design Time Doesn't Work - Cannot Find Application Config Section

2 Answers 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 30 Apr 2009, 05:35 PM
We have a web application (vs2008) running the latest versions.

At run-time the report viewer works fine.  Its datasource is set to a businessobject method that returns a dataset.

However at design-time we cannot get things working.  At preview we get an error about it not being able to find a section of the application config file.

The business object uses SubSonic which has info in the web.config file.  The previewer is not finding this info.

Is there a "trick" to making this same config info available to the report designer so that we can preview?

Thx

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 01 May 2009, 02:16 PM
Hello Kevin,

You should use the Visual Studio' config file - devenv.exe.config when working with the designer. This holds true when using Preview/Html Preview as it is visual studio that instantiates the report in such case.

Sincerely yours,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Kevin
Top achievements
Rank 2
answered on 01 May 2009, 07:01 PM
That got it.

Thx!
Tags
General Discussions
Asked by
Kevin
Top achievements
Rank 2
Answers by
Steve
Telerik team
Kevin
Top achievements
Rank 2
Share this question
or