Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6
This is the forum to discuss the Wrox book Professional Microsoft Robotics Developer Studio by Kyle Johns, Trevor Taylor; ISBN: 9780470141076
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 16th, 2010, 12:42 PM
Registered User
 
Join Date: Feb 2010
Location: Austin, TX
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default ProMRDS 'Welcome' Issue with MRDS2008 R2

Hello,

I'm fairly familiar with Visual C#, but I've never dealt with DSS or MRDS. I got the book (like it so far) and tried to run the examples. I got the "ProMRDS Samples in ZIP Format" file, extracted it to the MRDS folder, and ran setup.cmd in the DSS Command Prompt.

If I do the dsshost -p:50000 -t:50001 and look with a browser, it has the same number of items in the list (as shown on page 22), but the Constructor line does not have a sub-folder.

http://i209.photobucket.com/albums/b...ectory16FE.jpg

If I click on Constructor, I see the following:

http://i209.photobucket.com/albums/b...r16FEB2010.jpg

If I click on Constructor on the Service Directory page, I see:

http://i209.photobucket.com/albums/b...e16FEB2010.jpg


The reason I post all that about the constructor is because when I type 'welcome' in a DSS Command Prompt, I get the following errors:

http://i209.photobucket.com/albums/b...t16FEB2010.jpg

In case you can't see the screen shot linked above:

Code:
***  Error creating service. Service type:http://schemas.tempuri.org/2008/02/firstservice/firstservice.html [02/16/2010 10:38:23][http://brazo-i:50000/constructor]
*** Service creation failure...
So I'm guessing it's a problem related somehow to the constructor. I'm running on a WinXP laptop that's been running Visual Studio 2008 Std for many months. Any ideas?
Reply With Quote
  #2 (permalink)  
Old February 18th, 2010, 01:50 AM
Wrox Author
 
Join Date: Apr 2008
Location: Brisbane, QLD, Australia.
Posts: 60
Thanks: 0
Thanked 5 Times in 5 Posts
Default Did you build the samples?

"Welcome" just runs DssHost with a manifest that launches the first sample program. If you have not compiled all the samples then you will get the error message in your post. (Have a look in the bin folder for welcome.cmd. That is the script that runs DssHost.)

After running setup.cmd, you also need to run buildall.cmd. Unfortunately, due to the complicated dependencies, you might find that you still have to load some projects in Visual Studio and manually compile them.

Trevor
Reply With Quote
  #3 (permalink)  
Old February 18th, 2010, 05:35 PM
Registered User
 
Join Date: Feb 2010
Location: Austin, TX
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Trevor,

I typed buildall.cmd and watched the text roll by for about two-and-a-half minutes. It looked like about half built successfully and half failed (couldn't scroll back all the way). I then typed 'welcome', and it worked!

I can go in, debug, and build the ones that failed with VS2008. I'm learning this DSS stuff (slowly).

Thank you very much for the help,
George
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ProMRDS samples with MRDS2008 and MRDS2008 R2 Sergiy BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 October 24th, 2009 03:52 PM
Could not migrate proMRDS to MRS2008 kyubot BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 2 July 30th, 2009 01:14 PM
Just starting book: any issues with using 1.5 R2 SDK? bboyes BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 2 July 29th, 2009 05:28 PM
Welcome to ProMRDS TrevorTaylor BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 4 June 26th, 2008 12:09 AM
Windows 2003 Server R2 srutter BOOK: Professional Web Parts and Custom Controls ASP.NET ISBN: 0-7645-7860-X 4 February 25th, 2006 06:52 PM



All times are GMT -4. The time now is 03:27 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.