Web Configuration issue

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my web.config file I have placed the following settings:
<authentication mode="Forms">
<forms
name=".tqSecure"
loginUrl="/Login.aspx"
protection="All"
timeout="80"
/>
</authentication>
<authorization>
<deny users="?" />
</authorization>

when I try to access a page in the directory where I placed this config file
I get the following error:

Exception Details: System.Configuration.ConfigurationException: Unable to
retreive configuration section 'system.web/healthMonitoring'.

I have no idea what this means or what the problem could be because I should
be redirected to the login page but I am getting the above exception error
message. Can someone tell me whats wrong here or could it be that the path
to the login page is incorrect?

Anyhow help with this question will be greatly appreciated.

Thank you in advance.

Sam-
 
Check for the section <healthMonitoring> in <system.web>.

It seems, you do not have a <sectionGroup> or <section> defined. It has
nothing to do with <authentication> and <authorization>
 
I have the same trouble, My sites are placed on different HDD's. ON C: drive it work fine but on the other drive where sites are, it give me a similar error ! Please advice me at (e-mail address removed)
In my web.config file I have placed the following settings:
<authentication mode="Forms">
<forms
name=".tqSecure"
loginUrl="/Login.aspx"
protection="All"
timeout="80"
/>
</authentication>
<authorization>
<deny users="?" />
</authorization>

when I try to access a page in the directory where I placed this config file
I get the following error:

Exception Details: System.Configuration.ConfigurationException: Unable to
retreive configuration section 'system.web/healthMonitoring'.

I have no idea what this means or what the problem could be because I should
be redirected to the login page but I am getting the above exception error
message. Can someone tell me whats wrong here or could it be that the path
to the login page is incorrect?

Anyhow help with this question will be greatly appreciated.

Thank you in advance.

Sam

User submitted from AEWNET (http://www.aewnet.com/)
 
Back
Top