Have trashed my 1.66 install and need to reinstall clean


Author
Message
Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)
Group: Forum Members
Posts: 524, Visits: 30K
Hi guys –

 I did a baaad thing.  Decided to unpack the source code just to see what was under the hood.

Opened the project in VS 2008   - very interesting.  I may have hit build at some point early in – though I don’t believe I had changed anything.

 Close VS

 Now any attempt to open VS blows up as it tries to load SF   .Crying

 Tried reinstalling 1.66 twice.  Modify and repair.  Didn’t get any errors until I say yes to open samples console after install

 FileNotFoundException

  Could not load file or assembly 'MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7' or one of its dependencies. The system cannot find the file specified.

Source     : SFSampleConsole
Stack Trace:
   at SFSampleConsole.AppMain.InitApplication(InitializingApplicationEventArgs e)
   at MicroFour.StrataFrame.Application.StrataFrameApplication.Raise_InitializingApplication(InitializingApplicationEventArgs e)
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()
   at SFSampleConsole.AppMain.Main()
 

Completely uninstall and reinstalled – same error

Obviously I made it mad and somehow trashed the business assembly and it is not being overwritten on a reinstall.

Guidance for this .NET idiot greatly appreciated

See you in Amarillo this summer – hope to be slightly less clueless by then – and a *lot* less clueless afterward …

Charles

Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)
Group: Forum Members
Posts: 524, Visits: 30K
One of the things I've always liked about programming is you often learn more from your mistakes than your successes.  This plays to my strength Smile  i.e. making a lot of mistakes

I think I'm back up.  I noticed that after "uninstalling" I still had all my Microfour assemblies in the GAC and it seemed the Microfour folder in program files was untouched.  Renamed that folder (the license folder comes in handy later), uninstalled everything in Windows\assembly that said Microfour and ran install again.  (reinstalled SQL databases as well in case I had corrupted that somehow)  copied the license folder into the new Microfour\Strataframe folder, told the license registration wizard where to find the license dll and I seem to be back to a clean SF install.

I had figured out how to screw up Foxpro and visual fox express in every conceivable way and there were no more worlds to conquer.  Nice to be in a new environment with so much new possiblity for "learning". 

Maybe this will benefit somebody behind me on the learning curve.

Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Charles R Hankey (04/26/2008)
I had figured out how to screw up Foxpro and visual fox express in every conceivable way and there were no more worlds to conquer.  Nice to be in a new environment with so much new possibility for "learning".

Hi Charles,

The same thing happened to me the other day, and had to do exactly the same thing.  I don't know how to properly use the source code yet, specially when you open up one of its projects and it does requires a rebuild in order to open properly and VS will auto-register the assemblies in the GAC when doing a build and this will crash your current SF projects because the assemblies will not be the same.  Maybe there is a flag in VS to disable this for the SF source code project BigGrin

Edhy Rijo

Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)Advanced StrataFrame User (928 reputation)
Group: Forum Members
Posts: 524, Visits: 30K
You describe exactly what happened.  I thought I was just opening the source to study the code.  Maybe I could  have copied it to another location and studied it form there without those results but I think this time I'll wait until Microfour tells me the right way to do it. Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
We cover this the first day in the training class.  How to build the SF source and use it to debug, etc.  The bottom line is that you just had the GAC and the Common Files\MicroFour\StrataFrame out of sync....and sometimes you have to get out of VS and come back in before all is well.  But since you are both coming to class it will all make more sense once you see it in person I am sure. Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search