Project Creation Failed – BizTalk 2009 in Visual Studio 2008 (also BTS and VS 2010)

I came across a problem regarding the creation of a new BizTalk project in VS2008.  (Update:  The fix below also applies to BizTalk 2010 and Visual Studio 2010)

The symptom of the problem is when you try to create a project using the “Empty BizTalk Project” template, Visual Studio may present a “project creation failed” message in the message bar at the bottom of the screen. This behavior will occur when a patch is installed in Visual Studio. The patch installation process removes the .btproj type from the list of possible projects in the registry, causing this error to happen. So if you patch or apply a service pack to Visual Studio, be sure to check that you can still create BTS projects.

The solution is simple: update the registry entry to include the .btproj project type. The key is at:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}]

The entry is “PossibleProjectExtensions”. Just change the value to add “;btproj” at the end and that will fix the problem.

Many articles out there recommend doing a Repair install of BizTalk to solve this problem. This is big time over-kill  in my opinion as the only helpful thing that it would do is to update the registry entry as mentioned above. May as well go straight to the source of the problem and save yourself a little time and frustration. Of course, if you don’t have the guts to touch the registry (and really, who doesn’t?) then repair away…

[NOTE: click here for additional info if you’re working on 64-bit Windows]

Advertisements

About Ed Jones

Ed is a .NET and Integration architect for Avanade in the Twin Cities. Contact Ed

6 responses to “Project Creation Failed – BizTalk 2009 in Visual Studio 2008 (also BTS and VS 2010)”

  1. Kevin N says :

    What if when I go to that registry entry, there is no “PossibleProjectExtensions” listed? I have done uninstalls and re-installs multiple times on different machines with the same result.

    Suggestions?

    • Ed Jones says :

      Are you on 64-bit windows? If so, the registry entry is in a different place.

      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\Projects\{FAE04EC0-301F-11d3-BF4B-00C04F79EFBC}

  2. Anon says :

    I’m on 32-bit and these directions saved me a lot of hassle. Thanks!

  3. Anonymous says :

    Thanks Jones..
    It worked for me 🙂

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: