<customErrors mode="Off"/> troubles

  • Thread starter Thread starter Menno Abbink
  • Start date Start date
M

Menno Abbink

Hey All,

I'm developing a new website and I want the customer to be able to se my
work in progress so I have set up a server behind my ADSL-router. The server
is using W2003.

I've created a new website and uploaded some files to test the site.
Anonymous access isn't allowed. After I've logged on to the site I see this
message:


Server Error in '/' Application.
----------------------------------------------------------------------------
----

Runtime Error
Description: An application error occurred on the server. The current custom
error settings for this application prevent the details of the application
error from being viewed remotely (for security reasons). It could, however,
be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrors> tag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrors> tag should then have its "mode" attribute
set to "Off".

But I don't get this, because this is my web.config file:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="vb" debug="true" />

<customErrors mode="Off"/>

<authentication mode="Windows" />

<authorization>
<allow users="*" /> <!-- Allow all users -->
</authorization>

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

</system.web>
</configuration>

What am I missing here?

Thanks!
 
Back
Top