v1.0.2005.1 Install problem

Posts   
 
    
Stoop
User
Posts: 66
Joined: 28-Feb-2004
# Posted on: 10-Mar-2006 16:26:37   

Hello

I just downloaded the v1.0.2005.1. I uninstalled the latest version (Ibelieve it was from January) and tried to install the v1.0.2005.1. After executing the LLBLGenPro.msi, I get a message box saying:

This setup requires the .NET Framework version 1.1.4322. Please install the .NET Framework and run this setup again. The .NET Framework can be obtained from the web. Would you like to do this now?

If I click no, the installation quits. I have .NET framework 2.0 installed as I'm using Visual Studio 2005...

Help! I'm without LLGen because I uninstalled the older version first (as I have everytime I have upgraded)..

Stoop

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 10-Mar-2006 16:39:13   

Please install the .NET 1.1 framework. The designer v1.0.2005.1 is build for .NET 1.1. You can run it on .NET 2.0, but the installer checks for .NET 1.1 only. You can safely install .NET 1.1 side by side .NET 2.0.

Frans Bouma | Lead developer LLBLGen Pro
Stoop
User
Posts: 66
Joined: 28-Feb-2004
# Posted on: 10-Mar-2006 19:30:07   

Thank you Otis for your quick reply!

Will this issue be resolved in future installers? What I mean is that if the installer will check for .Net Framework 2.0 also, then I could have just installed normally, no problem. Or at the very least but a note in red in the download page saying you have to have framework 1.1 installed for the installation to work..

After installing Visual Studio 2005 and Framework 2.0, I unistalled Framework 1.1, because I didn't think I would need it. Now I need it just to install LLGEN because the installer checks for the 1.1 version. Other than needing it just to get the installation working, it is wasted disc space..

I'm sure I can't be the only one that only has 2.0 framework on thier computer now, and probably more and more poeple as time goes by will only have 2.0 on thier machines..

Steve

PS In the dialog box that the installer shows asking if I want to install from the web - this points to the 2.0 Framwork download page!!!!

Stoop
User
Posts: 66
Joined: 28-Feb-2004
# Posted on: 10-Mar-2006 20:24:25   

AAAAARGRG!!!! I just downloaded and installed the .NET Framework 1.1.4322. The LLGEN installation proceeded as normal.

However, I tried to open up my project and I got a fatal error now!!! The error is this:

Message:

Ticks must be between DateTime.MinValue.Ticks and DateTime.MaxValue.Ticks. Parameter name: ticks

Stack trace:

-----[Core exception]-------------------- at System.DateTime..ctor(Int64 ticks) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadDateTime() at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadValue(InternalPrimitiveTypeE code) at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadMemberPrimitiveUnTyped() 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) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.OpenExistingProject(String filenameToOpen)

Source: mscorlib

I tried opening a different project and got this fatal error:

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) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.OpenExistingProject(String filenameToOpen)

Source:

mscorlib

What is going on???????????? I never had any problems before updating versions of LLGEN.

Please - I need a solution. My work depends on LLGEN. I gotta get up and running ASAP!!!!!

Steve

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 10-Mar-2006 20:39:43   

Ok, take a deep breath simple_smile

you normally work on .NET 2.0. By default, the designer works on .NET 1.1. You've to specify that the designer has to run on .NET 2.0. So you do the following: - open the llblgenpro.exe.config file, and remove the line <supportedRuntime version="v1.1.4322"/>. That file is in the llblgen pro installation folder. - save

  • run designer, load project, proceed as normal simple_smile

Because that line is present (normal procedure), .NET 1.1 will be used to run the designer on.

You could opt for making that file readonly afterwards, so it's not removed during deinstallation.

Frans Bouma | Lead developer LLBLGen Pro
Stoop
User
Posts: 66
Joined: 28-Feb-2004
# Posted on: 10-Mar-2006 21:04:51   

Thank you thank you thank you! Your workaround did the trick. All is fine now. I can now relax this weekend. In fact, I just popped a cold brew to start! HA! HA!

Please tell me, though, that I won't have to deal with this in the future.. Maybe for next update providing 2 installers to download: 1 for .Net Framework 1.1 people, and another for those of us already working on 2.0... ????

In any case, I'm happy to be back up and running.. Steve

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 11-Mar-2006 13:27:31   

Stoop wrote:

Thank you thank you thank you! Your workaround did the trick. All is fine now. I can now relax this weekend. In fact, I just popped a cold brew to start! HA! HA!

Please tell me, though, that I won't have to deal with this in the future.. Maybe for next update providing 2 installers to download: 1 for .Net Framework 1.1 people, and another for those of us already working on 2.0... ????

In any case, I'm happy to be back up and running.. Steve

2 installers for 1 line in a config file, I think that's a bit too much. The main thing is that it requires manual intervention to make the designer run on the .NET 2.0 framework: uninstalling .NET 1.1 or manually changing that line in the .config file.

To prevent the config file from being removed during uninstallation, make it readonly in the folder, or copy it to a backup folder. This is till v2 is released which runs only on .NET 2.0, and is expected in a few months.

But I'm glad you're up and running again simple_smile Time is better spend on beer than on failing deserialization code wink

Frans Bouma | Lead developer LLBLGen Pro
bmoeskau
User
Posts: 54
Joined: 15-Jun-2005
# Posted on: 04-May-2006 08:26:23   

Otis, I'm having this same problem.

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

However, I do not even have .NET 2.0 installed, only 1.1. I just changed to a new computer and pulled all of my projects down from VSS. I installed the newest version of LLBL that I just downloaded earlier today and tried to open my existing .lgp file that we've been using forever, but am getting this error and cannot proceed. I even commented out the supportedRuntime version="v2.0.50727" line in the llbl config but that didn't help.

I'm assuming that maybe it's a version problem with an old runtime library assembly somewhere in the path of the .lgp file, but I'm not sure how to diagnose this.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 04-May-2006 08:37:43   

That's the .NET 1.1 SP1 problem. Install .NET 1.1 SP1 simple_smile

Frans Bouma | Lead developer LLBLGen Pro
bmoeskau
User
Posts: 54
Joined: 15-Jun-2005
# Posted on: 04-May-2006 08:58:07   

I should have read past the first search result before posting, since I found the answer right after writing wink My bad. Like I said on the other thread, there are too many things to remember when rebuilding a dev machine. I'm writing it down this time... simple_smile Thanks!