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

Reports not working after deploying application web server

1 Answer 166 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ulrich
Top achievements
Rank 1
Ulrich asked on 05 Apr 2011, 07:57 AM
Hi all,

we have some problems regarding reports after deploying our web application to a server.
We're using Telerik Reporting Q3 2010.
In our application we use a RadWindow with a ReportViewer for different reports we need. The datasource is set programmatically:

Dim report1 As New easyTennis.Rechnung
  
                report1.DataSource = GetDataTable(ssql & " where BelID = " & nKey)
                Me.ReportViewer1.Report = report1


The reports are working fine when we run our application in debug mode on our development machine, but after deploying it to a web server and running the application we get this error when we try to open a report (see attached image!).

This is a very urgent matter and right now we're really at a loss as to why the reports won't show. Any help would be appreciated.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Ulrich
Top achievements
Rank 1
answered on 05 Apr 2011, 08:53 AM
Well, thanks to this forum thread http://www.telerik.com/community/forums/reporting/telerik-reporting/extensionmanagerexception.aspx, I was just able to resolve the issue myself.

We wanted to export our reports only to certain formats, so in our web.config file we had added this:

<Telerik.Reporting>
    <Extensions>
      <Render>
        <Extension name="IMAGE" visible="false">
        </Extension>
        <Extension name="MHTML" visible="false">
        </Extension>
        <Extension name="XLS" visible="false">
        </Extension>
        <Extension name="CSV" visible="false">
        </Extension>
        <Extension name="RTF" visible="true">
        </Extension>
        <Extension name="XPS" visible="false">
        </Extension>
        <Extension name="PDF" visible="true">
        </Extension>
      </Render>
    </Extensions>
  </Telerik.Reporting>


After removing this, the reports work fine. Seems I was not the only one with this problem....
Tags
General Discussions
Asked by
Ulrich
Top achievements
Rank 1
Answers by
Ulrich
Top achievements
Rank 1
Share this question
or