Thursday, October 13, 2011
« Fix for Zune Error 80040154 | Main | Case Sensitive MindF**k Part 1 SharePoin... »

 

So we have a development VM thats pretty fully loaded with software, Sharepoint 2010, Project Server 2010 and CRM 2011.

For some reason the First Azure project on this machine refused to deploy to the local development App Fabric. The deployment hung and never completed.

 Do You Want to Wait

StartWindowsAzure

 

Nothing was posted in the event logs but there were items in the VS output screen about failing to write to the logs. Nice.

LogFiles

A search for those files found lots of Azure log folders in %localappdata%\dftmp

 LogfileLocation

In DFAgentLogs and the DFAgent.log file I found this

[2011/10/13, 10:46:12.145,  INFO, 00011572] There is already a listener on IP endpoint 0.0.0.0:808.  Make sure that you are not trying to use this endpoint multiple times in your application and that there are no other applications listening on this endpoint.
[2011/10/13, 10:46:12.639,  INFO, 00011572]    at System.ServiceModel.Channels.SocketConnectionListener.Listen()
   at System.ServiceModel.Channels.BufferedConnectionListener.Listen()
   at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
   at System.ServiceModel.Channels.TransportManager.Open..

 

Now we’re getting somewhere, the App Fabric Development Agent is trying to listen on port 808 and failing as another process has this port in use

A netstat –ano command shows the process id that is listening on that port

NetStat

The Tasklist command tasklist /fi “PID eq 11400” shows that an exe call SMSVCHost.exe is listening on port 808

SMSvcHost

Thats the Net.TCP Port Sharing service. So the port sharing service is stopping a port being used. Marvellous.

SMSVCHostService

I’m not sure which of the installed software set that service to automatically start.

After stopping the service and restarting the Development Fabric the deployment succeeded.

Thursday, October 13, 2011 12:43:36 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [2]  |  Related posts:

Friday, November 04, 2011 10:13:21 PM (GMT Standard Time, UTC+00:00)
Great post! I've been looking into this all day. Nearly, nearly sorted it myself - I'd gotten to the netstat part, but hadn't resolved the process ID. Good job!
Davey
Thursday, November 17, 2011 7:44:45 AM (GMT Standard Time, UTC+00:00)
I am still facing this problem . . pls help me..
Comments are closed.