StrataFrame Forum

StrataFrame problems after upgrading to Windows 7

http://forum.strataframe.net/Topic27070.aspx

By Michael Beane - 5/4/2010

I recently upgraded to Windows 7. Now when I start VS 2008 there is an immediate dialog with error messages about StrataFrame. Sorry I do not have a screen shot -- it is on the computer at home. Since I also installed VS 2010, I want to unlock my license key from VS 2008. However, I cannot complete that dialog, probably because SF did not instantiate correctly.



What do I need to do to unlock the license key and reinstall SF in VS 2010?
By Edhy Rijo - 5/4/2010

Hi Michael,

You have to run VS as an Administrator.  Right click the VS shortcut and select "Run as Administrator" or if you want to have this permanent, in the shortcut Compatibility tab select "Run this program as an administrator" that should do it.

By Charles R Hankey - 5/4/2010

I might also be necessary to do that with the SF stuff in Program Files\Microfour as well. ( I think I had to do it with the DDT) since you can't specifically run the SF stuff from the VS menu as admin and I'm not sure that gets passed along since the DDT ( and maybe BO mapper ) seem to run out-of-process.



Anyway, I found i had to right click on them in \Microfour as Edhy describes and on the Compatibility tab check run as administrator.



( incidentally, since I did that when I installed the 1.707 the Run as Admin was still checked after the upgrade )








By Charles R Hankey - 5/4/2010

Hey Mike !



Answered before I realized it was you. BigGrin ( not that I wouldn't have answered had I known )



For benefit of other SF'ers - Mike Beane is a very long-time Foxpro developer who was an MVP when I was cutting my teeth on Foxpro. Get this guy totally hooked on SF and you'll find he's a very helpful member of the community.



Welcome to SF, Mike.


By Michael Beane - 5/4/2010

I know VS 2008 was running as administrator under Weesta. Maybe that got lost when I upgraded to Windows 7. I will check it tonight. Thanks!
By Michael Beane - 5/4/2010

Thanks, Charles. I hope you aren't causing trouble over here, too Smile
By Greg McGuffey - 5/4/2010

Oh, he is! We call him "Charlie Trouble".... Wink



(actually I just made that up Blink )
By Trent L. Taylor - 5/4/2010

Welcome to the forums, Michael. It appears that you know Charles well Wink
By Michael Beane - 5/4/2010

Still no luck. I checked Run As Administrator in the Compatibility tab of the VS 2008 shortcut. Also went into Windows Explorer and gave myself full control in the Security tab for the entire \Proigram Files\MicroFour folder structure. Got the same error dialog as before on VS launch:



Exception

An error occurred while configuring the StrataFrame design-time data sources.

FileNotFoundException

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



Source :



Stack Trace:

at MicroFour.StrataFrame.Data.ConnectionManager.SetConnections()

at MicroFour.StrataFrame.AddIns.AddInManager.ᜃ()
By Charles R Hankey - 5/4/2010

If the issue is SF, you need to go into Program Files\Microfour\Strataframe and set the Compatiblity\Run as Admin for Activate.exe, DatabaseDTK.exe



I thnk it is your Activate.exe that is choking. You can also find it on the Start menu, but I think setting it directly on the executable works best.


By Bill Cunnien - 5/5/2010

Hmmm...a FileNotFoundException



Have you confirmed that the SF assemblies are all intact? The one referenced is the MicroFour StrataFrame Base.dll. Make sure that it exists and that there are not duplicate copies floating around.



Bill
By Michael Beane - 5/5/2010

Still no joy. I tried the things you and Bill suggested. Activate.exe and DatabaseDTK.exe both blow up when run standalone and VS 2008 still chokes on StrataFrame when starting. I also verified that Base.dll exists.



What I would really like to do is get my license key back, uninstall SF and VS 2008 (2010 is already installed), and then reinstall SF. Something about upgrading to Windows 7 crippled it. It was working fine before. Do you know of any way to get the key back without running the deactivate-on-this-machine process?
By Edhy Rijo - 5/5/2010

Michael Beane (05/05/2010)
Do you know of any way to get the key back without running the deactivate-on-this-machine process?




Michael, you can always deactivate from the "My Account" page in SF site, but in this case you may no have to since the activation is based on your network card mac address and that have not changed in your computer, so go ahead and try VS2010 which for the record is what I am using now and working fine Win7 64bit Ultimate and VS2010.
By Charles R Hankey - 5/5/2010

Mike



Did you do what I suggested re activate.exe ? Giving yourself full sec permissions is not the same as setting the exe to always run as admin.



I struggled with the same stuff you're talking about, but once you get everything running as admin you should be able to run the activate ( from start with VS closed )


By Michael Beane - 5/5/2010

That worked, and it's exactly what I wanted to do. Thanks!
By Michael Beane - 5/5/2010

Yes, I understand the difference. Just could not get it to work for some reason. I upgraded from Vista Ultimate to Win7 Ultimate. If you installed it fresh maybe something was different. IAC Edhy's suggestion of deactivating online was exactly what I wanted. Now I can reinstall SF in VS 2010.
By Charles R Hankey - 5/5/2010

FYI, if you have both VS2008 and VS2010 on the same box SF install will set you up in both of them.



But be sure that you build the source code in VS2008 ( in debug mode ). You will still be able to step into it in VS2010. ( once you figure out how to go into options and set the Enable .NET source stepping and get rid of Just my Code )


By Michael Beane - 5/6/2010

I have no reason to hang onto VS 2008 and am going to go with just 2010.



Actually what I really need to do is migrate from one of my two main computers to the other. I have been going through all this trouble on the workhorse, which has been accumulating detritus for years. MSI installs and uninstalls have become particularly problematic. Last night the uninstall of VS 2008 aborted near the end. I had to delete the remaining files and registry entries by hand. Also, when I reinstalled StrataFrame, it did not create an SF menu pad in VS 2010. Isn't it still supposed to do that.



I used to use a handy dandy little tool from Microsoft called MSI Clean Up Uninstall, but it doesn't seem to work in Windows 7.



The box I plan to migrate to is practically a newborn. About all it has on it is Windows 7, SQL Server 2008, and VS 2010. The other issue is the hard drive on the main computer is only 160 GB, only about 30 GB free. It's time to make that one the spare and the other one the workhorse. All it will take is some time and a new video card to accommodate dual monitors.
By Charles R Hankey - 5/6/2010

(see my answer on UT)



If the old "workhorse" has a 160gb drive it may not even be SATA ( i.e. still uses ribbon cable and old power connector ) Not good.



If the new box is SATA ( two wire cable, each plugging into MB, power connector has a size step down adaptor ) use that one.



Almost all new drives you can buy are SATA.
By Michael Beane - 5/9/2010

There still seems to be something funky going on. Even on a clean machine with VS 2010 newly installed, StrataFrame does not install itself as a menu bar in VS. ReSharper did so without a hitch, just like it used to do in VS 2008. Does SF no longer do this? Is there a new version in the pipeline that will integrate seamlessly with VS 2010?
By Charles R Hankey - 5/9/2010

The current downloadable intall 1.707 will install in both 2008 and 2010 on one install. The previous verson - 1.706 will not.



AFAIK it won't install on the free versions of VS but other wise there shouldn't be a problem. If both VS are installed , reinstall SF, and you will see a point in the install where it specifically will tell you it will install on both.



You need to do the install with VS closed.



After installing SF you should be able to open vs2010 and see Strataframe on tne menubar.



On that menu is the choice to add SF controls to the toolbox.


By Michael Beane - 5/9/2010

I'll try it again. Not sure why it's been so difficult on a clean box.



VS was not running.


By Charles R Hankey - 5/9/2010

I don't know what happens if you install on a box with only VS2010. I would think it would still work but I haven't tested it and wouldn't be surprised if no one else has either. Smile




By Michael Beane - 5/10/2010

Uh, 1.7.07? Maybe that's it. I don't see a download after 1.7.06. It wouldn't surprise me if it addresses the Windows 7 issues.
By Charles R Hankey - 5/10/2010

1.707 is required.



http://forum.strataframe.net/Topic26680-22-1.aspx



Should be in your downloads area. May show up as Beta.


By Michael Beane - 5/11/2010

Charles, you are a gentleman and a scholar. (Note to others: he really is a scholar. Charles knows more about history than anyone I know). That did the trick. StrataFrame is now installed as a menu pad in VS 2010, happy as a clam. Thanks for hanging in there with me.



Hopefully this version will make it out of beta soon, or at least an announcement on the home page that it is needed for Windows 7 and/or VS 2010. Surely I am not the only one who wants to use the product with the latest versions of Windows and Visual Studio.
By Michael Beane - 5/14/2010

BTW, I told you Shaq would kill the Cavs. I just thought it would be a round later.
By Charles R Hankey - 5/14/2010

I'm afraid killing the Cavs was a team effort - and required a lot of coaching. Expect Mike Brown to be gone within 2 weeks. I hope Lebron isn't going away as well, but he's earned the right to do whatever he wants.



And as a "fan" I adhere to the motto "Don't cry for the millionaires." Wink