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

Duplicate key exception on report generate

4 Answers 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marcin Grabowski
Top achievements
Rank 1
Marcin Grabowski asked on 13 Jun 2012, 09:52 AM
Hi.
ReportViewer display this exception on refresh:

w System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
w System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
w System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
w Telerik.Reporting.Processing.Expressions.ReportExpressionContext.ResolveNameSpaces()
w Telerik.Reporting.Processing.Expressions.ReportExpressionContext..ctor(Type methodInfoSourceType)
w Telerik.Reporting.Processing.ParametersManager`1..ctor(IReportDocument definition, ICollection`1 parameters)
w Telerik.ReportViewer.WebForms.ParametersPage.get_ParamsManager()
w Telerik.ReportViewer.WebForms.ParametersPage.CreateChildControls()
w System.Web.UI.Control.EnsureChildControls()
w Telerik.ReportViewer.WebForms.ParametersPage.OnPreLoad(EventArgs e)
w System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


This exception appears even when i create empty new report and run it. I use Q1 2012 version.

I check all my parameters and i dont have any duplicated names. For source i use ObjectDataSource.

Do I missed something?

4 Answers, 1 is accepted

Sort by
0
Marcin Grabowski
Top achievements
Rank 1
answered on 15 Jun 2012, 08:26 AM
Any help?
0
Steve
Telerik team
answered on 15 Jun 2012, 08:52 AM
Hi Marcin,

We've not encountered such a problem so far and would appreciate if you provide us with detailed instructions how to reproduce it or open a support ticket and attach a runnable sample that exhibits the problem.

All the best,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Marcin Grabowski
Top achievements
Rank 1
answered on 15 Jun 2012, 11:35 AM
Its very strange error, and it show only in our Main project. I tried reproduce it in new project. I create Web Site, Web application, and all work great. I tried copy our web.config and master page to new created project and no error.

I cant send you the entire project. Perhaps this fragment of call stack that i previously pasted lead You on the idea where to look.

0
Steve
Telerik team
answered on 18 Jun 2012, 07:59 AM
Hi Marcin,

Note that we do not need your actual report and actual data, we just need a project that exhibits the exception. The very fact that you get this by creating a new empty report, means that this is something machine/project specific. Are you getting the exception when you run the project in the VS built-in server or on IIS? If the latter, what application pool do you use? What is the target framework version (exact version).
Do you get this exception if you're the only person accessing the project or when other users work with it as well?

Any additional information you find relevant would be highly appreciated.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Marcin Grabowski
Top achievements
Rank 1
Answers by
Marcin Grabowski
Top achievements
Rank 1
Steve
Telerik team
Share this question
or