| | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: Yesterday @ 6:19:07 PM Posts: 106, Visits: 398 |
| | 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 . 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
|
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: Yesterday @ 6:19:07 PM Posts: 106, Visits: 398 |
| 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 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. |
| | | | StrataFrame User
       
Group: StrataFrame Users Last Login: Today @ 3:01:08 PM Posts: 305, Visits: 1,198 |
| 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 
Edhy RijoProgytech (Computer Consultants) |
| | | | 
StrataFrame Novice
       
Group: StrataFrame Users Last Login: Yesterday @ 6:19:07 PM Posts: 106, Visits: 398 |
| 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. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 1:38:37 PM Posts: 3,775, Visits: 3,950 |
| 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. |
| |
|
|