Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Error: -16216 Blocksize not supported

Error: -16216 Blocksize not supported

Error: -16216 Blocksize not supported

i create application with java, install successfull MimerSQL + MyDatabase + MyApplication on my Nokia E65 (S60 3rd).
MimerSQL start with MyDatabase (i see green light/bullet)

MyApplication starts successfully but,

When i try to execute some query,
MyApplication sayz: Error ! Could not establish connection to server MyDatabase on host localhost using port 1360. java.io.IOException: SymbianOS error= -34: General:System error.

MimerSQL Log sayz:
2008-09-26 22:34:48.07 <Information>
Mimer SQL 9.3.8A Beta Test Dec 19 2007
Mimer SQL server for database MYDATABASE STARTED at E:\Shared\Mimer\mydatabase\

2008-09-26 22:35:42.91 <Unknown type>
MIMER/DB kernel error -16216 in function DKOPD1
Blocksize not supported, bytecount = 65536

my query is very simple:
SELECT zict_src, zict_dest FROM zict_eng_tr WHERE OR zict_src like '" + s + "%'

same application runs successfully with S60 3rd MIDP SDK FP2 emulator.

can anoybody help me?

RE: Error: -16216 Blocksize not supported

sorry, query should be like this
SELECT zict_src, zict_dest FROM zict_eng_tr WHERE zict_src like '" + s + "%'

i think error about the port number, what do you think?

RE: Error: -16216 Blocksize not supported

Only 2kb and 16kb buffer pool pages are available to the on-device version of Mimer. At least by using its default settings. If you are seeing this error message it is because the server attempts to open a table wider than can be fitted into a 16 kb page. I am not aware of the exact table width you can use in a 16 kb page, but it is about 4000 bytes.

It may be hard to know exactly how many bytes each of the various datatypes consume, including any overhead. To know your tables are correct already when working with the emulator, you may disable 64 kb buffer pool pages on that database.

Start the Mimer Administrator, right click your database, select Properties, choose the Memory tab, set the field "64K Pages" to zero (0). If you do this you will catch the error earlier on, perhaps already when creating the table.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close