Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
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.

XML
<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
Updated 3-Oct-11 16:41pm
v2
Comments
Sergey Alexandrovich Kryukov 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

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
 
Share this answer
 
As SAKryukov said run your application in a debugger and view the inner exception.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900