• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

Application pool Access to the path ... is denied. ASP.NET C#

We have configured one Application Pool in one domain suppose www.aaa.com is working perfect we can write files to the directories and everything but we are using the same Application Pool for other domain inside the same IIs 7.0 called www.bbb.com but in www.bbb.com give us the error "Access to the path ... is denied" what could be if that Application Pool runs perfect in www.aaa.com?
Alex E.
Alex E.
2 Solutions
Emmanuel AdebayoGlobal Windows Infrastructure Engineer - ConsultantCommented:
Check the permission on the folder path for www.aaa.com and compare this to the permission on the folder path on www.bbb.com, it's obviously the permission issue due to the account that is running the application pool.

Are you sure it's an application pool issue?

I think the obvious suggestion would be to put bbb.com in it's own application pool. If it's a pool issue, that should resolve it.  You should probably do that anyway, unless both sites are the same app, in which case, site binding should resolve it.   I think every production site or service should be in its own pool. I've yet to hear a good reason to not do that.
Alex E.Author Commented:
Worked. Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now