[SOLVED] Help - Possible Version mismatch

Posts   
 
    
Posts: 11
Joined: 09-Jul-2004
# Posted on: 29-Sep-2004 14:51:40   

Hi,

I can't seem to open a project file keep getting the error below. I am really stuck with this as it is stopping me carrying out any further work on the project. Any ideas.

.NET 1.1 no service pack one - it was installed but I removed it.



Message:

Possible Version mismatch. Type System.Collections.Comparer has 1 members, number of members deserialized is 0.

Stack Trace:

-----[Core exception]--------------------
   at System.Runtime.Serialization.Formatters.Binary.ReadObjectInfo.GetMemberTypes(String[] inMemberNames)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap.Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)
   at SD.LLBLGen.Pro.ApplicationCore.Project.Load(String projectPathFileName)



Any ideas?

Thanks

Gareth

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39624
Joined: 17-Aug-2003
# Posted on: 29-Sep-2004 14:53:23   

It appears that when you install SP1 it will be fixed. See this thread: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=1466

Did you had SP1 installed previously, then worked on the project, saved it and now try to load it without SP1 on your machine?

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 29-Sep-2004 14:53:28   

See - http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=1466

Hey ! Otis posted 5 seconds before me.simple_smile

Posts: 11
Joined: 09-Jul-2004
# Posted on: 29-Sep-2004 15:00:01   

Thanks for the quick replies.

Yes SP1 was installed, shall I reinstall it?

G

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39624
Joined: 17-Aug-2003
# Posted on: 29-Sep-2004 15:04:46   

Gareth wrote:

Thanks for the quick replies.

Yes SP1 was installed, shall I reinstall it?

G

It's the only way you'll be able to load it again. An LLBLGen Pro project is serialized using the binary formatter to a file. If you use a different framework now which has a lower version number, the .net deserializer can't find the assembly required and gives up.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 11
Joined: 09-Jul-2004
# Posted on: 29-Sep-2004 15:25:53   

All working now.