stability is bad when using NODBC conect to NAVISION 4.0

cainite
cainite Member Posts: 7
I tried to pick up the data from the navision sample database with NODBC, I found the stability was terrible. Sometimes the process is good, sometimes it is bad, it raised error message:Server was unable to process request. --> ERROR [S1000] [Simba][SimbaEngine ODBC Driver][DRM File Library]The operating system returned the error (183):Cannot create a file when that file already exists. Error: 183 ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr). . The phenomen occurs randomly.The database is liked to be locked. To solve it, I have nothing to do but to reboot my computer. Pls help me how to fix the problem.

Comments

  • jon_quique1975
    jon_quique1975 Member Posts: 2
    Hi cainite. Sorry but my english is very poor. I'm spanish.
    I have (best had) this same problem. I tried to connect to a database Navision 4.00 without service pack, and the odbc connection in .Net was unstable (sometimes I waited 5 minutes or more to Open the connection). The conclusion was that the NODBC included in the CD of Navision 4.00 has issue.
    I Installed the NODBC from Navision 4.00 with SP2 (4.02) and converted the database from 4.00 to 4.02 (Open with a client Navision 4.02 and convert the database) and was stable. Although, in my opinion, is a bit slow.
    I wait that this help you.
  • cainite
    cainite Member Posts: 7
    Thank you , I try it!
  • cainite
    cainite Member Posts: 7
    I checked my Navision version, it has been 4.0 sp2 . Sorry for I haven't told it carefully . The senario is that I am developing a website , I am trying to pick up the data from C/SIDE database. The error message happens when I try to simulate multiuser to execute a query at the same time through ODBC. If I execute the query sequentially , it is OK. How to solve the problem? Thanks in advanced!
  • June
    June Member Posts: 10
    Hi,

    Is your NODBC is connecting to a local database or a server?

    June
  • cainite
    cainite Member Posts: 7
    Yeah, I change the ODBC's connection mode to server , It works correctly. I have no idea about Navision , so I pay no attention to it. Thank you!
    Another question is how to improve the speed of executing a query. I write some codes to calculate the speed. Single user spends 5 seconds to execute a query, 2 users spend 8 seconds to execute a query at the same time. So how to improve the speed. Now I use the demo license, so I can't test the speed throught CFRONT. Does anyone know whether CFRONT is faster than ODBC?