I have a webservice where I send XML from LLBL Objects to my software application running the same object. When I try to read the xml from the webservice I am getting a assembly error.
Everything I use locally works fine. It only happens when I read in the xml from the webservice into the same type of object.
Here is the error.
System.IO.FileLoadException: Could not load file or assembly 'CREToolkit.data, Version=1.0.2554.25643, Culture=neutral, PublicKeyToken=51cd9e2929375209' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'CREToolkit.data, Version=1.0.2554.25643, Culture=neutral, PublicKeyToken=51cd9e2929375209'
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase21.Xml2EntityCollection(XmlNode node, Dictionary
2 processedObjectIDs, List1 nodeEntityReferences)
at SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase2
1.ReadXml(XmlNode node)
at SD.LLBLGen.Pro.ORMSupportClasses.EntityCollectionBase2`1.ReadXml(String xmlData)
at CreToolkit.UIWebRetailBuyers.LoadWorker_DoWork(Object sender, DoWorkEventArgs e) in C:\Documents and Settings\Thomas Belknap\My Documents\Visual Studio 2005\Projects\CreToolkit\UserControls\Websites\UIWebRetailBuyers.vb:line 145
=== Pre-bind state information ===
LOG: User = SBSOLUTIONS\Thomas Belknap
LOG: DisplayName = CREToolkit.data, Version=1.0.2554.25643, Culture=neutral, PublicKeyToken=51cd9e2929375209
(Fully-specified)
LOG: Appbase = file
//C
Documents and Settings/Thomas Belknap/My Documents/Visual Studio 2005/Projects/ProfitTigerPro/ProfitTigerPro/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : SD.LLBLGen.Pro.ORMSupportClasses.NET20, Version=2.0.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27.
LOG: This bind starts in default load context.
LOG: No application configuration file found.
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: CREToolkit.data, Version=1.0.2554.25643, Culture=neutral, PublicKeyToken=51cd9e2929375209
LOG: Attempting download of new URL file
//C
Documents and Settings/Thomas Belknap/My Documents/Visual Studio 2005/Projects/ProfitTigerPro/ProfitTigerPro/bin/Debug/CREToolkit.data.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
Thanks,
Tom