Coffeehouse Thread

11 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

For the love of God, can someone please help my VS 2005

Back to Forum: Coffeehouse
  • User profile image
    phreaks

    Typical time to close a VS.NET solution is about 10 minutes, sometimes longer.

    I just opened a solution and then closed it immediately, the process of closing took 6 minutes.


    I used FileMon to monitor what was going on and there were almost 168,000 file operations (mind you I did not edit a single file and this project isn't even that big)

    If someone knows what is happening and/or how to fix it please let me know, this is costing me lots of wasted dev time!

    Here is some output from File mon:

    ==================================================
    1 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FITA\FITA.csproj SUCCESS Attributes: RA 
    2 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FITALibrary\FITALibrary.csproj SUCCESS Attributes: RA 
    3 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Frameworks\HFCFramework\HFCFramework.vbproj SUCCESS Attributes: RA 
    4 11:21:48 AM devenv.exe:256 QUERY INFORMATION C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Source NOT FOUND Attributes: Error 
    5 11:21:48 AM devenv.exe:256 QUERY INFORMATION C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Infrastructure NOT FOUND Attributes: Error 
    6 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Interface\Infrastructure.Interface.csproj SUCCESS Attributes: RA 
    7 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Library\Infrastructure.Library.csproj SUCCESS Attributes: RA 
    8 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Module\Infrastructure.Module.csproj SUCCESS Attributes: RA 
    9 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Shell\Shell.csproj SUCCESS Attributes: RA 
    10 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Layout\Infrastructure.Layout.csproj SUCCESS Attributes: RA 
    11 11:21:48 AM devenv.exe:256 QUERY INFORMATION C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Solution Items NOT FOUND Attributes: Error 
    12 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Layout\Infrastructure.Layout.csproj SUCCESS Attributes: RA 
    13 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FITA_Solution.sln SUCCESS Attributes: RA 
    14 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Infrastructure.Interface\Infrastructure.Interface.csproj SUCCESS Attributes: RA 
    15 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FITA\FITA.csproj SUCCESS Attributes: RA 
    16 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Projects\FITA_Solution\FitaSmartClient\Source\Infrastructure\Shell\Shell.csproj SUCCESS Attributes: RA 
    17 11:21:48 AM devenv.exe:256 QUERY INFORMATION D:\Frameworks\HFCFramework\HFCFramework.vbproj SUCCESS Attributes: RA 

    <snip/>

    Look at the operation count! 167,803! (wtf)


    167803 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\ SUCCESS FileBothDirectoryInformation: jwithrow 
    167804 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\ SUCCESS  
    167805 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\ SUCCESS Options: Open Directory  Access: 00100001 
    167806 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\ SUCCESS FileBothDirectoryInformation: My Documents 
    167807 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\ SUCCESS  
    167808 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\ SUCCESS Options: Open Directory  Access: 00100001 
    167809 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\ SUCCESS FileBothDirectoryInformation: Visual Studio 2005 
    167810 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\ SUCCESS  
    167811 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS Options: Open Directory  Access: 00100001 
    167812 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS FileBothDirectoryInformation: Projects 
    167813 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS  
    167814 11:27:28 AM devenv.exe:256 QUERY INFORMATION C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\Projects SUCCESS Attributes: D 
    167815 11:27:28 AM devenv.exe:256 OPEN C:\ SUCCESS Options: Open Directory  Access: 00100001 
    167816 11:27:28 AM devenv.exe:256 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: Documents and Settings 
    167817 11:27:28 AM devenv.exe:256 CLOSE C:\ SUCCESS  
    167818 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\ SUCCESS Options: Open Directory  Access: 00100001 
    167819 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\ SUCCESS FileBothDirectoryInformation: jwithrow 
    167820 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\ SUCCESS  
    167821 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\ SUCCESS Options: Open Directory  Access: 00100001 
    167822 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\ SUCCESS FileBothDirectoryInformation: My Documents 
    167823 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\ SUCCESS  
    167824 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\ SUCCESS Options: Open Directory  Access: 00100001 
    167825 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\ SUCCESS FileBothDirectoryInformation: Visual Studio 2005 
    167826 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\ SUCCESS  
    167827 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS Options: Open Directory  Access: 00100001 
    167828 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS FileBothDirectoryInformation: Projects 
    167829 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS  
    167830 11:27:28 AM devenv.exe:256 QUERY INFORMATION C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\Projects SUCCESS Attributes: D 
    167831 11:27:28 AM devenv.exe:256 OPEN C:\ SUCCESS Options: Open Directory  Access: 00100001 
    167832 11:27:28 AM devenv.exe:256 DIRECTORY C:\ SUCCESS FileBothDirectoryInformation: Documents and Settings 
    167833 11:27:28 AM devenv.exe:256 CLOSE C:\ SUCCESS  
    167834 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\ SUCCESS Options: Open Directory  Access: 00100001 
    167835 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\ SUCCESS FileBothDirectoryInformation: jwithrow 
    167836 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\ SUCCESS  
    167837 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\ SUCCESS Options: Open Directory  Access: 00100001 
    167838 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\ SUCCESS FileBothDirectoryInformation: My Documents 
    167839 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\ SUCCESS  
    167840 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\ SUCCESS Options: Open Directory  Access: 00100001 
    167841 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\ SUCCESS FileBothDirectoryInformation: Visual Studio 2005 
    167842 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\ SUCCESS  
    167843 11:27:28 AM devenv.exe:256 OPEN C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS Options: Open Directory  Access: 00100001 
    167844 11:27:28 AM devenv.exe:256 DIRECTORY C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS FileBothDirectoryInformation: Projects 
    167845 11:27:28 AM devenv.exe:256 CLOSE C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\ SUCCESS  
    167846 11:27:28 AM devenv.exe:256 QUERY INFORMATION C:\Documents and Settings\jwithrow\My Documents\Visual Studio 2005\Projects SUCCESS Attributes: D 
    167847 11:27:28 AM devenv.exe:256 CLOSE C:\program files\microsoft visual studio 8\vj#\snippets\1033\collections\hashmap   
    167848 11:27:28 AM devenv.exe:256 CLOSE C:\documents and settings\jwithrow\my documents\msdn\visual c# 2005 code snippets\xml

  • User profile image
    WiredCoder

    Arrrrrrrggghh!!   I'm having the same problem too.  

  • User profile image
    phreaks

    Red5 wrote:
    I am just barely starting to use VS 2005, so I only have a few projects on this platform.  But I do notice it takes a bit long to open and close projects than it did with VS 2003.  Nothing NEAR what you are experiencing though.

    I opened a smaller website type of application, has about 15 web forms, a master page, style page, web.config, etc.:
    Filemon with filter (devenv) shows 13,094
    about 15 seconds to open

    I closed the same application
    Filemon with filter (devenv) shows 23,148
    about 10 seconds to close

    I am running it on a Toshiba Tecra M4 TabletPC
    Intel Pentium M, 2.13 Ghz
    1.00 GB Ram
    80GB harddrive, 66% full (recently had a disk defrag)

    How big is the application you are opening?
    What kind of hardware are you running on?
    Do you have many VS 2005 projects on the local hard drive?

    This probably won't help you much other than give you a comparison of what someone else is experiencing.  Maybe it will help you uncover a few details that may lead to a solution.


    This particular solution contains 8 projects, all of which are fairly small (<50 classes).

    I have a 3.2 Ghz Xeon with 1 Gb or Memory.


  • User profile image
    Red5

    I am just barely starting to use VS 2005, so I only have a few projects on this platform.  But I do notice it takes a bit long to open and close projects than it did with VS 2003.  Nothing NEAR what you are experiencing though.

    I opened a smaller website type of application, has about 15 web forms, a master page, style page, web.config, etc.:
    Filemon with filter (devenv) shows 13,094
    about 15 seconds to open

    I closed the same application
    Filemon with filter (devenv) shows 23,148
    about 10 seconds to close

    I am running it on a Toshiba Tecra M4 TabletPC
    Intel Pentium M, 2.13 Ghz
    1.00 GB Ram
    SATA 80GB harddrive, 66% full (recently had a disk defrag)

    How big is the application you are opening?
    What kind of hardware are you running on?
    Do you have many VS 2005 projects on the local hard drive?

    This probably won't help you much other than give you a comparison of what someone else is experiencing.  Maybe it will help you uncover a few details that may lead to a solution.

  • User profile image
    JKelley

    I just asked around in our morning meeting if anyone had heard of problems shutting down before.  The answer I got is that the thing that most adversely affects VS shutdown time is writing out the user profile to disk. 

    So one thing to check is to make sure your profile is stored locally and not somewhere over the network.  Also shutting down multiple instances of VS at the same time can be not so good as well.  If those don't help, I suggest hopping over to http://connect.microsoft.com and finding the Visual Studio section.  There you can search and see if someone has already entered this as a bug, and if not you can log it yourself.  Hopefully that will prompt a response for you from someone who can help.

    -Jeremy

  • User profile image
    phreaks

    JKelley wrote:
    I just asked around in our morning meeting if anyone had heard of problems shutting down before.  The answer I got is that the thing that most adversely affects VS shutdown time is writing out the user profile to disk. 

    So one thing to check is to make sure your profile is stored locally and not somewhere over the network.  Also shutting down multiple instances of VS at the same time can be not so good as well.  If those don't help, I suggest hopping over to http://connect.microsoft.com and finding the Visual Studio section.  There you can search and see if someone has already entered this as a bug, and if not you can log it yourself.  Hopefully that will prompt a response for you from someone who can help.

    -Jeremy


    First, Thank you for helping. It is sooo appreciatted.

    but alas, Arrrrggg!
    Our 'My Documents' folders are mapped to network drives, getting the company to change the corporate policy will be an arduous task.

    Any workarounds?

  • User profile image
    ScanIAm

    phreaks wrote:
    
    JKelley wrote: I just asked around in our morning meeting if anyone had heard of problems shutting down before.  The answer I got is that the thing that most adversely affects VS shutdown time is writing out the user profile to disk. 

    So one thing to check is to make sure your profile is stored locally and not somewhere over the network.  Also shutting down multiple instances of VS at the same time can be not so good as well.  If those don't help, I suggest hopping over to http://connect.microsoft.com and finding the Visual Studio section.  There you can search and see if someone has already entered this as a bug, and if not you can log it yourself.  Hopefully that will prompt a response for you from someone who can help.

    -Jeremy


    First, Thank you for helping. It is sooo appreciatted.

    but alas, Arrrrggg!
    Our 'My Documents' folders are mapped to network drives, getting the company to change the corporate policy will be an arduous task.

    Any workarounds?

    Find another job. 

    Any company that would allow such a moronic policy is bound to have other issues.

  • User profile image
    phreaks

    ScanIAm wrote:
    
    phreaks wrote: 
    JKelley wrote: I just asked around in our morning meeting if anyone had heard of problems shutting down before.  The answer I got is that the thing that most adversely affects VS shutdown time is writing out the user profile to disk. 

    So one thing to check is to make sure your profile is stored locally and not somewhere over the network.  Also shutting down multiple instances of VS at the same time can be not so good as well.  If those don't help, I suggest hopping over to http://connect.microsoft.com and finding the Visual Studio section.  There you can search and see if someone has already entered this as a bug, and if not you can log it yourself.  Hopefully that will prompt a response for you from someone who can help.

    -Jeremy


    First, Thank you for helping. It is sooo appreciatted.

    but alas, Arrrrggg!
    Our 'My Documents' folders are mapped to network drives, getting the company to change the corporate policy will be an arduous task.

    Any workarounds?

    Find another job. 

    Any company that would allow such a moronic policy is bound to have other issues.


    No, it was implemented for a reason. Accountants were having their pc's crash and were losing spreadsheets of investors balances.

    This guarantee's that all their documents are backed-up nightly.

    Might not be the most elegant way to accomplish it, but it was implemented long before I arrived and there are more pressing issues on my agenda than that one at the moment.

    You don't even know what the business is, how would you know what issues there are bound to be?

    Wow, judgemental people. It's getting old.

  • User profile image
    JKelley

    No problem, I try to help when I can.

    Try going under Tools \ Options \ Environment \ Import and Export Settings   and changing the path where it says "Automatically save my settings to this file"  I'm not sure if that's the main profile, but you can give it a shot.  I'll keep looking and see if there's any other paths to change.

  • User profile image
    AndyC

    ScanIAm wrote:
    
    Any company that would allow such a moronic policy is bound to have other issues.


    Er, that's industry best practice.

    EDIT: The real WTF is that VS doesn't store this in Application Data where it belongs

  • User profile image
    ScanIAm

    AndyC wrote:
    
    ScanIAm wrote: 
    Any company that would allow such a moronic policy is bound to have other issues.


    Er, that's industry best practice.

    EDIT: The real WTF is that VS doesn't store this in Application Data where it belongs


    If true, its a network administrator's best practice because someone forgot to tell the NA that they work for the rest of the company, not vice-versa.  Causing every computer in the company to work slower as a solution to data loss is lazy. 

    Kind of like when NAs force security updates to run (and reboot) regardless of how long an endurance test has been running.  Or when their solution to virus issues is to shut down VPN access (except for the same morons who bring in viruses in the first place:  Salespeople with laptops).


Conversation locked

This conversation has been locked by the site admins. No new comments can be made.