Microsoft Developer Network > Forums Home > BizTalk Server Forums > BizTalk Server General > Visual Studio 2005 freezes when building BizTalk 2006 R2 projects, devenv.exe @ 99% CPU util
Ask a questionAsk a question
 

AnswerVisual Studio 2005 freezes when building BizTalk 2006 R2 projects, devenv.exe @ 99% CPU util

  • Thursday, October 04, 2007 10:43 PMMonish Nagisetty Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am working with a brand new VPC image that has BizTalk 2006 R2 and I am running into a issue where Visual Studio keeps freezing when I build a BizTalk project.  This is the second day we have used this image on my team.  The first day we did not encounter any issues.  Today we ran into a issue where Visual Studio just freezes and becomes unresponsive when building any solutions or projects that contain BizTalk project templates.  The VS process (devenv.exe) reaches 99% of CPU utilization and allocates about 114 MB of memory in the task manager on the VPC.  When it becomes unresponsive for over 5-10 mins, we are forced to kill devenv.exe from the task manager.

     

    Here are all the things I have tried so far (in order) and have been unsuccessful:

    • Clean solution option from the VS menu and rebuild.
    • Deleted all bin and obj directories from the solution and tried closing VS, reopening VS, and rebuilding the solution
    • Tried creating and building a simple BizTalk project with one schema
    • Tried building the HelloWorld project from the BizTalk SDK
    • Visual Studio 2005 Repair from Add/Remove Programs
    • BizTalk Server 2006 Repair from Add/Remove Programs

    In order to eliminate any issues related to my solution, I am currently only testing the HelloWorld project located in the BizTalk SDK directory (C:\Program Files\Microsoft BizTalk Server 2006\SDK\Samples\Orchestrations\HelloWorld).  When building this project it immediately freezes as described above.  By the way, any non-BizTalk project templates compile and run fine.  I have tested a simple C# Console Application which works fine.

     

    Complete hardware and software details are below.  Any help will be greatly appreciated.

     

    Host Hardware

    • Dell Optiplex 745
    • Intel Core 2 Duo 670 2.66GHZ
    • 3069 MB
    • 148 GB HD (28 GB free)

    Host Software

    • Windows Vista Ultimate
    • Virtual PC 2007

    VPC Hardware

    • 1200 MB Allocated
    • 20 GB Fixed-size VHD ( 5 GB free)

    VPC Software

    • Windows Server 2003 Ent. Ed. SP2
    • SQL Server 2005 SP2
    • Visual Studio 2005 Team Suite w/SP1 (see complete details below)
    • BizTalk Server 2006 R2 Developer Edition
    • Microsoft Office 2007 (Excel, InfoPath, Word)
    • WSS 2.0 SP2
    • WSS 3.0 (Installed before WSS 2.0 for side by side hosting)

     

     

     

    -------------------------------------------------------

    From Visual Studio -> Help -> About

    -------------------------------------------------------

    Microsoft Visual Studio 2005
    Version 8.0.50727.762  (SP.050727-7600)
    Microsoft .NET Framework
    Version 2.0.50727

    Installed Edition: Enterprise

    Microsoft Visual C# 2005

    Microsoft Visual C++ 2005

    Microsoft Visual Studio 2005 Tools for Applications

    Microsoft Visual Studio Tools for Office
    Microsoft Visual Studio Tools for the Microsoft Office System

    Microsoft Web Application Projects 2005
    Microsoft Web Application Projects 2005
    Version 8.0.50727.762

    Visual Studio 2005 Team Edition for Architects
    Microsoft Visual Studio 2005 Team Edition for Software Architects

    Visual Studio 2005 Team Edition for DB Professionals  
    Microsoft Visual Studio Team Edition for Database Professionals Version 2.0.50727.251

    Visual Studio 2005 Team Edition for Developers  
    Microsoft Visual Studio 2005 Team Edition for Software Developers

    Visual Studio 2005 Team Edition for Testers  
    Microsoft Visual Studio 2005 Team Edition for Software Testers

    Visual Studio 2005 Team Explorer 
    Microsoft Visual Studio 2005 Team Explorer
    Version 8.0.50727.762

    Microsoft BizTalk Server 2006 R2

    Microsoft Visual Studio 2005 Team Suite - ENU Service Pack 1 (KB926601)  
    This service pack is for Microsoft Visual Studio 2005 Team Suite - ENU.
    If you later install a more recent service pack, this service pack will be uninstalled automatically.
    For more information, visit http://support.microsoft.com/kb/926601

    SQL Server Analysis Services  
    Microsoft SQL Server Analysis Services Designer
    Version 9.00.3042.00

    SQL Server Integration Services  
    Microsoft SQL Server Integration Services Designer
    Version 9.00.3042.00

    SQL Server Reporting Services  
    Microsoft SQL Server Reporting Services Designers
    Version 9.00.3042.00

    -------------------------------------------------------------------------------------------------------------

     

Answers

  • Tuesday, October 16, 2007 6:02 PMMonish Nagisetty Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hey,

     

    No response from anyone on this issue and I did not figure out the problem either.  I ended up rebuilding another BizTalk image from our base image.  Our developer has been using this new image for about a week now and he has not encountered the same issues.

     

    Sorry.

    Monish

  • Tuesday, October 16, 2007 7:38 PMbiztodo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Monish,

     

    This issue was resolved for me. I had the "Output window" open while building and that caused the CPU utliz. to go to 99..and the devenv memory util would continually increase; so would memory for sqlserver.exe

     

    Also the simplest of orchestrations wouldnt finish building or deploying. I let it run for close to 30 mims max..and lost patience.

     

    Closing the window did the trick for me.

     

    Hema

     

     

All Replies

  • Tuesday, October 16, 2007 5:56 PMbiztodo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    Did you find a solution to your problem?

     

    I am on BizTalk 2006..and was building/deploying fine.

     

    All of a sudden the same symptoms started and i have not been able to build

     

    Tried a lot of options with no luck

     

    Hema

  • Tuesday, October 16, 2007 6:02 PMMonish Nagisetty Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hey,

     

    No response from anyone on this issue and I did not figure out the problem either.  I ended up rebuilding another BizTalk image from our base image.  Our developer has been using this new image for about a week now and he has not encountered the same issues.

     

    Sorry.

    Monish

  • Tuesday, October 16, 2007 7:38 PMbiztodo Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Hi Monish,

     

    This issue was resolved for me. I had the "Output window" open while building and that caused the CPU utliz. to go to 99..and the devenv memory util would continually increase; so would memory for sqlserver.exe

     

    Also the simplest of orchestrations wouldnt finish building or deploying. I let it run for close to 30 mims max..and lost patience.

     

    Closing the window did the trick for me.

     

    Hema

     

     

  • Friday, February 08, 2008 6:55 PMMonish Nagisetty Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I just ran into this issue again with another simple BizTalk project.  After closing the output window, my project compiled fine and VS did not freeze.  I am glad to find a workaround but the solution is ridiculous!

  • Thursday, March 13, 2008 12:00 PMgmarcan Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    THANK YOU !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Thursday, August 21, 2008 10:22 AMicelavaMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     hemabiz wrote:
    I had the "Output window" open while building and that caused the CPU utliz. to go to 99..and the devenv memory util would continually increase; so would memory for sqlserver.exe

    I can confirm this method finally allowed me to compile the BizTalk projects.

     

    Unfortunately, the KB913432 hotfix that might have fixed this problems turns out not to be the case. It would still seize the CPU if the Output window is open.

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;913432

     

    Thanks

  • Wednesday, August 12, 2009 10:23 PMBrad_K Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    THANK YOU! I was running into this same issue.
  • Wednesday, October 21, 2009 11:38 AMplaton_the_thinker Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Reinstall Internet Explorer.