Visual Studio 2008 fails to Create new BizTalk projects

Visual Studio 2008 fails to Create new BizTalk projects

Rate This
  • Comments 12

We recently encountered a issue during our internal tests.  Visual Studio 2008 failed to create any Biztalk 2009 projects.  We had not made any changes to the dev server and were not sure what caused this problem.  Initial investigations showed some automatic updates had been applied on the server. 

When you try to create a new Biztalk project using

File -> New Project -> Any BizTalk Project Type

You get the error message: Creating project ‘project name’… project creation failed.

 

We could get the project system to work by repair installing Biztalk but that doesn’t seem like a solution.  Further debugging revealed that the following registry setting was modified by a VS update.

 

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

"PossibleProjectExtensions"="csproj"   - Original VS install reg value. "PossibleProjectExtensions"="csproj;btproj" - Post Biztalk installation reg value

The following is the entry for the 64 bit version of VS:

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

Biztalk installation modifies the reg value to register its project extension with the C# project factory.

A repair of VS (something that is done as part of patch installation) is going to restore it to its original state. That's the standard MSI repair behavior.

If one modifies the reg value to what BizTalk installer is doing, the project creation succeeds.

I don’t see a simple way way of patching anything on Biztalk side, we are trying to work with the VS team to see if there is a way to preserve the setting during patch updates on VS.  For now the simplest fix is to modify the registry entry.   Will keep you updated if we find a better solution on this.

 

-Guru

  • Hi,

    I have just finished installing Windows 7, VSTS2008 SP1, and BizTalk2009. I have encountered the above issue and tried both the Regedt and Repair. Neither have worked.

    Are the any other things to try?

    Paul

  • I am using Visual Studio 2008 and BT2009. Everything is working fine till this point where VS is failing to create projects under Solutions. I will update if I find a solution.

  • I had the same problem after running a windows update. Guru's registry tweak helps to solve the problem smoothly.

  • I had similar problem.. but solved by above changes.. thx ..

  • I Installed VS2008,SQLSERVER 2008,Biztalk Server2009,SP3 but after successfully configuration done.I opened VS2008 but Biztalk Project is not visible.

    Can you Please Help me I dont know wht mistake i did...

  • It fixed my problem .. tkx ..friends

  • The above suggestion worked beautifully for us. At some point our machines were patched with SP1 and Biztalk projects were not being created. Only the solution was created. Further testing also showed that all other types of non-Biztalk projects were okay. After following Guru's suggestion, everything worked again. Thanks!

  • Thanks for the helpful info, worked a treat.  I needed to restart Visual Studio before it would work (which makes sense).

  • Thanks.. it saved lot of efforts.

    :)

  • Thanks it worked and saved lot of time

  • This worked perfectly. Thank you very much.

  • Thanks a lot... It worked or me... :)

Page 1 of 1 (12 items)
Leave a Comment
  • Please add 4 and 3 and type the answer here:
  • Post