# Remote Approval: Web Exception Error 401

**URL:** <https://discuss.workflowgen.com/t/remote-approval-web-exception-error-401/130>\
**Category:** Installation\
**Created:** [April 15, 2014, 1:55am UTC](https://discuss.workflowgen.com/t/remote-approval-web-exception-error-401/130 "2014-04-15T01:55:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wfg-admin](https://yyz2.discourse-cdn.com/flex030/user_avatar/discuss.workflowgen.com/wfg-admin/32/714_2.png) [@wfg-admin](https://discuss.workflowgen.com/u/wfg-admin)\
**Post date:** [April 15, 2014, 1:55am UTC](https://discuss.workflowgen.com/t/remote-approval-web-exception-error-401/130/1 "2014-04-15T01:55:17Z")

</div>

**Remote Approval log files** `\wfgen\App_Data\LogFiles\RemoteApproval`

**Complete error message:**

```auto
WebException Error: Check Exchange server address and security type.

The request failed with HTTP status 401: Unauthorized.; at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

 at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

 at EmailListener.EWS.ExchangeServiceBinding.FindItem(FindItemType FindItem1)

 at EmailListener.Exchange2007\_2010.StartProcess(); System.Web.Services;

```

**Solution**

The Basic Authentication for the Active Directory account associated to the email address must have permissions to open a session locally on the Exchange Server **and** the web server.
