G
Garrett
Hi all,
I am trying to access folders on an Active Directory network share in
my ASP code.
In my config file I have the following:
<identity impersonate="true" userName="OURDOMAIN\myusername"
password="mypass"/>
I am able to access the share through other means so I know my user
account has access, but I still get the following error when I try
through my code:
"ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically
{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
the application is not impersonating. If the application is
impersonating via <identity impersonate="true"/>, the identity will be
the anonymous user (typically IUSR_MACHINENAME) or the authenticated
request user. "
Any help?
I am trying to access folders on an Active Directory network share in
my ASP code.
In my config file I have the following:
<identity impersonate="true" userName="OURDOMAIN\myusername"
password="mypass"/>
I am able to access the share through other means so I know my user
account has access, but I still get the following error when I try
through my code:
"ASP.NET is not authorized to access the requested resource. Consider
granting access rights to the resource to the ASP.NET request
identity. ASP.NET has a base process identity (typically
{MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if
the application is not impersonating. If the application is
impersonating via <identity impersonate="true"/>, the identity will be
the anonymous user (typically IUSR_MACHINENAME) or the authenticated
request user. "
Any help?