locked
Using ReportViewer in Visual Studio Express 2013 for Web RRS feed

  • Question

  • User966057038 posted

    Hello,

    I am trying to display SSRS reports in my ASP.Net web application. I have been trying unsuccessfully to use ReportViewer in Visual Studio Express 2013 for Web. When I pull the ReportViewer control into my Aspx page in Design mode, I get the following error:

    Error Creating Control - ReportViewer1
    Failed to create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

    Here's what I have already done:

    Following the instructions in this thread, I did the following:

    1. Downloaded and installed SQL Server Express 2012 with Advanced Tools (including Reporting).
    2. Downloaded and installed SQL Server® 2012 SP1 Report Builder.
    3. Downloaded and installed Microsoft Report Viewer 2012 Runtime.
    4. In VS Express 2013 for Web, I couldn't find Tools > Choose Toolbox. So instead I went to my Toolbox > Right-click > Choose Items.
    5. Under the .NET Framework Components, I checked ReportViewer (Namespace: Microsoft.Reporting.WebForms; Version: 10.0.0.0).
    6. Just to be sure, I also checked ReportExecutionService (Namespace: Microsoft.Reporting.WebForms.Internal.Soap.ReportingServices2005.Execution; Version: 10.0.0.0).
    7. When I add ScriptManager control then ReportViewer control, I get the error above.

    I have confirmed that the following assembly has been added to my .aspx page:

    <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

    It has also been added to my web.config:

    <assemblies>
    <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
    </assemblies>

    What steps have I missed above?

    Thanks in advance for the help.

    Friday, May 23, 2014 2:15 AM

Answers

  • User1140095199 posted

    Hi,

    Error Creating Control - ReportViewer1
    Failed to create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

    Since you are using VS 2013. Delete Old references and try and use the following and see if it helps:

            <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
            <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 26, 2014 3:20 AM

All replies

  • User1140095199 posted

    Hi,

    Error Creating Control - ReportViewer1
    Failed to create designer 'Microsoft.Reporting.WebForms.ReportViewer, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'

    Since you are using VS 2013. Delete Old references and try and use the following and see if it helps:

            <add assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
            <add assembly="Microsoft.ReportViewer.Common, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91"/>
    

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, May 26, 2014 3:20 AM
  • User966057038 posted

    Thanks Sam. It gets rid of that error message. 

    Sunday, June 1, 2014 11:05 PM