Error VSP1351: unable to create Global\vsperf.AdminI get this error when launching the performance tool:<br><br>Error VSP1351: The monitor was unable to create one of its global objects (Global\vsperf.Admin).  Verify that another monitor is not running, or that another application hasn't created an object of the same name.<br><br>I've verified that there are not other monitors running and a file system search turns up no instand of this Global\vsperf.Admin file (if it is even a file).<br><br>I'm not sure what to do to get the performance tools to work again.  Any help is appreciated.<br><br>Thanks<br>-Greg-<br><br>© 2009 Microsoft Corporation. All rights reserved.Wed, 08 Oct 2008 22:40:51 Z7e2ecf02-435a-4913-8576-9ce4035de4d7http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#7e2ecf02-435a-4913-8576-9ce4035de4d7http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#7e2ecf02-435a-4913-8576-9ce4035de4d7gmsheberthttp://social.msdn.microsoft.com/Profile/en-US/?user=gmshebertError VSP1351: unable to create Global\vsperf.AdminI get this error when launching the performance tool:<br><br>Error VSP1351: The monitor was unable to create one of its global objects (Global\vsperf.Admin).  Verify that another monitor is not running, or that another application hasn't created an object of the same name.<br><br>I've verified that there are not other monitors running and a file system search turns up no instand of this Global\vsperf.Admin file (if it is even a file).<br><br>I'm not sure what to do to get the performance tools to work again.  Any help is appreciated.<br><br>Thanks<br>-Greg-<br><br>Fri, 23 Nov 2007 18:56:09 Z2007-12-07T17:22:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#eb793cc7-e632-4eb1-b14f-2095c7724ba8http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#eb793cc7-e632-4eb1-b14f-2095c7724ba8Boris Vidolov MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Boris%20Vidolov%20MSFTError VSP1351: unable to create Global\vsperf.Admin<p>Hi Greg,</p> <p align=left> </p> <p align=left>Global\vsperf.Admin is a named object, not a file. I need some context about your scenario:</p> <p align=left>Which version of Visual Studio do you use?</p> <p align=left> </p> <p align=left>How did you start your application under profiler - did you launch a process or attach to existing one? Did you try to start it from Visual Studio IDE?</p> <p align=left> </p> <p align=left>Which operating system are you using? Do you have multiple user sessions in that OS?</p> <p align=left> </p> <p align=left>Thank you,</p> <p align=left>Boris</p> <p align=left><font face=Arial size=2></font> </p>Fri, 30 Nov 2007 17:57:50 Z2007-12-07T17:22:29Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#176aa17f-33be-4410-a7b1-9b3ff86fc21bhttp://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#176aa17f-33be-4410-a7b1-9b3ff86fc21bTijanaVhttp://social.msdn.microsoft.com/Profile/en-US/?user=TijanaVError VSP1351: unable to create Global\vsperf.AdminI have the same problem. <br>Windows XP SP2.<br>I develop.<br>I use Visual Studio 2005 Team Edition for Software Developers.<br>Made Unit Test project.<br>Started one and this error occured.<br>Why?<br>What should I do?<br>I have to restart my computer because of that.<br>Sometime it works and again problem occurs after awhile.<br><br>Fri, 07 Mar 2008 09:50:56 Z2008-03-07T09:50:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#7c347757-a321-4476-8624-c96629375738http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/7e2ecf02-435a-4913-8576-9ce4035de4d7#7c347757-a321-4476-8624-c96629375738Chris Schmichhttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris%20SchmichError VSP1351: unable to create Global\vsperf.Admin<p><font face=Tahoma>Hi Tijana,</font></p> <p><font face=Tahoma></font> </p> <p><font face=Tahoma>Do you have </font><a title="http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx" href="http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx"><font face=Tahoma>Visual Studio 2005 SP1</font></a><font face=Tahoma> installed?  I'm not sure if it would fix your issue, but it's a good update to have installed anyway.  Do multiple people use the machine you're on, or is it just you?</font></p> <p align=left><font face=Tahoma></font> </p> <p align=left><font face=Tahoma>It seems like you only see this issue after running unit tests a number of times.  Is this correct?  According to the error, it sounds like another process is holding onto or has already created that object.  You can find out which process has the named object by doing the following:</font></p> <ol> <li> <div align=left><font face=Tahoma>Get to a state where you're getting this error</font></div> <li> <div align=left><font face=Tahoma>Download and run </font><a title="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx"><font face=Tahoma>Process Explorer</font></a></div> <li> <div align=left><font face=Tahoma>Do a find with Ctrl+F or by selecting &quot;Find&quot; -&gt; &quot;Find Handle or DLL...&quot;</font></div> <li> <div align=left><font face=Tahoma>Search for vsperf.Admin and see if any processes come up (what processes do you see here?)</font></div> <li> <div align=left><font face=Tahoma>At your own risk, kill the process (this should force it to release the named object)</font></div> <li> <div align=left><font face=Tahoma>Re-run the unit tests</font></div></li></ol> <p align=left><font face=Tahoma>If you see that the process is devenv.exe (Visual Studio), then does restarting VS and re-running the unit test help?</font></p> <p align=left><font face=Tahoma></font> </p> <p align=left><font face=Tahoma>Regards,</font></p> <p align=left><font face=Tahoma>Chris</font></p>Fri, 07 Mar 2008 18:24:35 Z2008-03-07T18:24:35Z