NT Hosted WCF Service With MSMQ fails to stop cleanly and Locks Up -
this problem has had me baffled weeks on client's live environment.
the wcf service hosted on windows server 2003, , has both http , msmq endpoints.
when placing service in test environment, service cleanly starts , stops, , messages passed without problems. on live environment, service starts fine, not exit cleanly.
when attempting stop service, machine takes long time respond , displays error saying service not stopped. inspecting error on event log, says unable write msmq queue (access denied), however, service able read , remove messages queue. if 1 refreshes service manager, service in fact stopped.
the msmq queue hosted on different physical machine, , have been unable reproduce error on test environment.
we not sure if related or not, service stop pulling messages queue. has been solved restarting service. again, have not been able reproduce error.
recently experienced error http based client upon midnight 1 night, service started rejecting connections following exception:
the http request unauthorized client authentication scheme 'anonymous'. authentication header received server 'negotiate,ntlm'. ---> system.net.webexception: remote server returned error: (401) unauthorized.
even more curious, restarting service seems correct problem.
if has seen before or has comments, appreciated!
speaking colleague, apparently setting servicemodelex throttling options "1" lock ups on msmq based wcf services.
Comments
Post a Comment