November 13th, 2003, 05:37 PM
C#: XML and SecurityException
I've written my own class in C# called "xml" and its job its to handle creating a new document in XML format and then eventually using an XSL document it will convert it to XHTML. Well since "xml" is a seperate class from the form I instantiated a new "xml" object inside the form class and it compiles. I then proceeded to run the program to test it and it gives me a System.Security.SecurityException. If anyone why I would be getting this exception from the "xml" class I wrote, plz leave an answer, and if so, which part of the code the "try" and "catch"'s should be placed. If need be I can post the code of both the "xml" class and the "form" class.