Hello all, I'm using Telerik Report for the first time. Since we use other Telerik solutions, we opted to try it.
Here is my current problem. I created the Service in my server, where all my solution services are. I created a ClassLibrary with the report, and followed the tutorial to create the viewer in my Silverlight application. Now when I try to render/view the report I get an error: "Report is unavailable or session has expired."
I debugged my server, and both the report, and the data source (an object) are created. The report works fine in design preview. I checked asp.net session, and tried both StateServer and InProc sessions with the same error.
As someone suggestion in this forum, I debugged with Fiddler and two calls are made, with the following response:
Fist call response:
Second call response:
But the above response did not help me solve the problem. What should I do, where should I look?
Here is my current problem. I created the Service in my server, where all my solution services are. I created a ClassLibrary with the report, and followed the tutorial to create the viewer in my Silverlight application. Now when I try to render/view the report I get an error: "Report is unavailable or session has expired."
I debugged my server, and both the report, and the data source (an object) are created. The report works fine in design preview. I checked asp.net session, and tried both StateServer and InProc sessions with the same error.
As someone suggestion in this forum, I debugged with Fiddler and two calls are made, with the following response:
Fist call response:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Fri, 08 Jul 2011 12:07:42 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 4.0.30319
Content-Length: 812
Set-Cookie: ASP.NET_SessionId=faopnca1hygazmjbd2yx4x5d; path=/; HttpOnly
Cache-Control: private
Content-Type: text/xml; charset=utf-8
<
s:Envelope
xmlns:s
=
"http://schemas.xmlsoap.org/soap/envelope/"
>
<
s:Body
>
<
RenderAndCacheResponse
xmlns
=
"Telerik.ReportService"
>
<
RenderAndCacheResult
xmlns:a
=
"http://schemas.datacontract.org/2004/07/Telerik.Reporting.Service"
xmlns:i
=
"http://www.w3.org/2001/XMLSchema-instance"
>
<
a:Error
i:nil
=
"true"
/>
<
a:Actions
/>
<
a:Bookmarks
i:nil
=
"true"
/>
<
a:HasDocumentMap
>false</
a:HasDocumentMap
>
<
a:InstanceID
>226a967f-0ce1-4951-99a8-94449583823f</
a:InstanceID
>
<
a:NavigateBackEnabled
>false</
a:NavigateBackEnabled
>
<
a:NavigateForwardEnabled
>false</
a:NavigateForwardEnabled
>
<
a:PageCount
>1</
a:PageCount
>
<
a:PageNumber
>1</
a:PageNumber
>
<
a:Parameters
/>
<
a:Report
>MJDS.Relatorios.RelatorioTipoPermissao, MJDS.Relatorios, Culture=neutral, PublicKeyToken=null</
a:Report
>
</
RenderAndCacheResult
>
</
RenderAndCacheResponse
>
</
s:Body
>
</
s:Envelope
>
Second call response:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Fri, 08 Jul 2011 12:07:42 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 4.0.30319
Content-Length: 436
Cache-Control: private
Content-Type: text/xml; charset=utf-8
<
s:Envelope
xmlns:s
=
"http://schemas.xmlsoap.org/soap/envelope/"
>
<
s:Body
>
<
GetPageResponse
xmlns
=
"Telerik.ReportService"
>
<
GetPageResult
xmlns:a
=
"http://schemas.datacontract.org/2004/07/Telerik.Reporting.Service"
xmlns:i
=
"http://www.w3.org/2001/XMLSchema-instance"
>
<
a:Error
>Report is unavailable or session has expired.</
a:Error
>
<
a:Buffer
i:nil
=
"true"
/>
<
a:PageNumber
>0</
a:PageNumber
>
</
GetPageResult
>
</
GetPageResponse
>
</
s:Body
>
</
s:Envelope
>
But the above response did not help me solve the problem. What should I do, where should I look?