|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XmlSerializer : CS0647 Compilation ErrorHi,
I am having problems using the XmlSerializer from within a signed assembly. I have narrowed down the problem to a compilation error (CS0647) occuring when .NET tries to compile code generated by the XmlSerializer. The JIT compiler gives an error when trying to process the following attribute: - [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.LinkDemand, Name="FullTrust")]. To make matters worse, this problem is intermittent. I have seen various postings around the web which seem to indicate that other people have experienced this same issue. Can anybody help me with this? Any assistance will be greatly appreciated! -- Ian Armitage You might want to take a look at the thread at
http://groups.google.com/group/microsoft.public.dotnet.security/browse_frm/thread/8529c05b26be4d30. If the machines on which this problem occurs have SP1 installed, could you please post a small code sample that demonstrates the problem? Show quoteHide quote "Ian Armitage" <IanArmit***@discussions.microsoft.com> wrote in message news:46787A57-0F0F-43EA-BF1C-A67F1995D1B2@microsoft.com... > Hi, > > I am having problems using the XmlSerializer from within a signed > assembly. > > I have narrowed down the problem to a compilation error (CS0647) occuring > when .NET tries to compile code generated by the XmlSerializer. The JIT > compiler gives an error when trying to process the following attribute: - > [System.Security.Permissions.PermissionSet(System.Security.Permissions.SecurityAction.LinkDemand, > Name="FullTrust")]. > > To make matters worse, this problem is intermittent. I have seen various > postings around the web which seem to indicate that other people have > experienced this same issue. > > Can anybody help me with this? Any assistance will be greatly > appreciated! > > -- > Ian Armitage
ASP.NET form-based authentication help
StreamWriter causes SecurityException when attempting to write to network drive..need help Sandboxing AppDomain windows forms UserControl compiled with beta 2 doesn't work with IE VS2005 - X509 key not loaded correctly for FTPS server authentication ? Enabling Forms Authentication Stops Button Click Events Does preJIT protect the assemblies? Best Practice for ASP.NET access to SQL Server Communicating between ASP.NET and SQL Server on separate servers authentication hangs after security patch |
|||||||||||||||||||||||