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

Got [Async_ExceptionOccurred] error when deploying the application

15 Answers 637 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karlkim Suwanmongkol
Top achievements
Rank 1
Karlkim Suwanmongkol asked on 03 Dec 2009, 01:30 AM
Hi,
   I am creating a Silverlight application which including Reporting using Q3 2009. I follow the example and document here. When I test on my development machine, the report seems to be displayed fine. However, when I deploy the application to our dev server running IIS6, I got the error when I try to open the ReportViewer in Safari (OS X),

Error: [Async_ExceptionOccurred]
Arguments: 
Debugging resource strings are unavailable. 

In Firefox on Windows, I got this inner exception,
UnhandledError in Silverlight Application An exception occurred during theoperation, making the result invalid. Check InnerException forexception details. atSystem.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()atTelerik.Reporting.Service.SilverlightClient.ListRenderingExtensionsEventArgs.get_Extensions()atTelerik.ReportViewer.Silverlight.ReportViewerModel.OnListRenderingExtensionsCompleted(Objectsender, ListRenderingExtensionsEventArgs e) atTelerik.Reporting.Service.SilverlightClient.ReportServiceClient.OnListRenderingExtensionsCompleted(Objectstate)

Do you know if I might miss anything?

15 Answers, 1 is accepted

Sort by
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 03 Dec 2009, 05:34 PM
I suspect that the issue is about deployment.

I have these Reporting DLLs in the server:

  1. Telerik.Reporting.Service (Web Application project)
  2. Telerik.Reporting (Class Library Reporting project)
  3. Telerik.ReportView.Silverlight (Included in the XAP file with Silverlight project)

In the installation documentation, there is no section about which DLLs should be copied for Silverlight project, so I am not sure if I still miss anything. Could anyone help?
0
Accepted
Chris Gillies
Top achievements
Rank 1
answered on 04 Dec 2009, 12:48 PM
You should have some assemblies from the RadControls for Silverlight package, which are used by the ReportViewer. They are listed in the documentation: Embedding the Silverlight Viewer.
In the Silverlight Web project you should have reference to Telerik.Reporting.Service.dll and Telerik.Reporting.dll as well (this assembly is required everywhere independent of the platform).
Anyway the fact that you say it is working fine on your dev machine locally and the problem is only when you deploy it, I suspect that it might be due to wrong ReportServiceUri. As noted in the documentation, it specifies the location of the report service - absolute or relative Uri. Relative Uri's are resolved to the server path of the current web page just like the web browser resolves relative Urls, so make sure that the provided path is valid for the deployed project.

Cheers
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 04 Dec 2009, 04:19 PM
Hi Chris,
   Thanks for the reply. That really helps me investigating the issue. I noticed that I did not have Telerik.Reporting.XamlRendering included, which I didn't see in the documentation (although it is very obvious that you need it for Silverlight!). Hence, I have it included in the Web project, and everything works fine now!

However, our web server has both HTTP and HTTPS, and the HTTPS one is still not working. Is there anything else I might miss?


Thanks again,
Karlkim
0
Steve
Telerik team
answered on 04 Dec 2009, 04:22 PM
Hi Karlkim,

Yes, the SSL problem is fixed in the latest internal build - I suggest you download it and give it a try.

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 04 Dec 2009, 09:41 PM
Hi Steve,
   I installed the latest internal version (3.2.9.1203), but I got the XamlParseException 

System.Windows.Markup.XamlParseException occurred
  Message="AG_E_UNKNOWN_ERROR [Line: 8 Position: 110]"
  LineNumber=8
  LinePosition=110
  StackTrace:
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at TelerikRia.Views.TelerikReport.InitializeComponent()
       at TelerikRia.Views.TelerikReport..ctor()
  InnerException: 

This is just a simple UserControl with a ReportViewer, and I didn't touch anything. It worked fine with the release Q3 version 3.2.9.1104. Do I need to update the Telerik Siverlight to the latest one as well?

Thanks,
Karlkim
0
Steve
Telerik team
answered on 09 Dec 2009, 10:12 PM
Hi Karlkim Suwanmongkol,

Are you still having problems with that upgrade? The error you have received is pretty generic for Silverlight applications and does not help us identify the issue. If you believe the problem is on our end, please prepare a sample project, zip and attach it in an official support ticket. Once we review it, we would have more info on the matter.


Greetings,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 10 Dec 2009, 12:45 AM
Hi Steve,
   I still have a problem. I also tried the Reporting Dev version with the Silverlight Dev version, but I got another error. Since we are still in the development phase, I would not worry about HTTPS version for now and roll everything back to the Release version. When we are close to the initial testing phase, we will get back on it again. Anyway, for the original problem, I would say that it has been resolved now.

Thanks for your help!
Karlkim
0
Iurie Coroban
Top achievements
Rank 1
answered on 17 Dec 2009, 12:04 PM

Hi,Telerik!
 I have the same problem. I instaled release Q3 version 3.2.9.1211. I got the same error:
Message: Unhandled Error in Silverlight Application AG_E_UNKNOWN_ERROR [Line: 13 Position: 67]   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at SilverlightApplication1.MainPage.InitializeComponent()
   at SilverlightApplication1.MainPage..ctor()
   at SilverlightApplication1.App.Application_Startup(Object sender, StartupEventArgs e)
   at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
   at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)

 

0
Mike Gardner
Top achievements
Rank 1
answered on 17 Dec 2009, 06:14 PM
We are also getting the "AG_E_UNKNOWN_ERROR" error (XAML Parse Exception)

This is happening when viewing a control that contains the silverlight reportviewer.  We've included the following telerik assemblies in the Silverlight project: Telerik.ReportViewer.Silverlight, Telerik.Windows.Controls, Telerik.Windows.Controls.Input, Telerik.Windows.Controls.Navigation (we also have Telerik.Windows.Controls.Charting, Telerik.Windows.Controls.GridView, Telerik.Windows.Controls.Scheduler, Telerik.Windows.Data, Telerik.Windows.Themes.Windows7).

The control renders fine in Blend, however when actually running the application this error is caught by the debugger.

We have version 3.2.9.1211 of the Telerik reporting controls (what I believe is the most current release)
The other assemblies are version (Telerik Silverlight) 2009.3.1103.1030 (which I believe is about a release or so back from Oct.)

Did this break with the 3.2.9.1211 build?  We've just started implementing the Silverlight ReportViewer control today so I have no reference if this was an issue prior to this.

Thanks!
0
Steve
Telerik team
answered on 18 Dec 2009, 07:43 AM
Hello Iurie Coroban,

Did your Silverlight application work prior to the upgrade and is there anything else you might have changed except the upgrade to the Q3 SP1? Did you rebuild your entire project after the upgrade? The Getting Started with Telerik Report Viewer for Silverlight video is the right place to start with and get familiar with our Silverlight implementation. Also the Telerik Reporting samples (for Visual Studio 2008) that are installed on your computer (in both C# or VB.NET versions) have a working Silverlight application that you may check as well.

If still having problems, it would be best to open an official support ticket, zip your project and attach it. Once we review it, we would be able to provide you with more info.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Iurie Coroban
Top achievements
Rank 1
answered on 18 Dec 2009, 09:33 AM
Hello, Steve!
    Yes, I have changed just dll's,and yes, i rebuild my project after upgrade!
0
Iurie Coroban
Top achievements
Rank 1
answered on 18 Dec 2009, 11:48 AM
I have resolved my problem! The problem was in version of dll's Telerik.Windows.Controls , .Input and .Navigation was 2009.3.1019.1030. I changed them on dll's of version 2009.3.1127.1030, and now it's works fine.
0
Mike Gardner
Top achievements
Rank 1
answered on 18 Dec 2009, 02:21 PM
We also have resolved our issue.

We had version 2009.3.1103.1030 of the RadControls for Silverlight.  Upon upgrading to the latest build (version 2009.3.1208) this error went away and we now can view the ReportViewer control in Silverlight.

Thanks,
Mike G.
0
Chris Gillies
Top achievements
Rank 1
answered on 18 Dec 2009, 03:44 PM
The guys from Telerik have posted a warning in the Silverlight Reportviewer documentation (http://www.telerik.com/help/reporting/silverlight-report-viewer-embedding_the_silverlight_viewer.html) that you should have RadControls for Silverlight in order to use the viewer. This does not specifically imply that you should have all assemblies from the same Q, but if you think about it, it all makes sense. Why would you want to run partially upgraded project anyway?

My 2 cents ..
0
Karlkim Suwanmongkol
Top achievements
Rank 1
answered on 22 Dec 2009, 03:30 PM
Hi all,
   Here is some update from me. I finally upgrade both Silverlight (1208) and Reporting (1211) together. And now I could use Silverlight Reporting with SSL now. 

Just in case you don't know, Telerik also adds more section in the documentation, http://www.telerik.com/help/reporting/silverlight-wcf-service-overview.html, which should help you starting.

Thanks!
Karlkim
Tags
General Discussions
Asked by
Karlkim Suwanmongkol
Top achievements
Rank 1
Answers by
Karlkim Suwanmongkol
Top achievements
Rank 1
Chris Gillies
Top achievements
Rank 1
Steve
Telerik team
Iurie Coroban
Top achievements
Rank 1
Mike Gardner
Top achievements
Rank 1
Share this question
or