StrataFrame Forum

URGENT: Cannot activate license

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

By Greg McGuffey - 5/7/2008

I'm attempting to install and activate SF on terminal server (windows 2003). The program bombs immediately. I deactivated my license(s) before attempting this (my dev machine and my backup dev machine both took a dive). See attached error dialog...
By Trent L. Taylor - 5/7/2008

That could come from like 1000 different places and is definitely not much to go on in this case.  This is the message that appears when assemblies can't be found, .NET isn't loadedm etc.  In this case it looks like .NET is OK since it pulled back icon.  But I don't think that TS is the issue as I know we have a number of shops that run on TS machines...it could be a factor for sure, but SF will work on a TS machine.

You have any more clues you could throw my way? Smile

By Greg McGuffey - 5/7/2008

Uh...no. Click on license activation and I get this message pretty much instantly. Any place else to look...log files?
By Greg McGuffey - 5/7/2008

Spoke too soon. I tried to debug it and I'm getting a file not found exception. SF UI assembly (or one of its dependencies).



First time SF has ever been installed on this machine.
By Greg McGuffey - 5/7/2008

There were no Microfour assemblies in the GAC. I tried a repair...no joy. I then just manually added the SF assemblies to the GAC. The license activation then worked and I'm good to go. BigGrin



Thanks for the help! Wink
By Greg McGuffey - 5/7/2008

OK, not out of the woods yet. I have no SF menu in VS. I've uninstalled and reinstalled (and then manually added microfour files back into GAC). When uninstalling there was an error related to not being able to find the VS 2008 template/addin folder. Any ideas?
By Trent L. Taylor - 5/7/2008

You need to make sure that the StrataFrame2008.AddIn file is deployed and that all of the MicroFour files are in the common files folder.

Since you are using TS, you will need to make sure that the Documents And Settings\UserName\Application Data\Microsoft\MsEnvShared folder, you can see how to manually do that here: http://forum.strataframe.net/FindPost12852.aspx

Let me know if that doesn't get you going. Smile

By Greg McGuffey - 5/8/2008

Where do I find the StrataFrame2008.AddIn? I tried using the "MicroFour StrataFrame AddIns.dll" from the "C:\Program Files\MicroFour\StrataFrame\Assemblies" folder, but that didn't do it. I do have templates, just no menu and no toolbox items.
By Ivan George Borges - 5/8/2008

Hey Greg!

Mine is under C:\Program Files\Common Files\MicroFour\StrataFrame.

By Greg McGuffey - 5/8/2008

Is it called StrataFrame2008.AddIn or MicroFour StrataFrame AddIns.dll? I don't have a StrataFrame2008.AddIn.
By Ivan George Borges - 5/8/2008

Yes, it is called StrataFrame2008.AddIn

In this case, I think you could follow the link that Trent posted above, and deploy it manualy.

By Greg McGuffey - 5/8/2008

Thanks Ivan. Found the addin file (in COMMON...jeesh missed that like four times). I followed the instructions by Trent (basically put in in a folder under my profile). The addin then tries to load, but fails with an unspecified error.



I'm assuming this is using the Microfour StrataFrame Addin.dll that is in the GAC?
By Ivan George Borges - 5/8/2008

Hey Greg, not sure, but the post Trent direct you to doesn't make any references to the "Microfour StrataFrame Addin.dll" at all.

Couldn't you find the file "C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns\StrataFrame.AddIn" ?

This is the one that should be copied and changed.

By Greg McGuffey - 5/8/2008

Yeah, I found that. It was right were you said it would be (but I missed it because...well...I just missed it! Wink ) I placed in in the "C:\Documents and Settings\gregm\Application Data\Microsoft\MSEnvShared\AddIns" folder. The file is just an XML file, so I opened it and the version is already fine.



However, this actually just tells VS to load a class as an addin. I was wondering if this was the afore mentioned Microfour StrataFrame Addin.dll (or if I need to do something else).



It tries to load the addin, then shows a message box that states there was an unspecified error, do I want to remove the addin and have it renamed.
By Ivan George Borges - 5/8/2008

Just to see if I got what you did.

So you copied the

C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns\StrataFrame.AddIn

to

C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns\StrataFrame2008.AddIn

And then, opened the 2008 AddIn that you just copied over and changed the two version entries to 9.0.

Is that right?

By Trent L. Taylor - 5/9/2008

One other thought here too, Greg.  If you are having issues with the GAC on this machine, you can move that MicroFour StrataFrame AddIns.dll file whereever you need to and then just change the XML text inside of the AddIns file to point to the desired location of that file.  Just another thought. Smile
By Greg McGuffey - 5/9/2008

Ivan,



Since I'm using the latest build, which support 2008, I just copied the StrataFrame2008.addins file to C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns\ folder. The version is already fine (the post was for folks moving to 2008 before the first SF build that had that support built in).
By Greg McGuffey - 5/9/2008

How do I define the assembly used? I.e. what is the tag and what rules apply?
By Greg McGuffey - 5/9/2008

OK, after a bit of playing around, I figured it out. Your idea worked Trent.



I updated the Addins file with:



<Assembly>[full path to assembly without quotes]</Assembly>




I.e.

<Assembly>C:\Documents and Settings\gregm\Application Data\Microsoft\MSEnvShared\AddIns\MicroFour StrataFrame AddIns.dll</Assembly>

By Trent L. Taylor - 5/11/2008

Cool Cool, I figured that might get you going.
By Greg McGuffey - 5/12/2008

Hey, I forgot to thank you guys! Thanks! BigGrin



It's been a rough couple of weeks. Both my dev computers blew up...both quite literally. The first had a power supply blow...smoke, sparks, sizzling noises...very exciting. Unfortunately, it also toasted the MB. A bit more than a week later, a lighting strike got through my APS surge/lighting strike protector and my batter backup and another surge protector and toasted the MB on the other dev computer. The parts for the first computer weren't in yet, so I was scrambling to get SF setup on a TS (which is working very nicely, thanks to your help).
By Trent L. Taylor - 5/13/2008

The first had a power supply blow...smoke, sparks, sizzling noises...very exciting

Nothing like the smell of a small electrical fire to wake you up in the morning, boy BigGrin

By David Daragon - 8/7/2008

Hi,

I have the same problem like Greg but I have no folder called C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared.

Where must I copy the StrataFrame2008.AddIn ?

Thanks

David

By Ivan George Borges - 8/7/2008

Hi David.

Have you got Vista on your machine?

If so, the path will be:

C:\Users\MyUser\AppData\Roaming\Microsoft\MSEnvShared\AddIns\

 

Hope it helps. Wink

By David Daragon - 8/7/2008

Hi Ivan,

I have windows server 2003.

By Ivan George Borges - 8/7/2008

OK, then it should be C:\Documents and Settings\MyUser\Application Data\Microsoft\MSEnvShared\AddIns.

Just checking... the Application Data folder is usually a hidden file. Have you changed your Windows Explorer to show Hidden Files under Options?

By David Daragon - 8/7/2008

I did that. I set the option "Show hidden files"

but no folder MSEnvShared in C:\Documents and Settings\All Users\Application Data\Microsoft\

just "Office" one. Is it normal ?

By Ivan George Borges - 8/7/2008

Try creating the MSEnvShared\AddIns by hand and copy the StrataFrame2008.AddIn into it.
By David Daragon - 8/7/2008

Hi,

I created the folder MSEnvShared\AddIns and copied the StrataFrame2008.Addin

And when I start Visual Studio 2008 I have these messages.

Why when I install SF on my computer with Windows XP it works correctly and when I try on the server with windows 2003 server nothing works ??

David

By David Daragon - 8/7/2008

Hi,

I succeed by copying the files which works on my computer to the server.
But at each start, I have the DataBase Connection Wizzard that appears.
Can I desactivate it ?

Thanks in advance.

David

By Ivan George Borges - 8/8/2008

Hi David.

It sounds like you are facing a permissions issue.

Have a look at this post: http://forum.strataframe.net/FindPost15562.aspx

Let us know if you get it going.

Cheers.

By Dustin Taylor - 8/8/2008

Yup, sounds like permissions on that folder are peventing StrataFrame from creating the connections.dat file from being created (that is the file that stores the information you enter into the connection wizard.) Check those out (see the post Ivan linked for more info) and let us know Smile
By David Daragon - 8/8/2008

Hi,

I have no StrataFrame Database on my server and I can't create it. I did a repair of StrataFrame and no possibility to create it so how can I do ?

Regards

David

By Dustin Taylor - 8/8/2008

The simplest way is to just run the install again, but if you didn't have permissions to install that portion the first time you likely won't this time either. The first step is to make sure you have administrator priveldges on your machine, then run the install again to deploy the database Smile.
By David Daragon - 8/8/2008

Thanks Dustin.

I'll try and I'll let you know.

David

By David Daragon - 8/11/2008

Hi,

I created an user on the database server with rights and I instal again StrataFrame and now it works. StrataFrame works on windows server 2003 by TS.
Great !

Thanks for your helps

Regards

David

By Dustin Taylor - 8/12/2008

Awesome! Glad you got it working Smile