创建以Microsoft .NET Remoting为基础的分布式应用架构
卢彦
http://www.microsoft.com/china/community/Column/62.mspx但是我调试不能通过,总是出现“在当前安全级别不能序列化...delegate...”问题?
谁知道为什么?

解决方案 »

  1.   

    错误信息:未处理异常:System.Security.SecurityException: 不允许类型System.DelegateSerializationHolder和从中派生的类型(例如System.DelegateSerializationHolder)在此安全级别上反序列化
      

  2.   

    工程文件夹,右键->属性->安全 中添加ASP.NET用户
      

  3.   

    哎,右键->属性->安全 中添加ASP.NET用户是在.net开发环境吗?我的是xp professional + vs 2003,
    麻烦了,多谢!!!
      

  4.   

    在windows环境下...对工程所在的文件夹进行如上操作
      

  5.   

    lkk2073(三楼楼长) ,没有啊,我是用editplus,所有的文件都在一个文件夹里,
    在xp professional里面没有"右键->属性->安全,"这个选项,倒是有一个共享,也没有用户选择啊,
    麻烦你再看看。
      

  6.   

    工程文件夹,右键->属性->安全 中添加ASP.NET用户
    有时候如果 用windows2003的时候也去缓存里面添加用户。
    如上操作
      

  7.   

    Set the TypeFilterLevel = full. If you are using a configuration file, just change
    <formatter ref="binary"/>
    to
    <formatter ref="binary" typeFilterLevel="Full" />
      

  8.   

    Locate machine.config (try C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG). 
    Open machine.config in Notepad or other text editor. 
    Search for this string: "<processmodel" 
    In the processModel element, change userName="machine" to userName="SYSTEM"   allowDefinition="MachineToApplication"
    Save the file and exit. 
    In the Run box (Start > Run) execute this command: iisreset.exe .