HighTechTalks DotNet Forums  

XmlSerializer XmlAttributeOverrides Security Exception

ASP.net Security microsoft.public.dotnet.framework.aspnet.security


Discuss XmlSerializer XmlAttributeOverrides Security Exception in the ASP.net Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Joe Reiss
 
Posts: n/a

Default XmlSerializer XmlAttributeOverrides Security Exception - 11-07-2007 , 02:32 PM






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



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.