When I Debug the ImageServer.sln, and set the ClearCanvas.ImageServer.ShredHostService as StartUp Project, I get the following error:
"2012-07-27 16:08:30,046 [Main thread] INFO - Starting Server Shred Host Service...
2012-07-27 16:08:32,343 [Main thread] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:08:32,421 [Main thread] INFO - Starting up in AppDomain [ClearCanvas.ImageServer.ShredHostService.vshost.exe]
2012-07-27 16:08:34,640 [ArchivingServer] INFO - ClearCanvas.ImageServer.Services.Archiving.Shreds.ArchivingShredExtension[ClearCanvas.ImageServer.Services.Archiving.Shreds.ArchivingShredExtension]: Start invoked
2012-07-27 16:08:35,109 [ServiceLock Server] INFO - ClearCanvas.ImageServer.Services.ServiceLock.Shreds.ServiceLockServerExtension[ClearCanvas.ImageServer.Services.ServiceLock.Shreds.ServiceLockServerExtension]: Start invoked
2012-07-27 16:08:35,984 [Dicom Server] INFO - ClearCanvas.ImageServer.Services.Dicom.Shreds.DicomServerExtension[ClearCanvas.ImageServer.Services.Dicom.Shreds.DicomServerExtension]: Start invoked
2012-07-27 16:08:37,140 [Study header Streaming Server] INFO - Starting Study header Streaming Server using basic Http binding
2012-07-27 16:08:37,906 [Study header Streaming Server] INFO - Starting WCF Shred HeaderStreaming...
2012-07-27 16:08:37,921 [Image Streaming Server] INFO - Started listening at http://+:1000/wado/
2012-07-27 16:08:38,515 [Work Queue Server] INFO - ClearCanvas.ImageServer.Services.WorkQueue.Shreds.WorkQueueServerExtension[ClearCanvas.ImageServer.Services.WorkQueue.Shreds.WorkQueueServerExtension]: Start invoked
2012-07-27 16:08:38,875 [Image Streaming Server] FATAL - Exception thrown
Unable to start Image Streaming Server
System.Net.HttpListenerException: Failed to listen on prefix 'http://+:1000/wado/' because it conflicts with an existing registration on the machine.
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at ClearCanvas.Server.ShredHost.HttpListenerShred.StartListening(AsyncCallback callback)
at ClearCanvas.ImageServer.Common.HttpServer.Start()
2012-07-27 16:08:42,468 [Remote Services Server] INFO - Mounting service AlertService
2012-07-27 16:08:42,750 [Study header Streaming Server] FATAL - Exception thrown
Unexpected exception starting Streaming Server Shred
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL http://+:50221/HeaderStreaming/. Another application has already registered this URL with HTTP.SYS. ---> System.Net.HttpListenerException: Failed to listen on prefix 'http://+:50221/HeaderStreaming/' because it conflicts with an existing registration on the machine.
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener.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 System.ServiceModel.Channels.CommunicationObject.Open()
at ClearCanvas.Server.ShredHost.WcfHelper.StartHost[TServiceType,TServiceInterfaceType](String name, String description, HostBindingType bindingType, Int32 httpPort, Int32 tcpPort)
at ClearCanvas.Server.ShredHost.WcfHelper.StartBasicHttpHost[TServiceType,TServiceInterfaceType](String name, String description, Int32 port)
at ClearCanvas.Server.ShredHost.WcfShred.StartBasicHttpHost[TServiceType,TServiceInterfaceType](String name, String description)
at ClearCanvas.ImageServer.Services.Streaming.Shreds.HeaderStreamingServer.Start()
2012-07-27 16:08:43,234 [Remote Services Server] INFO - on URI http://localhost:9998/ClearCanvas.I...ertService
2012-07-27 16:08:45,078 [Remote Services Server] INFO - Mounting service FilesystemInfoService
2012-07-27 16:08:45,093 [Remote Services Server] INFO - on URI http://localhost:9998/ClearCanvas.I...temService
2012-07-27 16:08:47,546 [Remote Services Server] FATAL - Exception thrown
Unexpected exception starting Web Services Server Shred
System.ServiceModel.AddressAlreadyInUseException: HTTP could not register URL http://+:9998/ClearCanvas.ImageServ...rtService/. Another application has already registered this URL with HTTP.SYS. ---> System.Net.HttpListenerException: Failed to listen on prefix 'http://+:9998/ClearCanvas.ImageServer.Common.ServiceModel.IAlertService/' because it conflicts with an existing registration on the machine.
at System.Net.HttpListener.AddAll()
at System.Net.HttpListener.Start()
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
--- End of inner exception stack trace ---
at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen()
at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at System.ServiceModel.Channels.TransportManagerContainer.Open(SelectTransportManagersCallback selectTransportManagerCallback)
at System.ServiceModel.Channels.TransportChannelListener.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.HttpChannelListener.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 System.ServiceModel.Channels.CommunicationObject.Open()
at ClearCanvas.Enterprise.Core.ServiceModel.ServiceMount.OpenServices()
at ClearCanvas.ImageServer.Services.Common.Shreds.RemoteServicesServer.MountWebServices()
at ClearCanvas.ImageServer.Services.Common.Shreds.RemoteServicesServer.Start()
2012-07-27 16:08:47,812 [Image Streaming Server] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:08:48,500 [DICOM Service Manager:23] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:08:48,640 [ServiceLock:22] INFO - ServiceLock Processor is running
2012-07-27 16:08:48,796 [ServiceLock Pool:25] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:08:48,796 [DICOM Service Manager:23] ERROR - Exception thrown
Unexpected exception when starting TCP listener
System.Net.Sockets.SocketException: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at System.Net.Sockets.TcpListener.Start(Int32 backlog)
at ClearCanvas.Dicom.Network.Listener.StartListening()
2012-07-27 16:08:48,828 [ServiceLock Pool:25] INFO - Filesystem Status:
Primary Filesystem : Enabled | Online | Readable | Writable | 26.17 GB Available
2012-07-27 16:08:48,828 [DICOM Service Manager:23] ERROR - Shutting down listener on 0.0.0.0:105
2012-07-27 16:08:48,828 [DICOM Service Manager:23] ERROR - Unexpected error starting to listen on 0.0.0.0:105
2012-07-27 16:08:49,000 [Work Queue Server] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:08:49,187 [WorkQueue:27] INFO - Work Queue Processor running...
2012-07-27 16:08:49,343 [DICOM Service Manager:23] ERROR - Unable to add IPv4 SCP handler for server partition Primary Partition
2012-07-27 16:08:49,343 [DICOM Service Manager:23] ERROR - Partition Primary Partition will not accept IPv4 incoming DICOM associations.
2012-07-27 16:08:49,890 [Study header Streaming Server] WARN - Time provider not found - defaulting to local machine time.
2012-07-27 16:09:10,265 [Main thread] INFO - Starting Server Shred Host Service...
2012-07-27 16:09:11,687 [Main thread] WARN - Time provider not found - defaulting to local machine time."
Is somebody know why? Looking forward your answers, thank you!