p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Wrox Book Feedback (http://p2p.wrox.com/forumdisplay.php?f=55)
-   -   Smart client in .Net Enterprise Development in C# (http://p2p.wrox.com/showthread.php?t=9450)

bookworm_zju February 17th, 2004 06:12 AM

Smart client in .Net Enterprise Development in C#
 
In the chapter 10, the author give us a simple of Smart client. The simple run ok. But, the "Application Browser" project refrence to the "BookmanagerObjects.dll". I think, as a smart client, the application browser can't reference to this dll. When this dll was deleted from the directory "Applicationbrowser.exe" located, an error occured like the following:
"System.Runtime.Serialization.SerializationExcepti on:Can not find BookManagerObjects, Version=1.0.1508.29531, Culture=neutral, PublicKeyToken=null¡£\r\n\nServer stack trace: \n at System.Runtime.Serialization.Formatters.Binary.Bin aryAssemblyInfo.GetAssembly()\r\n at System.Runtime.Serialization.Formatters.Binary.Obj ectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)\r\n at System.Runtime.Serialization.Formatters.Binary.Obj ectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)\r\n at System.Runtime.Serialization.Formatters.Binary.Obj ectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)\r\n at System.Runtime.Serialization.Formatters.Binary.__B inaryParser.ReadObjectWithMapTyped(BinaryObjectWit hMapTyped record)\r\n at System.Runtime.Serialization.Formatters.Binary.__B inaryParser.ReadObjectWithMapTyped(BinaryHeaderEnu m binaryHeaderEnum)\r\n at System.Runtime.Serialization.Formatters.Binary.__B inaryParser.Run()\r\n at System.Runtime.Serialization.Formatters.Binary.Obj ectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage methodCallMessage)\r\n at System.Runtime.Serialization.Formatters.Binary.Bin aryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)\r\n at System.Runtime.Serialization.Formatters.Binary.Bin aryFormatter.UnsafeDeserializeMethodResponse(Strea m serializationStream, HeaderHandler handler, IMethodCallMessage methodCallMessage)\r\n at System.Runtime.Remoting.Channels.CoreChannel.Deser ializeBinaryResponseMessage(Stream inputStream, IMethodCallMessage reqMsg, Boolean bStrictBinding)\r\n at System.Runtime.Remoting.Channels.BinaryClientForma tterSink.DeserializeMessage(IMethodCallMessage mcm, ITransportHeaders headers, Stream stream)\r\n at System.Runtime.Remoting.Channels.BinaryClientForma tterSink.SyncProcessMessage(IMessage msg)\n\nException rethrown at [0]: \n at System.Runtime.Remoting.Proxies.RealProxy.HandleRe turnMessage(IMessage reqMsg, IMessage retMsg)\r\n at System.Runtime.Remoting.Proxies.RealProxy.PrivateI nvoke(MessageData& msgData, Int32 type)\r\n at BookManagerObjects.CustomerService.FindCustomers(S tring searchFor)\r\n at BookManagerObjects.Customer.FindCustomers(String searchFor)\r\n at CustomerEditor.CustomerEditor.buttonSearch_Click(O bject sender, EventArgs e)"



All times are GMT -4. The time now is 04:11 AM.

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