 |
BOOK: Beginning Visual C#  | This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning Visual C# 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
|
|
|
|

November 3rd, 2003, 04:18 PM
|
|
Registered User
|
|
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Chapter 23 Weblog example
I am on page 779 and I am trying to work through the web log example. On the bottom of the page there is a section that explains how to give the xml file read/write priviledges. There is a line that says "This is very easy to do.", however this is proving to be very difficult.
I am unable to give read write priviledges to this file. I continually get unauthorized access.
I have tried:
- following these steps, however I am unable to give my active account ASPNET priviledges. The ASPNET is only assigned to aspnet_wp account.
- changing my Machine config file from 'machine' to 'SYSTEM'
- adding a <identity impersonate="true"/> to my Web.config file
- changing my IIS -> Default Web Page -> Home Page directory to
- no indexing
- give write priveledges
- starting and restarting IIS
- adding my current user to the users group
I am running Windows XP Pro, with IIS 5.1, VS.NET Architect 2003, ASP.Net 1.1, IE 6.0 128 Bit.
Any Suggestions?,
Thank You
Shawn
|
|

November 5th, 2003, 11:37 AM
|
|
Registered User
|
|
Join Date: Oct 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
It is amazing how complicated things can be if you simply overlook the simplest things.
I guess no matter how much read/write access one gives ASPNET, if the files are readonly then one will probably not be able to write too much to them.
Thank You,
Shawn
|
|

February 16th, 2004, 07:15 AM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
i believe i have an older version of the book - i do not get the description about providing read/write access to the xml file. Could anybody tell me how to go about it?
|
|

July 4th, 2004, 01:40 PM
|
|
Authorized User
|
|
Join Date: Jan 2004
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You have to set permissions on the folder using the file Explorer. It's not something you set in IIS or ASP.NET. The folder must allow the ASPNET user to have write access to the folder and files in it. On Windows 2003, the account is called NETWORK SYSTEM or something like that.
Carl Olsen
www.carl-olsen.com
|
|

October 1st, 2004, 10:35 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I had this problem too in Win XP Pro. Here's how I solved it:
First I had to go to "folder options" in Control Panel, and deselect the "Use simple file sharing" option at the bottom of the Advanced Options on the View tab.
This makes the "Security" tab the book talks about appear on the folder properties dialog.
Press "Add", then "Advanced", then "Find Now" to get a list of worker processes, where I finally found ASP.NET, and pressed OK twice to give it permission.
This took me quite a while to figure out.
Dan
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Chapter 23 chapter23.xml and TOMCAT |
I5commuter |
BOOK: Beginning JavaServer Pages |
0 |
May 22nd, 2008 09:05 AM |
| Chapter 1, Page 23 |
golden_drifter |
BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 |
7 |
July 9th, 2004 12:12 AM |
|
 |