Problems With the <location> element in my Web.Config

G

Guest

Im trying to setup impersonation in the root directory and turn it off (
false ) in another directory. im doing to allow my crystal reports to work (
as i get the login failed message ) and also ensure that only certain people
has access to the maintenance folder ( impersonation = true ). Here is the
webconfig :

<?xml version="1.0" encoding="utf-8"?>
<configuration>

<system.web>

</system.web>

<location path="~/Maintenance">
<system.web>
<identity impersonate="false"/>
</system.web>
</location>


</configuration>
 
G

Guest

ALSO IN ADDITION TO THE DETAILS BELOW

This is the complete web.config ( well with the relavent parts )

<configuration>

<system.web>
<identity impersonate="true"/>
</system.web>

<location path="~/Maintenance">
<system.web>
<identity impersonate="false"/>
</system.web>
</location>
</configuration>

ive tried with the tilde and without it. it continues to use the NT
AUTHORITY\NETWORK SERVICE instread of changing to the administrator account (
which im logged on as ) when i access the maintenance website

any help would be apprecaited
thanks !
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top