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

IIS7 web2008 FSO permission issues

Just setting up first website on iis7 and win2008 (web edition)

All has gone well untill calling the FSO to write a file, we get permission denied

firstly to confirm

folder has run script permission and asp code runs fine
ive added WRITE permission to the iis_iusrs account

but still permission denied

ive added iusr_<machinename> and gave this write permission.. nothing
tried giving the internet guest account write permission... nothing

what could i be missing and where could i look ?
0
stevenmoffat
Asked:
stevenmoffat
  • 8
  • 5
2 Solutions
 
stevenmoffatAuthor Commented:
Note ive removed the iuser account and set the guest account back to read
0
 
Springy555Commented:
You will need to give permissions on the folder that the application pool is running under.

You can check this by right clicking on your application pool, and select advanced settings in your IIS console.  Look under the identity section.

The default app pool identity will be something like IIS AppPool\DefaultAppPool.

On your folder, give this account write permissions (it will resolve to DefaultAppPool when you click Check Names)

Or change the app pool identity to Network Service, and give the network service write access on the folder.
0
 
stevenmoffatAuthor Commented:
Ok in the application pools the hip-furniture application pool has an identity of NetworkService but when i go to add this users permission its not found ? added as oneword as viewed in apppool identity list
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Springy555Commented:
Make sure your selecting this from the local computer account.  You might be able to see it if you browse for objects as well...
0
 
stevenmoffatAuthor Commented:
ok i couldnt find it (NetworkService) and in locations there was just my server name...

So ive changed the identity of the hip-furniture application pool to iuser_stevenm

then set the authentication to application pool identity

then given iuser_stevenm full control to hip-furniture folder

Still getting permision denied.. is there something else in the way ?
0
 
stevenmoffatAuthor Commented:
getting streessed a little now ;)
0
 
Springy555Commented:
You should really set the app pool to use the iusr account, as its restricted anyway being an anonymous account.

Try using another local account.  Whatever local account you choose, add it to the IIS_WPG security group, and give it log on locally / log on as a service right under the local security policy.

Hopefully that should do the trick
0
 
Springy555Commented:
Typo - meant to say you should NOT really set the app pool to use the iusr account!
0
 
stevenmoffatAuthor Commented:
Ive also assigned write permission to "NETWORK SERVICE" which i found but still permission is denied at the write line
0
 
Springy555Commented:
Just to double check, if you use the FSO code in a vbs file and run it, does it work?
0
 
stevenmoffatAuthor Commented:
theres no IIS_WPG group, this is windows 2008 web edition...

ill set local user to iis_iusers instead ?
0
 
stevenmoffatAuthor Commented:
Can you clarify what you mean by a VBS script, is there a way to run the FSO object localy on the server ?

the FSO object call is in a VBscript on an .asp page
0
 
stevenmoffatAuthor Commented:
ok ive resolved the issue

the website was within the wwwroot folder, i moved the website onto another virtual folder and away it went

im thinking its due to permissions in the inetpub folder or issues with iuser

0
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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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