对于500错误,只能去该exchange服务器上查看windows的应用程序日志:
详细信息如下
System.ServiceModel.ServiceHostingEnvironment+HostingManager/48948582
System.ServiceModel.ServiceActivationException: 由于编译过程中出现异常,无法激活服务“/EWS/exchange.asmx”。异常消息为: 此集合已经包含方案 http 的地址。此集合中每个方案中最多只能包含一个地址。参数名: item。 ---> System.ArgumentException: 此集合已经包含方案 http 的地址。此集合中每个方案中最多只能包含一个地址。参数名: item 在 System.ServiceModel.UriSchemeKeyedCollection.InsertItem(Int32 index, Uri item) 在 System.Collections.Generic.SynchronizedCollection`1.Add(T item) 在 System.ServiceModel.UriSchemeKeyedCollection..ctor(Uri[] addresses) 在 System.ServiceModel.ServiceHost..ctor(Type serviceType, Uri[] baseAddresses) 在 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) 在 System.ServiceModel.Activation.ServiceHostFactory.CreateServiceH