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

How to deploy the telerik reporting ?

5 Answers 568 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Wang
Top achievements
Rank 1
Wang asked on 02 May 2012, 03:17 AM
Hi Guys,
     
     Current Environment :   Telerik Reporting Q1 2011   、Silverlight ReportViewer

     With the telerik reporting was installed successly in the server , The reports can display normally well ; but after the telerik reporting has been uninstalled from the server , The reports has threw an InnerException .

     At this moment , I need to deploy the telerik reporting without installed it.

     How to do it ? I am in urgent for your help.

     Thanks.
     please see the attached illustration.

5 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 May 2012, 03:54 PM
Hello Wang,

Installing Telerik Reporting on the server where you deploy the application using Telerik Reporting is not necessary. According to your description, since it worked with the product installed and does not work when you uninstall it, most likely you're missing required assemblies. Check the Deploying Silverlight Application help article.

Kind regards,
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
Wang
Top achievements
Rank 1
answered on 10 May 2012, 09:27 AM
Hi Steve,
    Thanks for your reply. 
    
    Following that help article,but I have encountered this ' Async_ExceptionOccurred exception '  be thrown from Silverlight ReportViewer this moment.

    I have referred the following help article :
    http://www.telerik.com/community/forums/reporting/telerik-reporting/silverlight-reportviewer-throws-async-exceptionoccurred.aspx
   
    but,I can not find the 'Telerik.Reporting.XamlRendering.dll' from the telerik installed 'bin' folder.
    
    When deploy the telerik reporting without installed it , Is the 'XamlRendering.dll' necessary ?   
    
    And so,how to solve it ? I am looking forward to your help...

    Thanks.
    please see the attached illustration.
0
Steve
Telerik team
answered on 10 May 2012, 10:02 AM
Hello Wang,

Since Q1 2011 SP1 the XAML rendering is contained in the Telerik.Reporting.dll assembly, so there is no longer a Telerik.Reporting.XamlRendering.dll. All references to the old assemblies have been removed from the documentation, so please always use the online documentation which is up to date with the latest official version and do not look in old forum threads for deployment information (Deploying Applications using Telerik Reporting).

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
Wang
Top achievements
Rank 1
answered on 15 May 2012, 07:39 AM
Hi Steve,
    Thanks for your reply.I greatly appreciate your help.
    
    About the telerik deployment,

    I have copied these required assemblies to the 'bin' folder of the web application from the telerik installed bin folder.  
    The following list is these required assemblies :
           Telerik.Reporting.dll -- 5.0.11.510 
           Telerik.Reporting.OpenXmlRendering.dll -- 5.0.11.510
           Telerik.Reporting.Service.dll --5.0.11.510
           Telerik.Reporting.Adomd.dll --5.0.11.510    
           DocumentFormat.OpenXml.dll --5.0.11.510        

    About WCF Service configuration, 
  
    Please see the following serviceModel section in web.config :
   
<system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    <services>
      <service name="Telerik.Reporting.Service.ReportService" behaviorConfiguration="ReportServiceBehavior">
        <endpoint address=""
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBindingConfig"
                  contract="Telerik.Reporting.Service.IReportService">
          <identity>
            <dns value="localhost"/>
          </identity>
        </endpoint>
        <endpoint address="resources"
                  binding="webHttpBinding"
                  behaviorConfiguration="WebBehavior"
                  contract="Telerik.Reporting.Service.IResourceService"/>
        <endpoint address="mex"
                  binding="mexHttpBinding"
                  contract="IMetadataExchange"/>
      </service>
    </services>
  
    <behaviors>
      <serviceBehaviors>
        <behavior name="ReportServiceBehavior">
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
      <endpointBehaviors>
        <behavior name="WebBehavior">
          <webHttp/>
        </behavior>
      </endpointBehaviors>
    </behaviors>
  
    <bindings>
      <basicHttpBinding>
        <binding name="BasicHttpBindingConfig"
                 maxReceivedMessageSize="2147483647" maxBufferSize="2147483647" maxBufferPoolSize="2147483647"
                 receiveTimeout="00:10:00" sendTimeout="00:10:00" openTimeout="00:10:00" closeTimeout="00:10:00"/>
      </basicHttpBinding>
    </bindings>
  </system.serviceModel>

I have referred these help articles :
http://www.telerik.com/help/reporting/installation-deploying-on-silverlight-application.html
http://www.telerik.com/help/reporting/installation-deploying-on-web-application.html

About this description 'You still need to include required assemblies based on the project you host the Silverlight application' ;
Which DLLs does the required assemblies include ?

 
Following this situation,but the Silverlight ReportViewer has still thrown that 'Async_ExceptionOccurred ' exception.
Why is it ? Is there anything else that I miss ?

Please see the attached illustration.I am looking forward to your help...
Thanks very much. 


0
Steve
Telerik team
answered on 15 May 2012, 01:37 PM
Hi Wang,

The assemblies you have deployed are correct, the note in the deployments article for Silverlight refers to Telerik.Reporting.dll and other assemblies you might want (i.e. for the OpenXML and XPS formats).

The WCF service binding are also correct according to the Hosting WCF Service in IIS help article.

One thing that you have not mentioned is the version of RadControls for Silverlight assemblies, which are requires for the Silverlight viewer (see How to: Add report viewer to a Silverlight application). Make sure you use the assemblies from the Q1 2011 version as you're using Telerik Reporting Q1 2011. You can find them in C:\Program Files\Telerik\Reporting Q1 2011\Examples\CSharp\SilverlightDemo\bin so you do not have to manually download them.

If you're still having problems, it would be best to zip and attach your project in a support ticket and we would advise you accordingly once we review it.

Regards,
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
Wang
Top achievements
Rank 1
Answers by
Steve
Telerik team
Wang
Top achievements
Rank 1
Share this question
or