Slow Closing of Visual Studio on Remote Web Projects

9. December 2008

Found this post, and though it would be worth noting for my development friends.

If you are experiencing slow project close, try switching off participation in the feedback program in  Help | Customer Feedback Options... dialog. If it does not help, try disabling component in registry by changing

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{2DC9DAA9-7F2D-11d2-9BFC-00C04F9901D1}

to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\Disabled-{2DC9DAA9-7F2D-11d2-9BFC-00C04F9901D1}

Troubleshooting, Visual Studio ,

Installed Visual Studio 2008 SP1 and started getting “Value does not fall within the expected range.” on trying to create a Unit Test.

7. November 2008

When I tried to create a unit test and expand my website to find the classes and namespaces.. I started to get "“Value does not fall within the expected range.” popup message. Well found the solution below, those they are doing it for a different reason it works nevertheless.

Found the solution here:

"...open the Configuration Manager from the Build menu, and for each of your website projects listed there, change its Platform to “Any CPU”.  Be sure to make these changes for each configuration type defined for your solution (e.g. Debug, Release). "

http://blogs.msdn.com/chrissc/archive/2008/08/22/vs2008-sp1-website-profiling-bug-and-workaround.aspx

Troubleshooting, Visual Studio ,

Windows Live Messenger On Vista Error 81000306

10. April 2008

 So when I'm at one location, say home, my Live Messenger connects fine. No problems what so ever. However, connecting from another location say the office, it doesn't connect. Or once in a blue moon it might make a connection that last a few minutes then gets booted.

Of course if you look up this error, you will get lots of posts on "make sure your connected to the Internet" or "it's your proxy settings", or a lot of other basic solutions to a more advanced problem.  Very frustrating, especially if you are more then an end user that knows and understands networking.

So after some research I found a post out there that had a suggestion that actually worked.

You basically need to disable AutoTuningLevel on your TCP connection.

This is the command to view the autotuninglevel
netsh int tcp show global

This is the command to disable it. disabled: Fix the receive window at its default value. This one worked for me, I've thought of using the restricted version but haven't had any problems yet.
netsh int tcp set global autotuninglevel=disabled


This is the command to return it to the default normal setting. normal:
Allow the receive window to grow to accomodate almost all scenarios.
netsh int tcp set global autotuninglevel=normal


This is the command to set it to restricted which is you get some benefit from autotuning. restricted: Allow the
receive window to grow beyond its default value, but limit such growth in some scenarios.
netsh int tcp set global autotuninglevel=restricted

After making this change I didn't need to reboot, but you may. I closed and re-opened MSN and it connected instantly. Hopes this helps someone else down the road.

Operating Systems, Troubleshooting , , , , , , , ,

Flash Player 9.0.115.0 on Vista Does Not Display Content

8. February 2008

You may have noticed, if you're running Vista, that with the latest update to Flash Player 9.0.115.0, you no longer are seeing pages with Flash Content. You'll go to YouTube or GrandCentral.Com and notice that it tells you that you need the latest version of Flash.  You'll install it for the 50th time and still doesn't work.

Solution? You need an update to your Flash Player for Vista, which you can find located here, after you've installed the Flash Plug-in/Player.

Here are the steps I finally found from the Adobe site.

    Windows Vista installation failure

    On some Windows Vista systems Flash Player may be installed, but will not display Flash content. In some cases updating to the latest Flash Player using the included utility can correct the User Account Control settings that cause this problem.

    To run the utility, find your installed Flash folder:

  • Right-click C:\Windows\System32\Macromed\Flash\FlashUtil9d.exe

    The letter changes with each Flash version, so may be "FlashUtilb.exe" or "FlashUtile.exe"

  • Select "Run as Administrator"

  • Follow the steps to complete the Flash Player installation

  • Restart your computer

 

Now, this only worked on my Vista 32bt OS, doesn't work so good on my 64bit.  Upon running the utility it doesn't seem to complete. So I took they Flash folder from my 32bit and over wrote the Flash folder on my 64bit. Located at C:\Windows\SysWOW64\Macromed\Flash.

Seemed to fixed the problem after a reboot.

Operating Systems, Troubleshooting , , , , ,

TeamFoundation TFS Deleting / Solving Multiple Workspace Problem

29. January 2008

So you're setting up a new Workspace for Team Foundation and you get an error when you try and point a Source Control Project to a local folder that someone else was using as well..... Then you get the error message....

Error: "The working folder ... is already in use by another workspace on this computer"

I ran into this problem setting up a contractor's PC after the previous contractor using that PC had left.

The problem is you can't just go load up and delete workspaces unless your the owner. So in order to solve the problem I had to run a command line command for Team Foundation. Open Visual Studio 200x Command Prompt.

Tf workspace /delete developer05;<domain>\jsmith

 

To get that info I needed the owner name of the workspace and the workspace name. You can do

 

tf workspaces

  

You can find a list of Team Foundation (tf) commands here:

http://msdn2.microsoft.com/en-us/library/z51z7zy0(VS.80).aspx
You can see commands on that MS site, however the two most useful to me in this situation was listing the information, so I could see who was the other person blocking access, and then deleting it.

 

tf workspaces [/owner:ownername] [/computer:computername]
[/server:servername] [/format:(brief|detailed)]
 


tf workspace /delete [/server:servername] workspacename[;workspaceowner]

Note: Common mistake is to forget the domain name of the owner if you are on a domain. <domain>\UserName

Troubleshooting, Visual Studio, Developer Tools , , ,