No Templates After Install


Author
Message
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
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.
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
Let me try that again... I am waiting on pins and needles. :-)
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
Thanks Greg! I wait on pins and needled.
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.4K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
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
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
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-
Attachments
sf_newitem.png (105 views, 35.00 KB)
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
Yes I do.



Toni-





Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Do you see a SF menu at the Visual Studio IDE?
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
The good news is that I now have templates! Woo Hoo!
Toni M. Feltman
Toni M. Feltman
StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)StrataFrame Beginner (8 reputation)
Group: Forum Members
Posts: 8, Visits: 11
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.



Attachments
sf_error.png (121 views, 17.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
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.

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