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:
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]