Hi, I'm using dotnet 1.0 and I developped a whole remoting system which was working perfectly until a few days ago, when I installed the latest Service Pack for dotnet 1.0 :
Here is the exception :
======================================================================================
It seems that the Service pack adds some security restrictions, and now I got an exception when trying to invoke a remote method on a remote object:
Unhandled Exception: System.Runtime.Serialization.SerializationException: Reques t for the permission of type System.Runtime.Remoting.ObjRef failed. ---> System. Security.SecurityException: Request failed. at System.Security.SecurityRuntime.FrameDescSetHelper(FrameSecurityDescriptor secDesc, PermissionSet demandSet, PermissionSet& alteredDemandSet) at System.Runtime.Serialization.FormatterServices.nativeGetSafeUninitializedO bject(RuntimeType type) at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject( Type type) --- End of inner exception stack trace ---
Server stack trace: at System.Runtime.Serialization.FormatterServices.GetSafeUninitializedObject( Type type) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(Pa rseRecord pr) at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRec ord pr) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryObjectWithMapTyped record) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWi thMapTyped(BinaryHeaderEnum binaryHeaderEnum) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(He aderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessag e methodCallMessage) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallM essage methodCallMessage) at System.Runtime.Remoting.Channels.CoreChannel.DeserializeBinaryRequestMessa ge(String objectUri, Stream inputStream, Boolean bStrictBinding, TypeFilterLevel securityLevel) at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage( IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders reques tHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& respon seHeaders, Stream& responseStream)
Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req Msg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa ta, Int32 type) at PowerstackCommon.IPowerstackCluster.DoYouKnowMe(IPowerstackServer s) at PowerstackServer.PowerstackServer.ClusterCheckerSub()
======================================================================================
If anyone knows how to solve that ...
Thx in advance
Sylvain
|