Wrox Programmer Forums
|
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2003, 04:02 PM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remoting.Callback sample

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






Similar Threads
Thread Thread Starter Forum Replies Last Post
Remoting Callback problem downboat BOOK: Professional C#, 2nd and 3rd Editions 2 June 8th, 2011 02:13 AM
callback implementation aranjan ASP.NET 2.0 Basics 1 August 20th, 2007 09:46 PM
Callback in 3 DropDownLists Paula222 ASP.NET 2.0 Professional 3 December 13th, 2006 08:53 AM
Remoting Callback Error maheshgv All Other Wrox Books 1 December 5th, 2005 03:33 PM
Worldpay Callback Script Countach1976 PHP Databases 3 January 1st, 2005 10:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.