vondip
vondip

Reputation: 14039

iis 7 \ windows 7 asp.net access is denied

I am trying a very simple action of saving a file into a folder of mine. I am hosting my application on windows 7 using iis 7. When I try saving my file I get the following error:

Access to the path 'C:\MyWebsite\MyFolder' is denied

I am not impersonating, I have given network service full control on the folder. What can be causing this?

Thank you!

Sorry: My mistake, apprently I have an installation of iis 7 (not 7.5)

Upvotes: 2

Views: 2036

Answers (1)

Raelshark
Raelshark

Reputation: 3075

If you never solved this, something else to check - are you overwriting an existing file? If so, make sure it's not read-only. That will give you this same error, and none of the usual permission changes will fix it.

I had a similar setup and had tried everything. That finally did it.

Upvotes: 1

Related Questions