XmlSerializer XmlAttributeOverrides Security Exception
- From: "Joe Reiss" <joereiss@xxxxxxxxxxxxx>
- Date: Wed, 7 Nov 2007 15:32:30 -0500
I'm serializing data from a SQL table to a XML file:
on the line:
XmlSerializer x = new XmlSerializer(typeof(List<y>),o);
where o is a XmlAttributesOverrides object
I get
The action that failed was: Demand The type of the first permission that
failed was: System.Security.PermissionSet The Zone of the assembly that
failed was: MyComputer
on the hosted server. The above runs fine on my local development machine.
Also, if I don't use the 'o' Overide object it works well on the Hosted
server. Would I need some kind of elevated permission to do this on a
typical shared hosted server?
thanx,
joe
.
- Prev by Date: Can groups be entered in the authorization tab?
- Next by Date: Anonymous and Windows Authentication
- Previous by thread: Can groups be entered in the authorization tab?
- Next by thread: Anonymous and Windows Authentication
- Index(es):