I am getting an " InnerException for exception". It works on my development machine perfectly but when I deploy it, it get this error. Its simple report with no database connection. I have all the correct dlls deployed and the web.config is correct. I have done a fiddler on it and gives me a internal 500 error. The silverlight has other wcf calls with out any issues. I do have wcf logging turn on but I cannot see any errors. Can someone help me ?
16 Answers, 1 is accepted
0
Hi Hector!
I'm having the same problem as you, on my local machine the report works just fine, but when i deploy it on my web server i get the innerException too. I think i have missing something about the ReportServiceUri. I use this uri on the local machine
ReportServiceUri:="../MyServiceReport.svc" , i think that the reportViewer are not able to find de service. I already send a suport ticket and when i resolve this i will post here too.
I'm having the same problem as you, on my local machine the report works just fine, but when i deploy it on my web server i get the innerException too. I think i have missing something about the ReportServiceUri. I use this uri on the local machine
ReportServiceUri:="../MyServiceReport.svc" , i think that the reportViewer are not able to find de service. I already send a suport ticket and when i resolve this i will post here too.
0
Hello Hector,
The exception thrown in the viewer is a generic one and it might be due to various reasons. In order to get more information about the actual problem try the following:
the Telerik team
The exception thrown in the viewer is a generic one and it might be due to various reasons. In order to get more information about the actual problem try the following:
- show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode.
- access the .svc file directly in your browser to see if it reports any problems.
- enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug.
- Deploying Web Site
- Deploying an Internet Information Services-Hosted WCF Service
- How to: Host a WCF Service in IIS
- Silverlight Report Viewer
- How to: Add report viewer to a Silverlight application
- Telerik Reporting WCF Service
- Hosting WCF Service in IIS
You already have a samples installed with the product. You can use the Silverlight demo application for testing purposes or for comparing it with the one you've done so far.
Greetings,
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Hello.
I manage to fix the problem, i forgot to add the Telerik DLL's to the Web Project, i don't know that the dll's are not copied automaticaly to the Bin folder and that we need to copy manually. I follow this post topic and works just great for me.
I manage to fix the problem, i forgot to add the Telerik DLL's to the Web Project, i don't know that the dll's are not copied automaticaly to the Bin folder and that we need to copy manually. I follow this post topic and works just great for me.
0
Hector
Top achievements
Rank 1
answered on 22 Jun 2011, 08:08 PM
All of the dlls are in the bin. directory. The funny thing is if I put a report that requires paramterts, it will render the input fields, but when I hit the preview button it gives me the error. Also if just put a report with a simple lable, I still get the error.
Hector
Hector
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
Hector
Can you access your Reporting Service in the Browser?
like this:
http://www.mySilverlightAPP.com/MyReportService.svc
If no, this is the problem, give it a try.
Can you access your Reporting Service in the Browser?
like this:
http://www.mySilverlightAPP.com/MyReportService.svc
If no, this is the problem, give it a try.
0
Hector
Top achievements
Rank 1
answered on 22 Jun 2011, 08:28 PM
Yes I can.
I can try create a small local silverlight app and running locally but access the reporting service on the server. Maybe I can debug it that way
I can try create a small local silverlight app and running locally but access the reporting service on the server. Maybe I can debug it that way
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
0
Hector
Top achievements
Rank 1
answered on 22 Jun 2011, 09:19 PM
Here is what I am getting
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
Hello Hector,
My colleague has already provided information what you should do to get more insight on the error in our previous reply, but I'll repost:
Regards,
Steve
the Telerik team
My colleague has already provided information what you should do to get more insight on the error in our previous reply, but I'll repost:
- show the Output window in Visual Studio and check whether there is an exception when you're running your application in debug mode.
- access the .svc file directly in your browser to see if it reports any problems.
- enable the CLR exceptions from Debug --> Exceptions menu in Visual Studio and run your project in debug.
Regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Hector
Top achievements
Rank 1
answered on 24 Jun 2011, 10:14 PM
Here is what I am getting..
t System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
------------- InnerException: -------------
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
at proxy_3.EndListRenderingExtensions(IAsyncResult )
at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
t System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at Telerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()
at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Object sender, ListRenderingExtensionsEventArgs e)
------------- InnerException: -------------
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
at proxy_3.EndListRenderingExtensions(IAsyncResult )
at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndListRenderingExtensions(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__1(Object sendState)
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
0
Hector
Top achievements
Rank 1
answered on 25 Jun 2011, 06:43 AM
If your talking about the bin directory on the server, they all exists on the server.
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
Hector
Top achievements
Rank 1
answered on 25 Jun 2011, 07:35 AM
After much trace debugging, I moved the service file to the root that allow anonymous access,
It finally works
It finally works
element
Font | |
---|---|
font-family | |
font-size | |
font-style | |
font-variant | |
font-weight | |
letter-spacing | |
line-height | |
text-decoration | |
text-align | |
text-indent | |
text-transform | |
white-space | |
word-spacing | |
color | |
Background | |
bg-attachment | |
bg-color | |
bg-image | |
bg-position | |
bg-repeat | |
Box | |
width | |
height | |
border-top | |
border-right | |
border-bottom | |
border-left | |
margin | |
padding | |
max-height | |
min-height | |
max-width | |
min-width | |
outline-color | |
outline-style | |
outline-width | |
Positioning | |
position | |
top | |
bottom | |
right | |
left | |
float | |
display | |
clear | |
z-index | |
List | |
list-style-image | |
list-style-type | |
list-style-position | |
Table | |
vertical-align | |
border-collapse | |
border-spacing | |
caption-side | |
empty-cells | |
table-layout | |
Effects | |
text-shadow | |
-webkit-box-shadow | |
border-radius | |
Other | |
overflow | |
cursor | |
visibility |
0
Richo
Top achievements
Rank 1
answered on 19 Sep 2013, 09:39 AM
please help me.it is working locally but when i deploy it on iis7 display this error on the page
Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at Telerik.Reporting.Service.SilverlightClient.RenderAndCacheEventArgs.get_RenderingResult()
at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)
------------- InnerException: -------------
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
at proxy_2.EndRenderAndCache(IAsyncResult )
at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
Error: System.Reflection.TargetInvocationException : An exception occurred during the operation, making the result invalid. Check InnerException for exception details.
at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
at Telerik.Reporting.Service.SilverlightClient.RenderAndCacheEventArgs.get_RenderingResult()
at Telerik.ReportViewer.Silverlight.ReportViewerModel.OnRenderAndCacheCompleted(Object sender, RenderAndCacheEventArgs e)
------------- InnerException: -------------
System.ServiceModel.CommunicationException : The remote server returned an error: NotFound.
at System.ServiceModel.Channels.Remoting.RealProxy.Invoke(Object[] args)
at proxy_2.EndRenderAndCache(IAsyncResult )
at Telerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnEndRenderAndCache(IAsyncResult result)
at System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
------------- InnerException: -------------
System.Net.WebException : The remote server returned an error: NotFound.
at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassa.<EndGetResponse>b__9(Object sendState)
at System.Net.Browser.AsyncHelper.<>c__DisplayClass4.<BeginOnUI>b__0(Object sendState)
0
Hello Richo,
In order to get more insight on the error access the .svc file directly in your browser to see if it reports any problems.
Regards,
Stef
Telerik
In order to get more insight on the error access the .svc file directly in your browser to see if it reports any problems.
Additionally please double-check the deployed assemblies and if you have set properly the endpoints of your service as explained in the How to: Host WCF Service in IIS. Also configure your application to use your local IIS server and then compare local IIS settings to the production machine's settings.
If you need further help, post the configuration file or open a support ticket and send us there the requested details.Regards,
Stef
Telerik
Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.
0
Alex
Top achievements
Rank 1
answered on 20 Sep 2013, 01:57 PM
Hi
I had the same issue, I fixed two problems, My website was using windows authentication, but bindings for Telerik report wasn't set to use windows authentication (default is anonymous).
I also had a relative URI to the svc file. I changed it to the full path where SVC file sits ON THE SERVER
The error message that you see , may show up for different reasons. The best test is , as Telerik guys mentioned, type in the address of the svc file on server, e,g. http://myserver/myreports.svc and check if the service is good.
Hope it helps.
I had the same issue, I fixed two problems, My website was using windows authentication, but bindings for Telerik report wasn't set to use windows authentication (default is anonymous).
I also had a relative URI to the svc file. I changed it to the full path where SVC file sits ON THE SERVER
The error message that you see , may show up for different reasons. The best test is , as Telerik guys mentioned, type in the address of the svc file on server, e,g. http://myserver/myreports.svc and check if the service is good.
Hope it helps.