StrataFrame Forum

No Templates After Install

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

By Toni M. Feltman - 8/2/2010

Hello! I am a little new to VS.NET and I just started evaluating Strataframe (on Charles glowing recommendation) for a persistence layer on a project I am working on. I downloaded and installed the framework version 1.7 (something that is not the beta) and it seemed to go as planned. However, when I tried to create the new project to run through the tutorial... I had no Strataframe Templates. Any clue why?



I thought it might be an install problem so I tried to uninstall and reinstall. Only it got hung up 3 times after the green error on the first item (registered components) I think it was. I tried to Uninstall from Control Panel and the main install .exe. I also tried to repair and it continued to ask me for the folder where the source install files were located and when I chose it, it asked again and again and again until I ended the task.



HELP!!!
By Greg McGuffey - 8/2/2010

Welcome to the Forums Toni!



First, I would strongly recommend using the "Beta". Beta at StrataFrame means its been in production for months in MicroFours PracticeStudio application, but that the documentation isn't done, maybe the installer's text hasn't been checked. And if there any significant issues, they get fixed pretty fast, well, because we know people are using our "betas" in production. BigGrin



So, first try installing the latest and greatest and see if that helps. If not, get back to us with some details on what you did, what happened, etc. Screen shots are nice too. BigGrin
By Toni M. Feltman - 8/2/2010

Does the installer use a web service or any HTTP(S) calls? My concern at this point is that I can't get it uninstalled in order to get a clean install (I sure do wish I had used a VM). This client runs web site blocking software on all machines (including Devs) and I am wondering if that is part of my problem.



Toni-
By Ivan George Borges - 8/3/2010

Hi Toni.

Go ahead and re-install it, but this time right click the install .exe and "run it as administrator", just to make sure. As Greg said, if you get stuck, send us some error messages and/or screen shots. If you face problems to activate it, since you are behing some firewall or something, let us know.

By Toni M. Feltman - 8/3/2010

Ok, I uninstalled and reinstalled VS2008 and Strataframe. When I loaded SF the first time it asked for my Database Connection (which I provided) and then this is the error I got. FWIW, I am running VS2008 under WinXP.


By Toni M. Feltman - 8/3/2010

The good news is that I now have templates! Woo Hoo!
By Ivan George Borges - 8/3/2010

Do you see a SF menu at the Visual Studio IDE?
By Toni M. Feltman - 8/3/2010

Yes I do.



Toni-




By Toni M. Feltman - 8/3/2010

I was wrong... I only have some of the templates. I installed 1.7.0.7 and I am following the Business Object Tutorial. When I get to Adding A Business Object, I don't have the correct templates under the Add New Item dialog. Attached is what I see.



Toni-
By Greg McGuffey - 8/3/2010

I'm passing this on to the developers. There should be quite a few more templates than this, so I'm thinking the install sort of failed. Sorry you're having trouble. It's hard when a new toy is being stubborn like this. BigGrin
By Toni M. Feltman - 8/4/2010

Thanks Greg! I wait on pins and needled.
By Toni M. Feltman - 8/4/2010

Let me try that again... I am waiting on pins and needles. :-)
By Trent L. Taylor - 8/4/2010

Toni,



First error that you got was a DTE error that is outside of our control. We tie into Visual Studio using the DTE engine. In this example, there is an add-on that hands off a menu startup which allows us to tie our menu into the VS menu. I have seen this type of error once or twice over the last 4 years, and every time it ended up being some type of environment issue such as another add-in conflicting with everything else. If I recall, in one example, there was a thrashed CodeRush add-in that was causing issues. The first thing I would do to start working through the problem is this:



Getting the Add-In To Work

1. Click Tools -> Add-In Manager

2. Uncheck all Add-Ins except for StrataFrame (Don't worry, you can turn them back on later)

3. Get out of VS

4. Next, let's make sure that your SF add-in file is intact

5. Open Windows Explorer and navigate to: C:\Users\YourUserName\AppData\Roaming\Microsoft\MSEnvShared\AddIns

6. Select the file that corresponds with the version of VS you are using and open the file in a text editor (i.e. Notepad)

7. Make sure that the flag looks like this: 1

8. Save the file and close

9. Go back into Visual Studio



At this point you should see a StrataFrame menu. When the add-in loads it will attempt to access the SF database, so if you connection and/or SF database isn't accessible then you could receive an error. We can go there if you get an error this go around.



Installing Templates



Installing templates into VS is actually quite simple, so if it failed there is most likely something in your environment not playing nice with VS. This could include anti-virus software running real-time. Just a thought if you continue to have the problem.



1. First, let's make sure that your templates are installed

2. Open Windows Explorer and navigate to: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp

3. You should see a number of ZIP files that start with SF_ (19 or so). You can also look at the VB.NET folder as well if you will be using VB.NEt instead.

4. Either way, if you see these files, then they were installed and the point of failure was VS loading them (show this in a minute)

5. You can also check project templates here: C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ProjectTemplates\CSharp\StrataFrame

6. Next, make sure that you are out of VS

7. Type this: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup

8. You can watch the Task Manager until you see the devenv.exe leave memory

9. This will install your templates. If they are not installed after this, then there is a fundamental issue with your VS installation.



Hope this helps and we appreciate your interest in StrataFrame.