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

ExportToRTF Crashes...

3 Answers 44 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 21 Nov 2011, 08:45 PM
I am trying to use the ExportToRTF() method and I get the following error:

A critical error has occurred. The type or namespace name 'SecurityRulesAttribute' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)

Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Nov 2011, 05:29 AM
Hello Ben,

The following demo shows the RTF exporting functionality.
Editor / Import Export to RTF.

Thanks,
Princy.
0
Ben
Top achievements
Rank 1
answered on 22 Nov 2011, 07:49 PM
Princy,

Thanks for the input, however I know that. I already saw this sample and used it as a reference for my own work.  However, the error still persists.
0
Rumen
Telerik team
answered on 24 Nov 2011, 12:28 PM
Hello Ben,

I am not aware of this error but this forum thread which discusses this generic ASP.NET error could be helpful: Strange exception with .NET 4 - 'SecurityRulesAttribute' does not exist in the namespace 'System.Security'.

If the problem still persists, please isolate it in a sample working project and send it for examination by opening a support ticket.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Ben
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Ben
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or