Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 11th, 2003, 04:02 PM
Registered User
 
Join Date: Jul 2003
Location: , , .
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 09:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.