Report viewer calendar control not displayed on ASPX page (IIS 6.0)
Dears,
I have a problem loading calendar control on aspx page, however it working when i run on visual studio debugger. I am using IIS 6.0, and have below web.config section for report viewer configuration and i already have ".axd" extension on my virtual
directory in IIS.
Web.Config
<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>
<compilation debug="true">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</buildProviders>
</compilation>
Appreciate your input in resolving my issue.
Thanks and Regards
Umair Ahmed
umair_bs
May 27th, 2012 4:37am
Hi There
Which version of Report viewer you are on now. From the code I can see you are using older version of RV. For now what I can suggest you please download the latest version of report viewer (RV 2010) and try that
http://www.microsoft.com/en-us/download/details.aspx?id=6442
For more details please see the following thread
http://social.msdn.microsoft.com/Forums/eu/sqlreportingservices/thread/aaf749d9-d5ed-4bb2-a44a-61b08ffe32d8
If you have any question please let me know.
Many Thanks
Syed Qazafi Anjum
Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2012 5:19am
Thanks you very much for the feedback.
I have installed the latest version of Reportviewer, but i was not automatically registered with visual studio 2005.I tried below things:
1. Tried adding it to tool box by right click "choose Items", but it was not listed on .Net framework components list.
2. Then i fetched the all Report viewer ver.10.0.0.0 assemblies from "c:\windows\assembly\gac_msil" and copied it to specific location , and then use browse to locate the copied files .So, that it appears on .Net framework components list on "Choose
Items". I selected "Microsoft.ReportViewer.WebForm.dll" of 10.0.0.0 and deselected version 8.0.0.0 . Report viewer disappeared from toolbox. "So, i revert it back"
3. I updated the version in web.config from "8.0.0.0" to "10.0.0.0" , but recieves below compilation error on yellow screen
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'Microsoft.Reporting.WebForms.ReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\8.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\Microsoft.ReportViewer.WebForms\10.0.0.0__b03f5f7f11d50a3a\Microsoft.ReportViewer.WebForms.dll'
Source Error:
Line 187:
Line 188: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 189: private global::Microsoft.Reporting.WebForms.ReportViewer @__BuildControlReportViewer1() {
Line 190: global::Microsoft.Reporting.WebForms.ReportViewer @__ctrl;
Line 191:
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\0b58e5fb\4a037041\App_Web_default.aspx.cdcab7d2.1tgdggf9.0.cs Line: 189
4. I removed the "8.0.0.0" version assemblies from references and updated with "10.0.0.0" . But, getting below build error.
Error 1 The type 'System.Web.UI.IScriptControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. D:\Umair\Test\WebApplication1\Default.aspx.designer.cs 38 69 WebApplication1
I would appreciate any help to move further.
Thanks and best regards,
Umair Ahmed
umair_bs
May 27th, 2012 6:44am
I would like to mention my environment :
1. SQL server 2005
2. Visual Studio 2005
3. IIS6.0
4. .net framework 2.0umair_bs
Free Windows Admin Tool Kit Click here and download it now
May 27th, 2012 12:31pm
Hi There
I am sorry you cannot use RV 2010 with .net 2.0 as for RV 2010 the prerequisite is
.NET Framework 3.5 SP1 or .NET Framework 4.0. For more information you can see the link
http://www.microsoft.com/en-us/download/details.aspx?id=6442
If you have any questions please do ask.
Thanks
Syed Qazafi Anjum
Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful
May 27th, 2012 7:45pm
Yes, i did noticed that , it requires Microsoft SQL Server 2008 Reporting Services . However, i have MS SQL Server 2005 Reporting services.
So, my problem is still there! Can anyone suggest me solution with SQL Server 2005 Reporting services and IIS 6.0 ?
Thanks and Best regards,
Umair
umair_bs
Free Windows Admin Tool Kit Click here and download it now
May 28th, 2012 2:57am