 |
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 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
|
|
|
|
|

March 19th, 2004, 12:24 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

March 19th, 2004, 12:35 PM
|
|
Authorized User
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
|

March 19th, 2004, 12:52 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

March 19th, 2004, 01:09 PM
|
|
Authorized User
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
|

March 19th, 2004, 01:19 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

March 19th, 2004, 01:31 PM
|
|
Authorized User
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
|

March 19th, 2004, 01:41 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|
|

March 19th, 2004, 01:57 PM
|
|
Authorized User
|
|
Join Date: Mar 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!
|
|

March 19th, 2004, 02:04 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
You're welcome. I had fish enough anyway.... ;)
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|
|

May 4th, 2005, 05:27 PM
|
|
Registered User
|
|
Join Date: Apr 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
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 |
|
 |