problems connecting to database

This is a discussion on "problems connecting to database" within the Classic ASP section. This forum, and the thread "problems connecting to database are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 12th, 2005, 17:03
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
problems connecting to database

im using windows XP Pro with IIS to run some ASP scripts on my local machine

however

if i use the following code:

Code: Select all
SQL = "UPDATE competitors SET wins=" & (wins1 + 1) & " WHERE competitor='" & competitor1 & "'"
all of which is valid and produces the right string when i write it to the screen etc, it says:

Code: Select all
Technical Information (for support personnel)

    * Error Type:
      Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
      [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
      /chess/addgame4.asp, line 66

    * Browser Type:
      Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.6) Gecko/20050321 Firefox/1.0.2
anyone know why? previously i had to set read and write permissions for the database, but now i cant find the same place i did that - right clicking on the database and properties doesnt bring up the box it used to!

  #2 (permalink)  
Old Apr 12th, 2005, 19:18
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
http://www.webforumz.com/viewtopic.p...te+permissions

Dude.... pls try and search before posting.... we've covered this many times...

Indeed, it was your own self who posted that thread... lmao!
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #3 (permalink)  
Old Apr 12th, 2005, 21:29
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
i know but i followed what was mentioned in that post before, and this time - it DID NOT work
  #4 (permalink)  
Old Apr 12th, 2005, 22:01
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
for whaever reason dude, the permissions on the database do not allow the script to update the database.
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #5 (permalink)  
Old Apr 13th, 2005, 16:28
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
yea but i cant find where to change the permissions - i cant right click on it and find it anymore... sorry rob!
  #6 (permalink)  
Old Apr 14th, 2005, 08:06
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Ben,

Right click on the folder which the database is in... and on the "security" tab make sure the "write" permissions are set.
  #7 (permalink)  
Old Apr 14th, 2005, 16:32
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
smokie

thanks but when i right click, and click properties, i only get 2 tabs - general and summary - there is nowhere like there was before to enter read/write permissions. if there was, i would know how to do it because i've done it before! thats why this is so frustrating...
  #8 (permalink)  
Old Apr 14th, 2005, 19:41
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
try my post here:-
disable simple file sharing
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #9 (permalink)  
Old Apr 15th, 2005, 16:16
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbacardi Send a message via Skype™ to benbacardi
thanks rob
Closed Thread

Tags
problems, connecting, database

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Data From Form To Database Input Problems longstand PHP Forum 6 Oct 12th, 2007 15:54
Database Update script problems as22607 PHP Forum 10 May 14th, 2007 18:08
connecting to database franknu PHP Forum 4 Jul 23rd, 2006 08:39
still having problems writing to database... benbacardi Classic ASP 9 Aug 26th, 2004 16:20
Connecting to my Database.... courtjester Classic ASP 3 Jan 16th, 2004 09:11


All times are GMT. The time now is 15:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43