If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > OOUCH this is hurting... CAN U HELP???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-01-03, 08:55
camdonsquire camdonsquire is offline
Registered User
 
Join Date: Dec 2003
Posts: 1
Unhappy OOUCH this is hurting... CAN U HELP???

I am trying to write to a access database and i am getting the following error message:-


Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
C:\INETPUB\WWWROOT\DIAGNOSTICS\../includes/databaseFunctions.asp, line 92

When i go to line 92 i get the following sub routine:-

sub updateDatabase(mySQL, rsTemp, scriptName)

call openDb()

set rsTemp=connTemp.execute(mySQL)

if err.number <> 0 then
if pTrapDbErrors=0 or (err.number<>9 and err.number<>5 and err.number<>6 and err.number<>13 and err.number<>94 and err.number<>424 and err.number<>3265 and err.number>-2000000000) then
response.redirect "comersus_supportError.asp?error="&Server.Urlencod e("Error in " &scriptName& ", error: "&Err.Description& " - Err.Number:"&Err.number&" - SQL:"&mySQL)
end if
end if

end sub


WHAT IS GOING ON!!!!

this is part of a shopping cart program, and guess what,,,

Comersus are not very help full i have had this problem for around 2wks and my employer is not happy because are site is down and were losing money.

SOMEBODY SAFE MY JOB
Reply With Quote
  #2 (permalink)  
Old 12-03-03, 23:57
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
You need to post the actual call to the updatedatabase function - including the parameters being passed.
Reply With Quote
  #3 (permalink)  
Old 12-04-03, 16:41
Wheelz Wheelz is offline
Registered User
 
Join Date: Dec 2003
Location: Sheffield, UK
Posts: 17
Have you made sure that the database is not read-only? Also make sure that the sub-folder where the database is placed has write access rights on it.

Hope this sorts out your problem

Farewell

Wheelz
Reply With Quote
Reply

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