I am trying to debug an issue regarding the proxy setting in web.config. Currentley it is set to:

    <defaultProxy enabled="true" useDefaultCredentials="true">  
        <proxy bypassonlocal="true" proxyaddress="http://xx.xx.xx.xx:8080" />

On my local machine it works fine (Windows 7). It is using my user credditals and is getting through.

On the server I am getting the following error:

ProtocolError occured trying to complete the request. The server returned a status code of : ProxyAuthenticationRequired and the status description is : "Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )"

I am trying to rule out an enviomental issue and show that it is a permission issue on the proxy server. Todo this I want to change my SharePoint locally to run under the same account as the server.

In IIS Ihave changed the application pool account to run under the same account as the server, I have given the account Owner perms on the content database. I have perofmred an IISreset (and a PC reboot) but when I go to the site I get:

Cannot connect to the configuration database.

What else could be going wrong to stop the application running?

1 Answer 1


Whatever ID the application pool is running as needs 1) proper permissions to the config database (see this info from Microsoft) 2) inclusion in the proper security groups on the local machine (these usually start with WSS_) and 3) permission to go through the proxy using a windows credential rather than a forms-style login. If you are in a large corporate environment, then I wish you luck getting a service account granted permission to go through the proxy.

  • 2) inclusion in the proper security groups on the local machine (these usually start with WSS_) was what I was missing.
    – John
    Nov 17, 2011 at 11:53
  • Still fails on my local machine but have ruled out it being environmental. :) Perms problem with the account so back to IT.
    – John
    Nov 17, 2011 at 11:54
  • In your post, it mentioned that you changed the permissions on the CONTENT db - did you also change them on the CONFIG? They are different databases.
    – Dave Wise
    Nov 17, 2011 at 15:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.