Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning Visual C# 2010
This is the forum to discuss the Wrox book Beginning Visual C# 2010 by Karli Watson, Christian Nagel, Jacob Hammer Pedersen, Jon D. Reid, Morgan Skinner, ; ISBN: 9780470502266
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# 2010 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 10th, 2013, 03:19 PM
Authorized User
Points: 89, Level: 1
Points: 89, Level: 1 Points: 89, Level: 1 Points: 89, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default Chapter 19 - Web Services

I cannot get the example on page 654 to work. It does run without errors, but instead of the Windows Form, it brings up a web page with a directory listing.

--------------------------------------------------------------------------
Monday, June 10, 2013 11:18 AM <dir> bin
Monday, June 10, 2013 11:12 AM <dir> obj
Monday, June 10, 2013 11:12 AM <dir> Properties
Monday, June 10, 2013 11:12 AM 309 Web.config
Monday, June 10, 2013 11:12 AM 1,285 Web.Debug.config
Monday, June 10, 2013 11:12 AM 1,346 Web.Release.config
Monday, June 10, 2013 11:12 AM 107 WebService1.asmx
Monday, June 10, 2013 11:22 AM 996 WebService1.asmx.cs
Monday, June 10, 2013 11:18 AM 4,195 WebServiceSample1.csproj
Monday, June 10, 2013 11:18 AM 1,086 WebServiceSample1.csproj.user


Am I missing something?
  #2 (permalink)  
Old June 10th, 2013, 03:39 PM
Authorized User
Points: 89, Level: 1
Points: 89, Level: 1 Points: 89, Level: 1 Points: 89, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2011
Posts: 16
Thanks: 0
Thanked 1 Time in 1 Post
Default I figured it out

You need to set the startup project in the solution's properties.

This isn't mentioned until the bottom of page 658, step 6.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 19 Web Services sef BOOK: Beginning Visual C# 2010 3 February 14th, 2012 09:11 AM
Chapter 19 and Web Deploy jMarvin BOOK: Beginning ASP.NET 4 : in C# and VB 2 November 21st, 2011 03:55 AM
Chapter 19: Try It Out Step 4 - ASP Web Site Admin Tool can't connect fprizzo02 BOOK: Beginning Microsoft Visual C# 2008 ISBN: 978-0-470-19135-4 3 February 9th, 2010 07:40 PM
Chapter 5 - Web Services Sample mjk12345 BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 2 July 8th, 2008 01:53 PM
Chapter 6 : Web Services and Ajax 2mk BOOK: Professional Ajax ISBN: 978-0-471-77778-6 1 February 11th, 2008 04:21 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.