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 3664408
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:38:34+00:00 2026-05-19T01:38:34+00:00

I hope somebody can assist in pointing out my ignorance by solving this problem…

  • 0

I hope somebody can assist in pointing out my ignorance by solving this problem… 🙂

I have just installed a new DNN site on http://www.digitalrefraction.com, and all is working fine there.
I also have an unrelated ASP.Net MVC 2.0 (with extensionless URLs – for what that is worth) application running in a subfolder on that domain, in the following URL:
http://www.digitalrefraction.com/refractor

I can do HTTP GET requests just fine to my sub application. However, the moment I do a POST I get an “Authentication Required” dialog box that says: “Enter a username and password for http://www.digitalrefraction.com“.

Now I am confused. Why do POSTS and GETS to the main domain work fine, but then when I do a POST to the sub application, I get challenged for the main domain’s authentication? But GETs to the sub application works!

Yes, I have checked the main DNN site’s web.config, and have found no authorization entries at all. I tried adding some to allow anonymous access to /refractor, but that made no difference.
Also checked my sub applications web.config.
I am somewhat at a loss.

Note, I am talking about a sub application (sub folder), not a sub domain.

Any tips or ideas, or straight answers, will be greatly appreciated. 🙂

Thanx.

  • 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-19T01:38:35+00:00Added an answer on May 19, 2026 at 1:38 am

    Ok, thanx to Cybernate, I re looked at the whole thing.
    Essentially the login of my sub-app did not work, and as a result, the controller that handled the HTTP POST, and that required security, resulted in the challenge for authentication.

    The reason that the login was not working was because of the whole nested application setup and inheriting from the root DNN site’s web.config.

    The specific problem; the app was throwing errors because of some settings it was inheriting from the root web.config, so I inserted a <clear /> at the top of some sections such as httpmodules to get rid of the inherited DNN modules. Turns out, there are some modules loaded by default that aren’t the ones specified in the DNN’s web.config. Some of them having to do with authentication. So clearring them basically broke my login.

    In the end, instead of <clear /> I added a <remove ... /> for each of the DNN httpmodules that were configured in the DNN web.config. In this way I got rid of the stuff I didn’t want / need, but still retained the modules that were needed for my app to work.

    It was a serious pain, but glad it’s over now! Advice: stay away from nested ASP.Net applications, unless you really need them.

    Come to think of it, isn’t there a setting (global to application scope) that means “DO NOT INHERIT ANY SETTING FROM ANY PARENT APPLICATION / web.config”? That would have been extremely helpful!

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

Sidebar

Related Questions

i have a problem with jquery/visible. Hope somebody can help me. This code works,
I hope somebody can help work out to do this. Basically, I have a
I have a small problem, but I hope somebody can help. Let's say that
This is a total dah question but I hope somebody can help me out.
Hope somebody can help me. I am just learning C# and I have a
Hi i have stepped into some problem related to timer. hope somebody can help..
Hope somebody can help me out of this confussion. I made this method: public
Hope to get solution to this problem. I have been stuck on it since
HI, I hope somebody can help me here with the extjs framework. The problem
I hope somebody can give me an advice... Problem In source directory of my

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.