Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - mysql server problems after Access conver
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

mysql server problems after Access conver

 Post Reply Post Reply
Author
semih1 View Drop Down
Newbie
Newbie


Joined: 10 August 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote semih1 Quote  Post ReplyReply Direct Link To This Post Topic: mysql server problems after Access conver
    Posted: 10 August 2006 at 6:46pm
i convert my access db to mysql. the data have no problem.

when i try to post new message or open a new topic or while editing the profiles i see this error:

for example  while editing the member profiles:

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
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

-----------------

all errors detalis are:
Error details:-
Microsoft OLE DB Provider for ODBC Drivers
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

what can i do ? have you got an opinion?
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: 11 August 2006 at 9:34am
Try changing line 709 of the file register.asp to:-

strSQL = "SELECT " & strDbTable & "Author.Author_ID, " & strDbTable & "Author.Group_ID, " & strDbTable & "Author.Username, " & strDbTable & "Author.Real_name, " & strDbTable & "Author.User_code, " & strDbTable & "Author.Password, " & strDbTable & "Author.Salt, " & strDbTable & "Author.Author_email, " & strDbTable & "Author.Homepage, " & strDbTable & "Author.Location, " & strDbTable & "Author.MSN, " & strDbTable & "Author.Yahoo, " & strDbTable & "Author.ICQ, " & strDbTable & "Author.AIM, " & strDbTable & "Author.Occupation, " & strDbTable & "Author.Interests, " & strDbTable & "Author.DOB, " & strDbTable & "Author.Signature, " & strDbTable & "Author.No_of_posts, " & strDbTable & "Author.No_of_PM, " & strDbTable & "Author.Join_date, " & strDbTable & "Author.Avatar, " & strDbTable & "Author.Avatar_title, " & strDbTable & "Author.Last_visit, " & strDbTable & "Author.Time_offset, " & strDbTable & "Author.Time_offset_hours, " & strDbTable & "Author.Date_format, " & strDbTable & "Author.Show_email, " & strDbTable & "Author.Attach_signature, " & strDbTable & "Author.Active, " & strDbTable & "Author.Rich_editor, " & strDbTable & "Author.Reply_notify, " & strDbTable & "Author.PM_notify, " & strDbTable & "Author.Skype, " & strDbTable & "Author.Login_attempt, " & strDbTable & "Author.Banned, " & strDbTable & "Author.Info " &_


Back to Top
semih1 View Drop Down
Newbie
Newbie


Joined: 10 August 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote semih1 Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2006 at 1:38pm
i have changed but now i'm taking this error for register.asp:

Microsoft VBScript runtime error '800a000d'

Type mismatch: '[string: "SELECT tblAuthor.Aut"]'

/forumy/register.asp, line 709


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: 11 August 2006 at 4:50pm
It looks like you may not have copied the line correctly.
Back to Top
semih1 View Drop Down
Newbie
Newbie


Joined: 10 August 2006
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote semih1 Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2006 at 5:55pm
i have changed the codes correctly.

But i have taken the same error:

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
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

------------
another page :

for trying to open a new topic

Server Error in Forum Application
An error has occured while writing to the database.
Please contact the forum administrator.

Support Error Code:- err_mySQL_save_new_post_data
File Name:- new_post.asp

Error details:-
Microsoft OLE DB Provider for ODBC Drivers
[Microsoft][ODBC Driver Manager] Invalid string or buffer length

-----------

i can write database using the admin menu, for example i can change the categories name's etc.




Edited by semih1 - 11 August 2006 at 5:56pm
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: 11 August 2006 at 6:28pm
I have done a search on this on the mySQL site and it seems it is a bug in some versions of mySQL and myODBC.

If you have access to the server try updating the myODBC driver, if you still have the same issue, then  try upgrading the version of mySQL you have.
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.