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
Register
Register | FAQ | Members List | Calendar | 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 Display Modes
  #1 (permalink)  
Old December 18th, 2010, 02: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

Hi,
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 127.0.0.1:51179
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 127.0.0.1:51179
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
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 11:19 AM.


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