|

June 24th, 2009, 08:35 PM
|
|
Registered User
|
|
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 29 WCF problems with Service
June 24, 2009
Professional ASP.NET 3.5 In C# and VB book
In chapter 29 pages 1335-1337, I tried to Add Service Reference but it gave an error of: There was an error downloading 'http://localhost:52120/WCFservice1\Calculator.svc'. Unable to connect to remote server. . . . target machine actively refused it ...
Both the Calculator page and the Web page are on the save server, drive and sub-directory. How can I set the reference in VS 2008 to this Service Reference?
On pages 1340-1343 (chapter 29) I have the same type problem. How do I place the WCF Service and the Client Web site together so the client can find the Service? Should they all be in the same VS2008 Solution? This is very confusing. There seems to be one or two steps left out in connecting Service, Host and Client.
I am using Windows Vista Business and Visual Studio 2008 with a Firefox browser.
|