 |
BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3
 | This is the forum to discuss the Wrox book Beginning ASP.NET 3.5: In C# and VB by Imar Spaanjaars; ISBN: 9780470187593 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|
|

September 30th, 2009, 10:00 AM
|
|
Authorized User
|
|
Join Date: Sep 2009
Posts: 23
Thanks: 9
Thanked 1 Time in 1 Post
|
|
Chapter 18, Configuring the File System
Imar,
I've been working through chapter 18 and have completed the "Configuring a Site with Windows Vista or Server 2008" Try it Out that started on page 649. The last sentence in Step 7 states "However, it still won't run correctly as you need to configure security permissions on the file system, as you'll see later."
At this time, I was in fact able to run the web application correctly on the localhost, including uploading gig pics and saving data without any errors or having to complete the following "Configuring the File System" Try it out starting on page 653.
When I selected the Security tab for the properties of my Release folder it matched Figure 18-17 on page 654. So with that being said, and the fact that I didn't give the NETWORK SERVICE and IUSR accounts permissions to the Release folder as specified in the next Try it out, I was wondering how the web application was able to run on the localhost without errors?
Did IIS utilize one or more of the Group/user names specified in Figure 18-7 on page 654 to accomplish this?
In case you need to know, I'm running the 32 bit version of Windows Vista Home Premium with Service Pack 2.
Any insight would be greatly appreciated.
Thanks,
John
|
|

September 30th, 2009, 04:55 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi John,
Difficult to tell without sitting at your machine. IIS needs permissions from the OS somehow. So, either the IIS account is indeed part of a group that has permissions, or IIS is configured to use in a different context. You could check Windows User Management to check the groups for the network service account.
Cheers,
Imar
|
|

October 1st, 2009, 09:33 AM
|
|
Authorized User
|
|
Join Date: Sep 2009
Posts: 23
Thanks: 9
Thanked 1 Time in 1 Post
|
|
Imar,
Thanks for the advice. Unfortunately, I can't utilize the Microsoft Management Console for CRUD operations against user groups as my Vista Help file states "These steps cannot be completed on Windows Vista Starter, Windows Vista Home Basic, and Windows Vista Home Premium."
The groups are there none the less, I just can't see if the mentioned IIS accounts belong to a specific group that have the appropriate OS permissions for a definitive answer.
It looks likes I'd have to upgrade my version of Vista to the Business or Ultimate edition to find this one out or maybe wait for Windows 7 because I don't know of any other way to drill into this information.
Thanks,
John
|
|

October 1st, 2009, 02:08 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi John,
If it works, it works, so there's no real need to upgrade... You can always try the same exercise on a server when you need to, or install an OS like Windows Server in Virtual PC (which is free)...
Cheers,
Imar
|
|
The Following User Says Thank You to Imar For This Useful Post:
|
|
|
 |