<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Note: use capital O on Off
Another idea:
This error can be caused by a virtual directory not being configured as an application in IIS.
And if the server is remote (and it probably is) then perhaps you have this line:
Collapse | Copy Code
<authentication mode="Windows" />
if so, you might be blocked by the server with Windows Authentication, you might want to remove that line...