I get Internal server errors when I try to get something from the server. This is what I get from the "Test-CSAddressBookService":
PS C:\Users\testuser> Test-CsAddressBookService -TargetFqdn wak-lync.testdomain.com -UserCredential testdomain\testuser -UserSipAddress "sip:testuser@testdomain.com" -verbose VERBOSE: Workflow Instance Id 42f8f454-5d02-48b2-8b8e-4ecaf6dba5e0, started. Connecting to web service : https://wak-lync.testdomain.com:443/WebTicket/WebTicketService.svc Using IWA authentication Successfully created connection proxy and website bindings Requesting new web ticket Sending Web-Ticket Request: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Issue</Action></s:Header><s:Body><RequestSecurityToken xmlns="http://docs.oasis-open.org/ws-sx/ws-trust/200512"><TokenType>http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.1#SAMLV1.1</TokenType><RequestType>http://schemas.xmlsoap.org/ws/2005/02/trust/Issue</RequestType><AppliesTo xmlns="http://schemas.xmlsoap.org/ws/2004/09/policy"><EndpointReference xmlns="http://www.w3.org/2005/08/addressing"><Address>https://wak-lync.testdomain.com/WebTicket/WebTicketService.svc</Address></EndpointReference></AppliesTo><Entropy><BinarySecret>BMLGyAK9H+6w1rrdFY+I2oSy39FMyfy86/WwJoTK0nE=</BinarySecret></Entropy><KeyType>http://docs.oasis-open.org/ws-sx/ws-trust/200512/SymmetricKey</KeyType></RequestSecurityToken></s:Body></s:Envelope> ERROR communicating with GetWebTicket() service System.ServiceModel.ProtocolException: The content type text/html of the response message does not match the content type of the binding (text/xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><title>500 - Internal server error.</title><style type="text/css"><!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;position:relative;} --></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"><div class="content-container"><fieldset> '. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Rtc.Internal.WebTicketService.IWebTicketService.IssueToken(Message request) at Microsoft.Rtc.SyntheticTransactions.WebServicesHelper.GetWebTicket() TargetUri : https://wak-lync.testdomain.com:443/abs/handler TargetFqdn : wak-lync.testdomain.com Result : Failure Latency : 00:00:00 Error : ERROR - No response received for Web-Ticket service. Inner Exception:The content type text/html of the response message does not match the content type of the binding (text/xml; charset =utf-8). If using a custom encoder, be sure that the IsContentType Supported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 S trict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-88 59-1"/><title>500 - Internal server error.</title><style type="text/css"><!-- body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica , sans-serif;background:#EEEEEE;} fieldset{padding:0 15px 10px 15px;} h1{font-size:2.4em;margin:0;color:#FFF;} h2{font-size:1.7em;margin:0;color:#CC0000;} h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;} #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family :"trebuchet MS", Verdana, sans-serif;color:#FFF; background-color:#555555;} #content{margin:0 0 0 2%;position:relative;} .content-container{background:#FFF;width:96%;margin-top:8px;paddin g:10px;position:relative;} --></style></head><body><div id="header"><h1>Server Error</h1></div><div id="content"><div class="content-container"><fieldset> '. Inner Exception:The remote server returned an error: (500) Interna l Server Error. Diagnosis : VERBOSE: 'Register' activity started. Sending Registration request: Target Fqdn = wak-lync.testdomain.com User Sip Address = sip:testuser@testdomain.com Registrar Port = No Port is provided.. Auth Type 'IWA' is selected. Registration Request hit against sip/WAK-LYNC.testdomain.com 'Register' activity completed in '0.3157031' secs. 'ReadUriFromInBandProvisioningDataActivity' activity started. 'ReadUriFromInBandProvisioningDataActivity' activity completed in '0.0002991' secs. 'UnRegisterActivity' activity started. 'UnRegisterActivity' activity completed in '0.0102002' secs. 'STActivity' activity started. Trying to get web ticket. Web Service url : https://wak-lync.testdomain.com:443/WebTicket/WebTicketService.svc Using NTLM\Kerb auth. Could not get a web ticket CHECK: - Web service url is valid and the web services are functional - If using PhoneNo\PIN to authenticate, make sure they match the user uri - If using NTLM\Kerberos auth, make sure you provided valid credentials An exception 'ERROR - No response received for Web-Ticket service.' occurred during Workflow Microsoft.Rtc.SyntheticTransactions.Workflows.STAbsWorkflow execution. Exception Call Stack: at Microsoft.Rtc.SyntheticTransactions.WebServicesHelper.GetWebTicket() at Microsoft.Rtc.SyntheticTransactions.Activities.GetWebTicketActivity.InternalExe cute(ActivityExecutionContext executionContext) at Microsoft.Rtc.SyntheticTransactions.Activities.STActivity.Execute(ActivityExecu tionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.CompositeActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext) at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRunti me workflowCoreRuntime) at System.Workflow.Runtime.Scheduler.Run() Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse( HttpWebRequest request, HttpWebResponse response, HttpChannelFactory factory, WebException responseException, ChannelBinding channelBinding) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelR equest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessa ge methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Microsoft.Rtc.Internal.WebTicketService.IWebTicketService.IssueToken(Message request) at Microsoft.Rtc.SyntheticTransactions.WebServicesHelper.GetWebTicket() VERBOSE: Workflow Instance Id 42f8f454-5d02-48b2-8b8e-4ecaf6dba5e0, completed. VERBOSE: Workflow Execution Time (sec): 0.481
When I look at the server I see the following in the log:
2012-07-10 15:02:09 10.128.1.16 POST /WebTicket/WebTicketService.svc - 443 TESTDOMAIN\g01 10.10.20.115 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 218 2012-07-10 15:02:09 10.128.1.16 POST /groupexpansion/service.svc - 443 TESTDOMAIN\g01 10.10.20.115 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 0 2012-07-10 15:02:12 10.128.1.16 POST /WebTicket/WebTicketService.svc/cert - 443 TESTDOMAIN\e01 10.10.30.105 OC/4.0.7577.0+(Microsoft+Lync+2010) 500 0 0 15 2012-07-10 15:02:12 10.128.1.16 POST /WebTicket/WebTicketService.svc - 443 TESTDOMAIN\e01 10.10.30.105 OC/4.0.7577.0+(Microsoft+Lync+2010) 500 0 0 0 2012-07-10 15:02:15 10.128.1.16 POST /WebTicket/WebTicketService.svc - 443 TESTDOMAIN\k01 10.10.20.59 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 46 2012-07-10 15:02:15 10.128.1.16 POST /groupexpansion/service.svc - 443 TESTDOMAIN\k01 10.10.20.59 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 202 2012-07-10 15:02:18 10.128.1.16 POST /WebTicket/WebTicketService.svc - 443 TESTDOMAIN\g02 10.10.11.53 OC/4.0.7577.0+(Microsoft+Lync+2010) 500 0 0 31 2012-07-10 15:02:18 10.128.1.16 POST /groupexpansion/service.svc - 443 TESTDOMAIN\g02 10.10.11.53 OC/4.0.7577.0+(Microsoft+Lync+2010) 500 0 0 202 2012-07-10 15:02:18 10.128.1.16 POST /WebTicket/WebTicketService.svc - 443 TESTDOMAIN\k01 10.10.20.59 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 46 2012-07-10 15:02:18 10.128.1.16 POST /groupexpansion/service.svc - 443 TESTDOMAIN\k01 10.10.20.59 OC/4.0.7577.4098+(Microsoft+Lync+2010) 500 0 0 218
So I see it is not only a address book issue, though it is the first visible hint you get about it. I also get the Password request window for "Retrieving Response Groups" after the log in.
I looked at similar issues, but what I found was mainly Kerberos issues, but that is not the case here, the user is able to access the folders.