ReportViewer - ReportViewerWebControl.axd - query string problem withName URL Parameter




I have a ReportViewer control on my aspx page which is creating a
report when a user clicks on some button. The problem is that it
cannot find the Scripts.ReportViewer.js file as the querystring (auto
generated by has an error.

In my case, I am getting the following error:

Exception type: System.ArgumentException

Exception message: Missing URL parameter: Name

After doing some research, I think the problem is in the querystring:

"&" before the Name parameter is generating the error. If I
replace the "&" with "&" and try to access the .js file then
everything works fine. The problem is that I don't know where is the
code that generates this querystring???

my web.config file has the following httphandlers


<remove path="*.asmx" verb="*" />

<add path="Reserved.ReportViewerWebControl.axd" verb="*"
Microsoft.ReportViewer.WebForms, Version=, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" validate="false" />


Thanks for your help.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question