VMRCAdminPortNumber error on VS2005 R2 SP1 RC, in Virtual Server 2005
ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu

ASPDeveloper.Net / VirtualServerFAQ.COM

Make sure you go to our home page for:

* Virtual Server 2005 FAQ
* ASP.Net 2.0 Information
* ASP.Net 2.0 Streaming Tutorials
* ASP.Net 2.0 HTML based Tutorials

Made possible by Business Internet Technology Shop (BitShop)



View :  Show duplicate posts
Virtual Server 2005

Recent Virtual Server 2005 posts

VM"s snapshot with acserv
64 Bits Image
Hyper Threading and MS VS2005
Multi homed VM
Dell Power Edge 1750 and PXE
ASR recovery to virtual server help
One virtual machine for more than one user.
Installation Hangs
Virtual IIS Server
Guest OS Install Hung Or Slow
Creating a test environment with virtualization
Problems With Virtual Server 2005
SVVMM Error
Trouble browsing via UNC between VMware host and VM
bootable media
best way to increase performance by defragging?
Intel VT Chip
Can VMWare Workstation 6 and VS 2005 R2 SP1 RC1 co-exist?
208.1q Network Setup
Insufficient System Resources Error
Add Solution

Latest Topics

Table Of Contents


Post Reply |  This is Spam! | Mark as Spam

VMRCAdminPortNumber error on VS2005 R2 SP1 RC

Source: microsoft.public.virtualserver
Sent: 06/06/2007
From: Mezz <(email address - cut out)>
Message:

Hey all,

I've got some code to set some server items. About as straight
forward as it gets.
server is a valid instance of VMVirtualServer.

server.VMRCEnabled = true;
server.VMRCAdminPortNumber = 5900;
server.VMRCIdleConnectionTimeoutEnabled = false;
server.VMRCXResolution = 800;
server.VMRCYResolution = 600;

The code is pretty much straight from
http://blogs.msdn.com/virtual_pc_guy/archive/2006/02/16/530370.aspx

except this is being run in a .NET application.

Now, about 5-10% of the time, this code throws an exception.
Narrowing it down, the exception is always thrown on the line

server.VMRCAdminPortNumber = 5900;

Now, this is not reproducable, every time. This code is called on
application startup. It happens about 5-10% of the time. If I stick
that line into a loop, calling that line every second, it will never
get to more than 20 or 25 calls before it throws.
Sometimes it throws on the second call, sometimes later. The point
is, sometimes this call works, sometimes it doesn't.

I've tried moving it to the bottom of the list, and separaing every
configuration setting into its own try-catch block, and sure enough,
server.VMRCAdminPortNumber = 5900; is the only one that fails
sometimes.

The exception thrown states that

The configuration could not be set. The operation timed out.

Is this a issue in the RC?
Has anyone else experienced this issue? Any workarounds? I could
just recursively try/catch until I get success, but that would be the
ugliest code that it would be my great shame to touch.

On the other hand, its good to hit a new low every once in a while.

Any thoughts?
thanks,
-Mezz



Post Reply |  This is Spam! | Mark as Spam

Related Messages


Post Reply |  This is Spam! | Mark as Spam


Table Of Contents



Other groups

 
Virtual PC (Mac)(3592) Virtual PC(12844) Virtual PC (French)(496)
Virtual Server 2005(6245)
Search
in:
Our Sponsors
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: