Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed

Ok, so here's another thing that would make you say, "this is the last time I'll ever use Biztalk again"
If you have VS.NET 2003 and Biztalk installed on your machine, and then you install VS.NET 2005 beta 2, the Biztalk Web services publishing tool will fail to generate web services. This is really annoying, it means that I can't have Biztalk and VS.NET 2005 installed on the same machine. I faced this problem before, and the solution was to uninstall VS.NET 2005 and reinstall VS.NET 2003 and Biztalk.

Yesterday I faced the same problem, but there's no way I'm gonna uninstall VS.NET 2005 again, so I had to find another solution.

Biztalk uses Visual Studio.NET to generate the web services solution, so what's probably happening is that when Biztalk calls VS.NET, the 2005 version gets called instead of the 2003 version. I also remembered that when I run the devenv.exe from the Run window, VS.NET 2005 starts, so for sure there's a setting some where that tells windows where is this exe file located. And the first place I looked in is, of course,  the registry.

I found this key HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Windows\CurrentVersion\App Paths\devenv.exe. It had this value
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe, which is pointing to the VS.NET 2005 executable. So I changed it to point to VS.NET 2003
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe

And also my manager, Tarek Bohsali, once told me that I need to change the following key HKEY_LOCAL_MACHINE\SOFTWARE\C­lasses\VisualStudio.Solution\C­LSID to this value {246C57AE-40DD-4d6b-9E8D-B0F5757BB2A8}

Changing these two keys solved the problem, and now I'm able to publish my orchestrations as web services.

Published Wednesday, June 08, 2005 3:08 AM by admin
Filed Under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Monday, January 09, 2006 1:20 PM

This seems to work with the released version of VS2005. Thanks!!

DM

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Saturday, January 14, 2006 7:42 AM

Thats good to know :)

admin

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Tuesday, February 21, 2006 4:36 PM

Thanks a lot for this.

Supraj Venkat

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Tuesday, February 21, 2006 11:24 PM

You welcome....

admin

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Tuesday, April 04, 2006 8:43 AM

This worked perfectly. I must ask if this does anything to your vs 2005 projects after the registry changes?

I want biztalk to work but I also want my vs 2005 stuff to work as well.

Thanks again for this solution.

Craig Fisher

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Tuesday, April 04, 2006 12:28 PM

Hello Craig,
I don't think this will effect your vs.net 2005 projects, because all what you're changing is what version of vs.net you're running when you type devenv.exe in the Run dialog box, i.e, which version is the default version. Your vs 2005 solution files will still be opened by vs 2005.

admin

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Wednesday, April 26, 2006 7:00 PM

Thanks for the solution. The swearing has ended. The birds are singing and all seems right with the world once more.

Glyn Jones

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Thursday, June 15, 2006 7:47 AM

You are life saver !!

Elad Rosenberg

# re: Publishing Biztalk orchestrations as webservices on a machine that has VS.NET 2005 Beta 2 installed @ Friday, June 16, 2006 12:31 AM

Cool, it looks like people are still facing this problem. I'm glad I'm able to help...

admin

# http://mozetechnologies.com/1.html @ Sunday, October 08, 2006 4:38 PM

wessamzeidan

What do you think?

(required) 
required 
optional
required