Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4079068
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:45:14+00:00 2026-05-20T17:45:14+00:00

I have created a blank asp.net website consisting of a blank default.aspx page, its

  • 0

I have created a blank asp.net website consisting of a blank default.aspx page, its .cs file, a login.aspx page and its .cs and a web.config. I’m looking to test .net authentication as seen in here on the MSDN site. I’ve copied everything as shown in the article. I set up the site in IIS6 now when I go to the site I get the runtime error with the:

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

message. when I add the customErrors mode=”On” tag to the web.config I still get this error like its not looking at the web.config. I’ve triple checked IIS and its definitely looking at the right site folder. Here’s my web.config:

<?xml version="1.0"?>   
 <configuration>

        <system.web>
          <customErrors mode="On"/>
           <authentication mode="Forms">
             <forms loginUrl="Logon.aspx" name=".ASPXFORMSAUTH">
             </forms>
           </authentication>

          <authorization>
            <deny users="?" />
          </authorization>
           <compilation debug="false" targetFramework="4.0" />

        </system.web>

    </configuration>

I usually set sites up through CMS installations. This is the first time I’ve done one from a blank site in visual studio. Is there more you need to add to web.config?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T17:45:15+00:00Added an answer on May 20, 2026 at 5:45 pm

    You need to set

    Not “On” to see the actual error with stacktrace.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created blank Asp.Net-MVC 3 web application and want to write my own
I'm creating a login page. I want to create ASP.NET TextBox controls that have
i am developing a website using asp.net 3.5.i have created a cascading dropdownlist for
I have created blank C#/XAML Windows 8 application. Add simple XAML code: <Page x:Class=Blank.MainPage
I have a Web Service for my ASP.NET MVC 3 app which creates a
I have a this asp.net page which upon first time load: 1: Make a
in my asp.net page i have register page. i want to create a xml
I have the problem when I create blank wpf .Net 3.5 project. Visual studio
I have a weird problem. I create this window, but its blank until i
I am using ASP.Net MVC. I have a partial view which has a form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.