Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET 4 : in C# and VB
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET 4 : in C# and VB
This is the forum to discuss the Wrox book Professional ASP.NET 4 in C# and VB by Bill Evjen, Scott Hanselman, Devin Rader; ISBN: 9780470502204
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET 4 : in C# and VB 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
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 18th, 2010, 03:22 PM
Registered User
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Add Service Reference of a WCF service

after creating the Calculator WCF Service (chapter 31) I am trying to add the Service reference in an ASP.NET application (WCFConsumer), writing the following address in the address field:
http://localhost:51179/WCFService1/Calculator.svc?wsdl, which I copied from the address bar of IE when viewing the svc file in the browser.
In doing so I receive an error with the following details:
There was an error downloading 'http://localhost:51179/WCFService1/Calculator.svc?wsdl'.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it
Metadata contains a reference that cannot be resolved: 'http://localhost:51179/WCFService1/Calculator.svc?wsdl'.
There was no endpoint listening at http://localhost:51179/WCFService1/Calculator.svc?wsdl that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.
Unable to connect to the remote server
No connection could be made because the target machine actively refused it
If the service is defined in the current solution, try building the solution and adding the service reference again.
I am stuck here and don't know how to solve the problem.

Thanks for any help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Web Service - Add Web Reference - Object moved to surendraparashar ASP.NET 2.0 Professional 1 June 11th, 2010 11:15 PM
WCF service issue geoscaria BOOK: Professional WCF Programming: .NET Dev with Windows Communication Found ISBN: 9780470089842 0 August 12th, 2008 05:44 AM
WCF endpoint error when wrapping WCF service with jdawg1979 Visual Studio 2008 0 July 8th, 2008 11:56 AM
Error to Add Web Reference from a Web service jdjbarrios ASP.NET 2.0 Professional 0 July 18th, 2006 02:58 PM

All times are GMT -4. The time now is 08:24 PM.

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