Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > LLBLGen Pro Runtime Framework> Error opening project file
 

Pages: 1
LLBLGen Pro Runtime Framework
Error opening project file
Page:1/1 

  Print all messages in this thread  
Poster Message
bot2600
User



Location:

Joined on:
12-Mar-2006 08:13:37
Posted:
17 posts
# Posted on: 14-Sep-2006 17:31:00.  
I am suddenly getting an error opening a project file. I first got a possible type mismatch error which the solution seemed to be to upgrade .net 1.1 to sp1 which I did. I am now getting a new error.

Binary stream does not contain a valid BinaryHeader, 0 possible causes, invalid stream or object version change between serialization and deserialization.

-----[Core exception]--------------------
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)

Any help would be greatly appreciated. I uninstalled llblgen and reinstalled the latest non 2.0 version 2005.something, sorry I dont have that available to me in this moment in time.

Thanks!
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37546 posts
# Posted on: 14-Sep-2006 21:31:08.  
Are you opening a project which was saved in v2.0 of llblgen pro in v1.0.2005.1 of llblgen pro?

Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
bot2600
User



Location:

Joined on:
12-Mar-2006 08:13:37
Posted:
17 posts
# Posted on: 15-Sep-2006 13:44:50.  
No sir. And the same project file that lives in sourcesafe can be opened by my coworkers. Thank you for the reply though.
  Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37546 posts
# Posted on: 15-Sep-2006 14:32:37.  
bot2600 wrote:
No sir. And the same project file that lives in sourcesafe can be opened by my coworkers. Thank you for the reply though.


Could you email the .lgp file you have on YOUR harddisk which fails on your machine to support AT llblgen.com ? Also if you copy the file from your harddisk onto a co-workers machine and open it there, does it generate the error there?


Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14495 posts
# Posted on: 15-Sep-2006 14:34:49.  
What's the version/release date of the Designer you are using?
(Help -> About -> Released on)
  Top
bot2600
User



Location:

Joined on:
12-Mar-2006 08:13:37
Posted:
17 posts
# Posted on: 15-Sep-2006 14:35:54.  
Actually, I am sorry for wasting your time. My coworker just 'assumed' it worked and didnt actually try it, since the last time he tried it worked fine... you know, behavior doesnt change over time Wink

Anyhow, it ends up being a sourcesafe issue, it corrupted the file and all its historical copies in the database, so I am regenning now. Glad regenning is so easy!

Bob


  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14495 posts
# Posted on: 15-Sep-2006 14:37:48.  
no problem, we are glad that your problem is solved.

Thanks.
  Top
Rhywun
User



Location:
NYC
Joined on:
05-Jan-2005 02:17:57
Posted:
44 posts
# Posted on: 18-Sep-2006 21:27:20.  
bot2600 wrote:
Binary stream does not contain a valid BinaryHeader


I'm getting a similar message:

Code:
Binary stream '110' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.


The projects I created with the July release of 2.0 won't open in the new September release. Is this expected?


Self-Servicing, LLBLGenPro v. 2.5.0.0
ORMSupportClasses.NET20.dll v. 2.5.0.0
.NET v. 2.0.50727, VS v. 8.0.50727.51
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37546 posts
# Posted on: 18-Sep-2006 21:56:02.  
No that's not expected. Your error suggests a corrupt file. You too have stored the file in sourcesafe?
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Rhywun
User



Location:
NYC
Joined on:
05-Jan-2005 02:17:57
Posted:
44 posts
# Posted on: 18-Sep-2006 22:29:30.  
No, I'm not using any kind of source control. I just tried to open a second project, also created with the July version, and I got the same error. Not a huge problem - especially with the toggle hide flag of m:n relationships plugin that saves me a huge amount of time regenerating...

Self-Servicing, LLBLGenPro v. 2.5.0.0
ORMSupportClasses.NET20.dll v. 2.5.0.0
.NET v. 2.0.50727, VS v. 8.0.50727.51
 
Top
Otis
LLBLGen Pro Team



Location:
The Hague, The Netherlands
Joined on:
17-Aug-2003 18:00:36
Posted:
37546 posts
# Posted on: 18-Sep-2006 22:36:56.  
Hmm, well it is strange though.. Dissapointed Could you mail one of the defect project files to support AT llblgen.com?
Frans Bouma
LLBLGen Pro / ORM Profiler Lead Developer | Blog | Twitter
 
Top
Rhywun
User



Location:
NYC
Joined on:
05-Jan-2005 02:17:57
Posted:
44 posts
# Posted on: 19-Sep-2006 19:30:39.  
Otis wrote:
Hmm, well it is strange though.. Dissapointed Could you mail one of the defect project files to support AT llblgen.com?



Done


Self-Servicing, LLBLGenPro v. 2.5.0.0
ORMSupportClasses.NET20.dll v. 2.5.0.0
.NET v. 2.0.50727, VS v. 8.0.50727.51
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.