WCF service on IIS 5.1 does not works (XP Pro)

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I can't get standalone working service. It works perfectly under VC2008
(under ASP.NET development server). It works by Ctrl+F5 until
development server is active. If I stop development server (should be
IIS turn), then it stop working.
My solution includes web project and client project.

WCF Test Client shows followed error message:
// *************************
Error: Cannot obtain Metadata from http://localhost:2899/Service1.svc If
this is a Windows (R) Communication Foundation service to which you have
access, please check that you have enabled metadata publishing at the
specified address. For help enabling metadata publishing, please refer
to the MSDN documentation at
http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error
URI: http://localhost:2899/Service1.svc Metadata contains a reference
that cannot be resolved: 'http://localhost:2899/Service1.svc'. Could
not connect to http://localhost:2899/Service1.svc. TCP error code 10061:
No connection could be made because the target machine actively refused
it 127.0.0.1:2899. Unable to connect to the remote server No
connection could be made because the target machine actively refused it
127.0.0.1:2899HTTP GET Error URI: http://localhost:2899/Service1.svc
There was an error downloading 'http://localhost:2899/Service1.svc'.
Unable to connect to the remote server No connection could be made
because the target machine actively refused it 127.0.0.1:2899
// *************************

And svcutil shows:
// *************************
C:\Program Files\Microsoft Visual Studio 9.0\VC>svcutil
http://localhost:2899/Service1
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version
3.0.4506.2152]
Copyright (c) Microsoft Corporation. All rights reserved.

Attempting to download metadata from 'http://localhost:2899/Service1'
using WS-Metadata Exchange or DISCO.
Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version
3.0.4506.2152]
Copyright (c) Microsoft Corporation. All rights reserved.

Error: Cannot obtain Metadata from http://localhost:2899/Service1

If this is a Windows (R) Communication Foundation service to which you
have access, please check that you have nabled metadata publishing at
the specified address. For help enabling metadata publishing, please
refer to the MSDN documentation at http://go .microsoft.com/fwlink
?LinkId=65455.

WS-Metadata Exchange Error
URI: http://localhost:2899/Service1
Metadata contains a reference that cannot be resolved:
'http://localhost:2899/Service1'.

Could not connect to http://localhost:2899/Service1. TCP error code
10061: No connection could be made because the target machine actively
refused it 127.0.0.1:2899.

Unable to connect to the remote server
No connection could be made because the target machine actively
refused it 127.0.0.1:2899

HTTP GET Error
URI: http://localhost:2899/Service1
There was an error downloading 'http://localhost:2899/Service1'.

Unable to connect to the remote server
No connection could be made because the target machine actively
refused it 127.0.0.1:2899
// *************************

I publish my web project directly to root: C:\Inetpub\wwwroot\

Thoughts?

Mikhail


*** Sent via Developersdex http://www.developersdex.com ***
.



Relevant Pages

  • Re: VPN disconnection
    ... The connection still hangs/disconnects, ... subject with subject: VPN disconnection. ... Microsoft CSS Online Newsgroup Support ... if you installed SP2 on the SBS server without ...
    (microsoft.public.windows.server.sbs)
  • RE: SMTP sending failure, connection is dropped by remote host
    ... dropped the connection error. ... The routing group errors relate to the default routing group which exchange ... I have now doen a rebuild of the server applying NO service packs this time, ... > Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: CEICW & software updates...
    ... SBS/Windows Server 2003, etc is just not quite UPNP aware the way it ... MVPs do not work for Microsoft ... I'm not getting prompted for an internet connection type. ... DNS server is installed and not disabled Call to Changing ...
    (microsoft.public.windows.server.sbs)
  • RE: Remote users not part of the domain
    ... The Change Server IP Address Wizard locates at Server Management\Standard ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... Ethernet adapter Wireless Network Connection: ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote Access Routing Questions
    ... Based on my search, the VPN connection ... The difference of both methods is that the client VPN setup ... 825763 How to configure Internet access in Windows Small Business Server ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)