PC Review


Reply
Thread Tools Rate Thread

<customErrors mode="Off"/> troubles

 
 
Menno Abbink
Guest
Posts: n/a
 
      9th Jul 2004
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!


 
Reply With Quote
 
 
 
 
Greg Burns
Guest
Posts: n/a
 
      9th Jul 2004
Any syntax error in your web.config will cause that sort of message.

HTH,
Greg

"Menno Abbink" <(E-Mail Removed)> wrote in message
news:40eeb09a$0$36861$(E-Mail Removed)...
> 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!
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
customErrors mode="Off" does not work Andy Fish Microsoft ASP .NET 0 31st Mar 2008 11:08 AM
Runtime Error and <customErrors mode="Off"/> for Visual Studio 2005 moondog Microsoft Dot NET 2 3rd Apr 2007 09:35 PM
<customErrors mode="Off"/> ERROR Savas Ates Microsoft ASP .NET 5 19th Dec 2005 03:34 PM
customErrors mode="Off" does not work!! Julia Microsoft ASP .NET 4 29th Jun 2005 09:13 PM
Setting <customErrors mode="Off"> Winshent Microsoft Dot NET Framework 5 21st Jul 2004 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:08 AM.