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>
Happy Hacking,
Gaurav Vaish
http://www.mastergaurav.org
--
"I am Sam" <IamSam@.discussions.microsoft.com> wrote in message
news:3F3213FC-A673-42C9-9BB4-AC45D80EDEF8@.microsoft.com...
> 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-
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 e
rror ! Please advice me at admin@.talente.ro
> 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 fi
le
> 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 shou
ld
> 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 pa
th
> 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/)
Wednesday, March 28, 2012
Web Configuration issue
Labels:
asp,
config,
configuration,
file,
following,
net,
placed,
settingsltauthentication,
web
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment