I am finally able to generate and compile without much issue - except when I run the console app against the WCF service I get the following error:
System.ServiceModel.CommunicationException: An error occurred while receiving th
e HTTP response to http://localhost/PM4Service/EstimateService.svc. This could b
e due to the service endpoint binding not using the HTTP protocol. This could al
so be due to an HTTP request context being aborted by the server (possibly due t
o the service shutting down). See server logs for more details. ---> System.Net.
WebException: The underlying connection was closed: An unexpected error occurred
on a receive. ---> System.IO.IOException: Unable to read data from the transpor
t connection: An existing connection was forcibly closed by the remote host. ---
> System.Net.Sockets.SocketException: An existing connection was forcibly closed
by the remote host
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size,
SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev
edStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpCha
nnelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---
This happens on my Vista Ultimate, and Windows 2003 R2 Server (the only two tested with.). I can browse to the svc location, and also get the wsdl using the browser. The code is not alterred in any way from what us generated using the 473 svn code base.
So any ideas - I've checked that it hits my SQL Server (had to grant a few permissions there.), and alterred the Vista web server to the Classic ASP.NET Pool.
Mal.