Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

IIS 7.5 is throwing access denied error

$
0
0

Dear Friends, I am a bit new to the web hosting in the IIS server. I have developed a website which is reading the data from the remote folder located in a remote system. When this website is hosted in the IIS server, the website started throwing the accees denied error while reading from this folder.

 

"

Access to the path '\\xxxxx\Logs\' is denied.

Description:An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path '\\AP0461\ClarifyCRM\ClarifyCRM\Server\rulemgr\Logs\' is denied.

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 and IIS 7, and the configured application pool identity on IIS 7.5) 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.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

I have checked and realized from IIS 7 or later version, we need to give permissions for the application pool as well, however i am not able to find out the application pool information in the remote system and i am afraid this will be only available as a local one. any help is highly appreciated. thanks a million in advance


Viewing all articles
Browse latest Browse all 27852

Trending Articles