Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old March 19th, 2004, 12:24 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Erik,

A funny check box for the read-only property, don;t you think. It looks like it's indicating read-only, but in fact it shows some intermediate state. Haven't really figured out why it behaves so odd.

How come you don't have an IUSR account? What OS are you using, and what Web server?

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #12 (permalink)  
Old March 19th, 2004, 12:35 PM
Authorized User
 
Join Date: Mar 2004
Location: , , Norway.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi again Imar, nice to meet you in person (ha ha).

I'm using Windows XP Professional, together with IIS v5.1. I think I may know why I suddenly didn't have writing access to the Access database. The first time I registered a user, it worked just fine, and I was able to edit the personal information and to log in and everything. But then, a few days ago, I installed the Microsoft Visual Studio.NET package, and I suspect that this may be the cause of my sudden problems. For all I know, there existed a IUSR account before I installed the .NET package, but of course, I'm not 100% certain. However, I'm sure of one thing: things got bananas AFTER I installed it.

You seem to have a deeper knowledge about the inner workings of Windows than me, so perhaps you have some ideas?

Erik

Wisdom on the internet? How rare!
  #13 (permalink)  
Old March 19th, 2004, 12:52 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Erik,

Ha, yes, same here. Hello ;)

AFAIK, Visual Studio .NET shouldn't mess around with your IUSR account.

What do you see in Local Users and Groups?

To take a look, right click your computer (actually My Computer ;)) on your desktop, choose Manage, and choose Local users and Groups. Don't you see a IUSR_MachineName there? Any other user with Internet Guest Account or Anonymous in ts description?

You can also check IIS. Open the IIS Manager, right click the Default Web Site and choose Properties. On the Directory Security tab, click the first Edit button. What account is mentioned under the Anonymous section?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #14 (permalink)  
Old March 19th, 2004, 01:09 PM
Authorized User
 
Join Date: Mar 2004
Location: , , Norway.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hmm, how funny. In the Anonymous section the user is IUSR_MachineName, but it is not being listed in the security tab when I right-click the c:\datastores folder. Ah well, it isn't the end of the world, but strange if you can see the IUSR account in both places.

I also find the IUSR internet guest account listed when choosing manage when right-clicking on My Computer (in local users).

Erik

--------
Wisdom on the internet? How rare!
  #15 (permalink)  
Old March 19th, 2004, 01:19 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Right. But can you type in its name when you select the Add button (or search for it by clicking Advanced | Find Now)?

The account is not there by default; you have to add it yourself. The Security tab doesn't list all users, but just displays the users that are currently assigned (or denied access) to the resource.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #16 (permalink)  
Old March 19th, 2004, 01:31 PM
Authorized User
 
Join Date: Mar 2004
Location: , , Norway.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, right! I found it when I tried to Add an account. The first time I clicked on 'Add', I saw that all the textboxes were greyed out, that is, I couldn't type in searching criteria. Therefore, I just closed the window to try other things. I didn't try just clicking the 'Find Now' button. Silly me. But then again, I learned something new today.

By the way, I removed the modify option for the 'Users (MachineName\Users)' account, just to be sure. No need to give out permissions to everyone. After all, it's not Christmas just yet :-)

Erik

--------
Wisdom on the internet? How rare!
  #17 (permalink)  
Old March 19th, 2004, 01:41 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Exactly. Limiting permissions to just those accounts that really need it, is the best way to deal with this. I'll come by and say Hi when it's Christmas.....

Imar

Quote:
quote:By the way, I removed the modify option for the 'Users (MachineName\Users)' account, just to be sure. No need to give out permissions to everyone. After all, it's not Christmas just yet :-)
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #18 (permalink)  
Old March 19th, 2004, 01:57 PM
Authorized User
 
Join Date: Mar 2004
Location: , , Norway.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hehe. Cheers and thanks for all the... help (fish, I almost said, for some odd reason...). Now, it's time for dinner, and time to log off this weird thing they call "the internet." Hmf, whatever that is... :-)

--------
Wisdom on the internet? How rare!
  #19 (permalink)  
Old March 19th, 2004, 02:04 PM
Imar's Avatar
Wrox Author
Points: 72,035, Level: 100
Points: 72,035, Level: 100 Points: 72,035, Level: 100 Points: 72,035, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,079
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

You're welcome. I had fish enough anyway.... ;)

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
  #20 (permalink)  
Old May 4th, 2005, 05:27 PM
Registered User
 
Join Date: Apr 2005
Location: Belgrade, Serbia, Yugoslavia.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I keep on getting this error:

Error Type:
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/WROX_ASP/chap15_DL/AddUser.asp, line 13

My database is not read-only. I have checked out most of the IIS settings, everything seems to be configured properly.


 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chapter 15 - ciwluke BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 0 July 11th, 2008 03:33 PM
Problems in chapter 15 and 16 sgeorgiev BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 0 May 7th, 2008 11:57 PM
chapter 15 manal_sag BOOK: Beginning ASP 3.0 1 June 18th, 2005 11:05 AM
Chapter 15 Problems bmull BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 2 July 13th, 2004 01:22 PM
Chapter 15 problems czambran BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 5 July 8th, 2004 11:50 PM



All times are GMT -4. The time now is 09:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.