February 2010 - Posts

When working in an environment that utilises a proxy server you may see the following error when trying to connect to a Report Server using Reporting Services Scripter

"The request failed with HTTP Status 407. Proxy authentication required."

In order to fix this you need to create a configuration file for RSScripter.exe

  1. Create a file called RSScripter.exe.config in the same folder as RSScripter.exe
  2. Copy the following into the file and replace http://yourproxy with your proxy details

<configuration>
    <system.net>
        <defaultProxy enabled="true" useDefaultCredentials="true">
            <proxy bypassonlocal="True" proxyaddress="http://yourproxy"/>
        </defaultProxy>
    </system.net>
</configuration>

You can read more details about this error and how to correct it for Visual Studio here http://support.microsoft.com/kb/910804