dethomps
2006-09-26 14:31:02 UTC
Hi,
I've encountered a problem with a cross-firewall Remoting application which
uses a BinaryFormatter. The application was built with Framework 1.1 and
works fine when accessed from 1.1 applications, but throws the following
exception when accessed from a framework 2.0 application:
Error Source :mscorlib
Error Stack Trace :
Server stack trace:
at System.Runtime.Remoting.Channels.Tcp.TcpReadingStream.Flush()
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at DMZSender.DMZSenderLib.GetDataView(String SQL, String tableName,
String[] aliasArgs)
at COL.Security.SecurityManager.GetDataView(String sql, String tableName,
String[] aliasArgs)
at TestTiming.WebForm1.Page_Load(Object sender, EventArgs e)
Error TargetSite :Void
HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage,
System.Runtime.Remoting.Messaging.
Any suggestions are appreciated.
I've encountered a problem with a cross-firewall Remoting application which
uses a BinaryFormatter. The application was built with Framework 1.1 and
works fine when accessed from 1.1 applications, but throws the following
exception when accessed from a framework 2.0 application:
Error Source :mscorlib
Error Stack Trace :
Server stack trace:
at System.Runtime.Remoting.Channels.Tcp.TcpReadingStream.Flush()
at System.Security.Cryptography.CryptoStream.FlushFinalBlock()
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at
System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage(IMessage msg)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at DMZSender.DMZSenderLib.GetDataView(String SQL, String tableName,
String[] aliasArgs)
at COL.Security.SecurityManager.GetDataView(String sql, String tableName,
String[] aliasArgs)
at TestTiming.WebForm1.Page_Load(Object sender, EventArgs e)
Error TargetSite :Void
HandleReturnMessage(System.Runtime.Remoting.Messaging.IMessage,
System.Runtime.Remoting.Messaging.
Any suggestions are appreciated.