Wrox Programmer Forums
|
BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4
This is the forum to discuss the Wrox book Beginning Dreamweaver MX by Charles E. Brown, Imar Spaanjaars, Todd Marks; ISBN: 9780764544040
Please indicate which version of the book you are using when posting questions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Dreamweaver MX/MX 2004 MX ISBN: 978-0-7645-4404-0; MX 2004 ISBN: 978-0-7645-5524-4 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
 
Old December 8th, 2004, 11:02 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default The Soccer Site

I have installed the Soccersite on to my Webserver and the majority of it runs great. The problem I have is that I can not create, edit or delete any records from the soccer site database. I can retrieve data okay though.

I've checked the DSN and that appears okay.

Any suggestions?

Regards

Phil Thompson

 
Old December 8th, 2004, 02:27 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Phil,

Are you getting a specific error message? Most likely, this has to do with permissions in the database folder, but only a detailed error message can confirm this....

Cheers

Imar
 
Old December 15th, 2004, 05:19 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

Thanks for the reply. I have checked the access rights to the database folder and I have full control over the folder. Here are the error messages I receive.

On the Delete event....

Microsoft JET Database Engine (0x80004005)
Could not delete from specified tables
/thesoccersite/admin/deleteEvent.asp, line 43

On the Create Event....

Microsoft Jet Database Engine(0x80004005)
Operation must use an updateable query
/thesoccersite/admin/createEvent.asp, line 138

On the Edit Event....
Microsoft Jet Database Engine(0x80004005)
Operation must use an updateable query
/thesoccersite/admin/updateEvent.asp line 131


Regards

Phil

 
Old December 15th, 2004, 05:59 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

When you say "I have full control over the folder" are you referring to you r own account or to the Web server's? When you run an ASP page, by default it doesn't run with your security settings but with those of a special account used by the Web server.

Make sure the account IUSR_MachineName where MachineName is the name of your computer has change permissions on the database folder too.

Cheers,

Imar
 
Old December 15th, 2004, 06:17 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar,

The problem is now sorted.

Thanks again for all your help.

Regards

Phil


 
Old December 15th, 2004, 06:24 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Great. Just for the record (for any future visitors to this thread), was it the IUSR account that did the trick?

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
 
Old December 15th, 2004, 11:31 AM
Registered User
 
Join Date: Dec 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imaar,

That is correct.
Thanks

Phil

 
Old December 24th, 2004, 05:23 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello Imar, I have the same problem. I receive an error when deleting or updating from or a database(access 2000).
I wanted try your solution but somehow I don't understand it(I'm not an expert in networking).
Can you post me a more specific solution?
Thanks!

 
Old December 24th, 2004, 07:36 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Wayne,

Check out this FAQ at my site: http://Imar.Spaanjaars.Com/QuickDocId.aspx?QUICKDOC=263
It describes how to resolve this problem in full detail.


Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Soccer site Template Maccer Dreamweaver (all versions) 2 May 30th, 2005 04:18 PM
Beginning DW.MX 2004 Global Soccer terry s Dreamweaver (all versions) 6 October 13th, 2004 02:40 PM
Beginning Dreamweaver Mx 2004 (Global Soccer) terry s Dreamweaver (all versions) 5 September 26th, 2004 06:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.