Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Update Error on MySQL
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Update Error on MySQL

 Post Reply Post Reply
Author
beyaz_seytan View Drop Down
Groupie
Groupie


Joined: 15 October 2004
Location: Turkey
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote beyaz_seytan Quote  Post ReplyReply Direct Link To This Post Topic: Update Error on MySQL
    Posted: 07 August 2006 at 1:46pm
Server Error in Forum Application
An error has occured while writing to the database.
Please contact the forum administrator.

Support Error Code:- err_mySQL_update_USR
File Name:- register.asp

Error details:-
Microsoft OLE DB Provider for ODBC Drivers
Query-based update failed because the row to update could not be found.
 
----------------------------------------
i was use Access i convered my access db to mysql. but now my new users can't update him or her profils
Response.write "Asp"
Document.write("JavaScript")
Echo("Php")
WriteIn('Pascal-Delphi')
Printf("C")

Mail & GTalk : BeyazSeytan@gmail.com
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 2:58pm
Sounds like it maybe an issue with the way you have created or moved your database from Access to mySQL.
Back to Top
beyaz_seytan View Drop Down
Groupie
Groupie


Joined: 15 October 2004
Location: Turkey
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote beyaz_seytan Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 4:36pm
thks for ansver. i convert sql query * to all tag. now problem is not

--------------------------------------------------------------------
 
 '******************************************
 '*** Read in user details from database ***
 '******************************************
        'Intialise the strSQL variable with an SQL string to open a record set for the Author table
        strSQL = "SELECT " & strDbTable & "Author.* " & _
 "FROM " & strDbTable & "Author" & strRowLock & " " & _
 "WHERE " & strDbTable & "Author.Author_ID=" & lngUserProfileID & ";"
        'Set the cursor type property of the record set to Dynamic so we can navigate through the record set
        rsCommon.CursorType = 2
        'Set the Lock Type for the records so that the record set is only locked when it is updated
        rsCommon.LockType = 3
        'Open the author table
        rsCommon.Open strSQL, adoCon
 
convert to :
 
 '******************************************
 '*** Read in user details from database ***
 '******************************************

        'Intialise the strSQL variable with an SQL string to open a record set for the Author table
        strSQL = "SELECT tblauthor.Author_ID, tblauthor.Group_ID, tblauthor.Username, tblauthor.Real_name, tblauthor.User_code, tblauthor.Password, tblauthor.Salt, tblauthor.Author_email, tblauthor.Homepage, tblauthor.Location, tblauthor.MSN, tblauthor.Yahoo, tblauthor.ICQ, tblauthor.AIM, tblauthor.Occupation, tblauthor.Interests, tblauthor.DOB, tblauthor.Signature, tblauthor.No_of_posts, tblauthor.No_of_PM, tblauthor.Join_date, tblauthor.Avatar, tblauthor.Avatar_title, tblauthor.Last_visit, tblauthor.Time_offset, tblauthor.Time_offset_hours, tblauthor.Date_format, tblauthor.Show_email, tblauthor.Attach_signature, tblauthor.Active, tblauthor.Rich_editor, tblauthor.Reply_notify, tblauthor.PM_notify, tblauthor.Skype, tblauthor.Login_attempt, tblauthor.Banned, tblauthor.Info " &_
 "FROM " & strDbTable & "Author" & strRowLock & " " & _
 "WHERE " & strDbTable & "Author.Author_ID=" & lngUserProfileID & ";"

        'Set the cursor type property of the record set to Dynamic so we can navigate through the record set
        rsCommon.CursorType = 2

        'Set the Lock Type for the records so that the record set is only locked when it is updated
        rsCommon.LockType = 3

        'Open the author table
        rsCommon.Open strSQL, adoCon

Response.write "Asp"
Document.write("JavaScript")
Echo("Php")
WriteIn('Pascal-Delphi')
Printf("C")

Mail & GTalk : BeyazSeytan@gmail.com
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2006 at 8:05pm
Glad you have found a solution to this problem, I will look into the solution you have offered. Thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.