Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > <customErrors> tag should have its "mode" attribute set to "Off".

Reply
Thread Tools

<customErrors> tag should have its "mode" attribute set to "Off".

 
 
jasari jasari is offline
Junior Member
Join Date: Aug 2006
Posts: 2
 
      08-30-2006
Hi all,
I am running a vb.net application on windows 2003 server and the following error occures. I have checked the config file and the mode attrribute is set to "Off".

Any ideas what else might cause this error?

thanks

Server Error in '/abeltools/Admin' 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".


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.


<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
 
Reply With Quote
 
 
 
 
RaveeMathi777 RaveeMathi777 is offline
Junior Member
Join Date: Aug 2006
Posts: 1
 
      08-31-2006
1. Check if you have created the virtual directory for your application or delete the existing virtual directory, create a new Virtual directory, restart IIS and access your page.

If the problem persist, check the permission on your the following folder:
%WINDIR%\Microsoft.NET\Framework\v1.1.4322\Tempora ry ASP.NET Files
This folder should have 'full control' for LOCAL SERVICE,NETWORK SERVICE and the root folder of you website (e.g.WWWROOT) should have the 'full control' permission for LOCAL SERVICE, NETWORK SERVICE.

One of these options might help you to resolve.

Thanks,
R
 
Reply With Quote
 
 
 
 
jasari jasari is offline
Junior Member
Join Date: Aug 2006
Posts: 2
 
      09-13-2006
Thanks for your response, recreating the virtual directory didn't solve the problem, so I checked the permission for the folder: The "Temporary ASP.NET" folder does have full control permission for both Local and Network services. They don't have special permissions though, does that matter?
How can I add Special permission for this folder?

thanks, J
 
Reply With Quote
 
fredde_d fredde_d is offline
Junior Member
Join Date: Apr 2007
Posts: 2
 
      04-04-2007
Are you running the correct version of .net?

If your code is written in 2.0 but the virtual directory is configured for 1.1 you can experience that problem the the Off parameter doesn't have any effect.

/Fredrik
 
Reply With Quote
 
fredde_d fredde_d is offline
Junior Member
Join Date: Apr 2007
Posts: 2
 
      04-04-2007
Sorry.. Just realized that this was an quite old post...

/Fredrik
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Its a bird, its a plane, its.. um, an Attribute based System? thunk Ruby 14 04-03-2010 10:08 AM
Its a bird, its a plane, its.. um, an Attribute based System? thunk Ruby 0 04-01-2010 10:25 PM
Its a bird, its a plane, no ummm, its a Ruide thunk Ruby 1 03-30-2010 11:10 AM
[XSLT] Select node by attribute with value from an attribute of its self Stefan_W XML 1 11-05-2008 10:50 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM



Advertisments