[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

IIS7 web2008 FSO permission issues

Posted on 2010-01-06
13
Medium Priority
?
1,074 Views
Last Modified: 2012-06-27
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
Comment
Question by:stevenmoffat
  • 8
  • 5
13 Comments
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26190924
Note ive removed the iuser account and set the guest account back to read
0
 
LVL 13

Assisted Solution

by:Springy555
Springy555 earned 300 total points
ID: 26191135
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
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191452
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 13

Expert Comment

by:Springy555
ID: 26191544
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
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191786
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
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191792
getting streessed a little now ;)
0
 
LVL 13

Expert Comment

by:Springy555
ID: 26191808
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
 
LVL 13

Expert Comment

by:Springy555
ID: 26191815
Typo - meant to say you should NOT really set the app pool to use the iusr account!
0
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191831
Ive also assigned write permission to "NETWORK SERVICE" which i found but still permission is denied at the write line
0
 
LVL 13

Expert Comment

by:Springy555
ID: 26191860
Just to double check, if you use the FSO code in a vbs file and run it, does it work?
0
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191878
theres no IIS_WPG group, this is windows 2008 web edition...

ill set local user to iis_iusers instead ?
0
 
LVL 1

Author Comment

by:stevenmoffat
ID: 26191960
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
 
LVL 1

Accepted Solution

by:
stevenmoffat earned 0 total points
ID: 26192203
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

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question