When I am running Remoting.Callback sample,
I am receiving exception:
[thread 0x83c] Unhandled exception generated: (0x04ac4ea8) <System.Security.SecurityException>
permissionType=<null>
permissionState=<null>
grantedSet=<null>
refusedSet=<null>
_className=(0x04ac50b8) "System.Security.SecurityException"
_exceptionMethod=<null>
_exceptionMethodString=(0x04ac9030) "8 CheckTypeSecurity mscorlib, Version=1.0
.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Runtime.Seriali
zation.FormatterServices Void CheckTypeSecurity(System.Type, System.Runtime.Seri
alization.Formatters.TypeFilterLevel)"
_message=(0x04ac3104) "Type System.DelegateSerializationHolder and the types d
erived from it (such as System.DelegateSerializationHolder) are not permitted to
be deserialized at this security level."
_innerException=<null>
_helpURL=<null>
_stackTrace=(0x04acb02c) array with dims=[48]
_stackTraceString=<null>
_remoteStackTraceString=(0x04aca564) "
Server stack trace:
at System.Runtime.Serialization.FormatterServices.Che ckTypeSecurity(Type t, T
ypeFilterLevel securityLevel)
at System.Runtime.Serialization.Formatters.Soap.Objec tReader.CheckSecurity(Pa
rseRecord
pr)
at System.Runtime.Serialization.Formatters.Soap.Objec tReader.ParseObject(Pars
eRecord
pr)
at System.Runtime.Serialization.Formatters.Soap.Objec tReader.Parse(ParseRecor
d
pr)
at System.Runtime.Serialization.Formatters.Soap.SoapH andler.StartChildren()
at System.Runtime.Serialization.Formatters.Soap.SoapP arser.ParseXml()
at System.Runtime.Serialization.Formatters.Soap.SoapP arser.Run()
at System.Runtime.Serialization.Formatters.Soap.Objec tReader.Deserialize(Head
erHandler handler, ISerParser serParser)
at System.Runtime.Serialization.Formatters.Soap.SoapF ormatter.Deserialize(Str
eam serializationStream, HeaderHandler handler)
at System.Runtime.Remoting.Channels.CoreChannel.Deser ializeSoapRequestMessage
(Stream inputStream, Header[] h, Boolean bStrictBinding, TypeFilterLevel securit
yLevel)
at System.Runtime.Remoting.Channels.SoapServerFormatt erSink.ProcessMessage(IS
erverChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestH
eaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& response
Headers, Stream& responseStream)
Exception rethrown at [0]:
"
_remoteStackIndex=0x00000001
_HResult=0x8013150a
_source=(0x04ac94e4) "mscorlib"
_xptrs=0x00000000
_xcode=0x00000000
What is wrong with my configuration???
Thank you in advance,
Mikhail