Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Custom Error tagCustom Error tag
Previous
 
Next
New Post
10/17/2012 6:28 PM
 

Hi, my DNN 6 website shows me a page that says to create a <customError tag so i did as mentioned as on that page like

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

    </system.web>
    </customErrors>

</configuration>

upload then refresh the browser then i saw anther screen with a gray strip at the top that says Server Error, then a white box with gray thin border says

500 - Internal server error.

There is a problem with the resource you are looking for, and it cannot be displayed.

any idea why i am not seen the correct error info and why this web site start showing me Server Error page for no reason, thanks all
 
New Post
10/18/2012 3:45 PM
 
you have the closing tab for system.web inside your customErrors tag in your example.

If the original config file is also like that you can begin by reversing those two lines.

Bill
 
New Post
10/19/2012 5:14 AM
 

Thank you Mr.Bill for the quick reply, sorry for the mistake here , the original code i placed into config file is like this,

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

 regards

 
New Post
10/19/2012 6:08 AM
 
Sorry but is this a new config file you created somewhere? If yes, you can delete the file you have created, it is in the wrong place and the sysntax you have added to the file is wrong.

In the root of your dnn installation there should already be a file called web.config - that is the file you need to edit.

Inside that file there should already be a < system.Web> section consisting of several other tags. One of the existing tags should be < customErrors> and you should only be changing the value of that existing tag.

Bill

 
New Post
10/19/2012 6:26 PM
 
Thanks for reply , I just edit the existing web.config file found under /httpdocs but i haven't found any or < customErrors > tag in that existing config file,

regards
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Custom Error tagCustom Error tag


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out