Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Silverlight4 Telerik
Hi,
I am working on a silver light demo project with telerik reports. It is working fine on local but when deploy on server It throws an exception in telerik reports.
Site is running but while click on Report page below exception throw.
"An exception occurred during the operation, making the result invalid.  Check InnerException for exception details"
 
Telerik dlls also manually put into ClientBin folder but still getting same error.
 
Telerik DLL
Telerik.ReportViewer.Silverlight.dll
Telerik.Web.UI.dll
Telerik.Windows.Controls.dll
Telerik.Windows.Controls.Input.dll
Telerik.Windows.Controls.Navigation.dll
MenuControl.dll
 
I am using ReportService.svc. This ReportService.svc is also exist on same application folder. I am able to open on local and server.
Please look into my web.config below.
 
<system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
    <services>
      <service
              name="Telerik.Reporting.Service.ReportService"
              behaviorConfiguration="ReportServiceBehavior">
        <endpoint
 

        address= "http://sltelerilreport.dutechnosys.com/ReportService.svc"
        binding="basicHttpBinding"
        contract="Telerik.Reporting.Service.IReportService">
        <identity>
 
          </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>
  </system.serviceModel>
 

Thanks and Regards!
Kuldeep Dwivedi
Posted 3-Oct-11 10:22am
Edited 3-Oct-11 16:41pm
v2
Comments
SAKryukov at 3-Oct-11 18:24pm
   
OK, and where is your dump of InnerException? You are advised to look at InnerException and do not show it -- why?
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

As SAKryukov said run your application in a debugger and view the inner exception.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

This demo project is running fine on local but it throws an exception on server.
 
"An exception occurred during the operation, making the result invalid. Check InnerException for exception details"
 
How I can check this project on web server.
 
Thanks and Regards!
Kuldeep Dwivedi
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 6 Oct 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100