tags:

views:

19

answers:

1

I have a .NET (v4) application running as a Windows Service. I also have an ASP.NET web site (also v4) that makes calls to the service using remoting. This has worked with .NET3.5 and 2 for a while but in .NET4 some functionality is failing due to some security constraints.

I keep getting an error: 'System.Security.SecurityException: Request failed.' Below, for example, there's some problem deserializing and reflecting properties of DataSet (DataSetCV in the stack trace derives from DataSet).

Any ideas about this?

System.Security.SecurityException: Request failed. at System.ComponentModel.ReflectPropertyDescriptor.SetValue(Object component, Object value) at System.Data.XSDSchema.SetProperties(Object instance, XmlAttribute[] attrs) at System.Data.XSDSchema.HandleDataSet(XmlSchemaElement node, Boolean isNewDataSet) at System.Data.XSDSchema.LoadSchema(XmlSchemaSet schemaSet, DataSet ds) at System.Data.DataSet.ReadXSDSchema(XmlReader reader, Boolean denyResolving) at System.Data.DataSet.ReadXmlSchema(XmlReader reader, Boolean denyResolving) at System.Data.DataSet.DeserializeDataSetSchema(SerializationInfo info, StreamingContext context, SerializationFormat remotingFormat, SchemaSerializationMode schemaSerializationMode) at System.Data.DataSet..ctor(SerializationInfo info, StreamingContext context, Boolean ConstructSchema) at System.Data.DataSet..ctor(SerializationInfo info, StreamingContext context) at DataSetCV..ctor(SerializationInfo info, StreamingContext context) in C:\Source\trunk\application\DataSetCV.cs:line 335

A: 

Did you find a solution for this? I am working exactly on the same context (asp.net - remoting - windows service) but the problem is occurring some calls, not all of them...

Thanks in advance.

Johann