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

Error in while opening a print preview dialog.

4 Answers 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ashu
Top achievements
Rank 1
Ashu asked on 05 May 2014, 09:21 AM
Hi,
I am trying to implement Print and Export with rad document as shown in http://demos.telerik.com/silverlight/#GridView/PrintAndExportWithRadDocument

I am able to implement on my local machine  and able use all functionality without any error.

But when I am trying to publish the code on my test server , its throwing error Error HRESULT E_FAIL has been returned from a call to a COM component.
Its coming when I am trying to view print preview other functionality like export and even print without preview are working as expected.

What will be cause of this error. Did I need to some modification to code in order to publish on IIS??

4 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 06 May 2014, 08:56 AM
Hello,

Currently, we are not aware of such a problem. May I ask you to try isolating the issue to a specific code. For example as you create the preview window, would you please show an empty window, without any print preview on it? If you still get the same exception, would you please try showing a different window, not RadWindow? 

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Ashu
Top achievements
Rank 1
answered on 25 May 2014, 03:32 PM
When I used same application using chrome or Firefox I don't get any error. Error was for only IE.
So finally I tried on my colleges PC where it works on IE as well. It turns out that I was using older version of IE than him.

  
0
Ashu
Top achievements
Rank 1
answered on 05 Jun 2014, 09:47 AM
Ohh This bug is started again. I can't found solution. I am using a trial version n recently its been updated n again this problems started.

Is there any issues in between different builds because its working fine when I last checked before. This is the error I am getting Error:

Unhandled Error in Silverlight Application 
Code: 4004    
Category: ManagedRuntimeError       
Message: Set property 'System.Windows.FrameworkElement.Style' threw an exception. 
0
Dimitrina
Telerik team
answered on 05 Jun 2014, 10:53 AM
Hi,

May I ask you to isolate the issue in a demo project and send it to me? 

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Ashu
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Ashu
Top achievements
Rank 1
Share this question
or