I cannot start AD FS windows service in services.msc, it shows error:
Windows could not start AD FS 2.0 Windows Service service on Local Computer.
Error 1064: An exception occurred in the service when handling the control request.
And i can see following error in Windows Event, what shall i do? :
Log Name: AD FS 2.0/Admin
Source: AD FS 2.0
Date: 4/18/2012 4:26:02 PM
Event ID: 220
Task Category: None
Level: Error
Keywords: AD FS
User: NETWORK SERVICE
Computer: WIN-CITKF3C8R0O.guyuming.com
Description:
The Federation Service configuration could not be loaded correctly from the AD FS configuration database.
Additional Data
Error:
There is already a listener on IP endpoint :::1500. 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.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="AD FS 2.0" Guid="{20E25DDB-09E5-404B-8A56-EDAE2F12EE81}" />
<EventID>220</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000001</Keywords>
<TimeCreated SystemTime="2012-04-18T08:26:02.097156100Z" />
<EventRecordID>1986</EventRecordID>
<Correlation />
<Execution ProcessID="7256" ThreadID="7184" />
<Channel>AD FS 2.0/Admin</Channel>
<Computer>WIN-CITKF3C8R0O.guyuming.com</Computer>
<Security UserID="S-1-5-20" />
</System>
<UserData>
<Event xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
<EventData>
<Data>There is already a listener on IP endpoint :::1500. 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.</Data>
</EventData>
</Event>
</UserData>
</Event>
Log Name: AD FS 2.0/Admin
Source: AD FS 2.0
Date: 4/18/2012 4:26:02 PM
Event ID: 202
Task Category: None
Level: Error
Keywords: AD FS
User: NETWORK SERVICE
Computer: WIN-CITKF3C8R0O.guyuming.com
Description:
The Federation Service configuration service could not be opened.
Additional Data
Exception details:
System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint :::1500. 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. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.ServiceModel.Channels.SocketConnectionListener.Listen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SocketConnectionListener.Listen()
at System.ServiceModel.Channels.BufferedConnectionListener.Listen()
at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.IdentityServer.Service.SecurityTokenService.ServiceHostManager.Open(ServiceHostEntry entry)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="AD FS 2.0" Guid="{20E25DDB-09E5-404B-8A56-EDAE2F12EE81}" />
<EventID>202</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000001</Keywords>
<TimeCreated SystemTime="2012-04-18T08:26:02.070154600Z" />
<EventRecordID>1984</EventRecordID>
<Correlation />
<Execution ProcessID="7256" ThreadID="7184" />
<Channel>AD FS 2.0/Admin</Channel>
<Computer>WIN-CITKF3C8R0O.guyuming.com</Computer>
<Security UserID="S-1-5-20" />
</System>
<UserData>
<Event xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://schemas.microsoft.com/ActiveDirectoryFederationServices/2.0/Events">
<EventData>
<Data>configuration service</Data>
<Data>System.ServiceModel.AddressAlreadyInUseException: There is already a listener on IP endpoint :::1500. 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. ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.ServiceModel.Channels.SocketConnectionListener.Listen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SocketConnectionListener.Listen()
at System.ServiceModel.Channels.BufferedConnectionListener.Listen()
at System.ServiceModel.Channels.ExclusiveTcpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.TcpChannelListener`2.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at Microsoft.IdentityServer.Service.SecurityTokenService.ServiceHostManager.Open(ServiceHostEntry entry)</Data>
</EventData>
</Event>
</UserData>
</Event>