• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • 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?
0
Alex E.
Asked:
Alex E.
2 Solutions
 
Emmanuel AdebayoCommented:
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.

Regards
0
 
funwithdotnetCommented:
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.
0
 
Alex E.Author Commented:
Worked. Thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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