problem opening database of

Hi, I am new to using the SQLite database in blackberry, I copied the code from the sample of the weather, and I call the initializeDB() function, which calls for the openDB().

function openDB() {}
If (db)
return;

If (! window.openDatabase) {}
Alert ("backward compatibility not yet implemented.");
return;
}

DB = openDatabase ("routes", "1.0", "weather", 200000);
}

The problem is always doing me wrong the line if (! window.openDatabase) {,

Where is the problem? What exactly do the window.openDatabase function? I need to create a database before?

Thank you

Is this error that occur in OS 5.0 or 6.0? You have the html5_init.js file included in your project?

Tags: BlackBerry Developers

Similar Questions

  • Error opening database with DevAlphaC

    I have a database that I use for logging. It is created in c + c++ / Qt and working properly.

    On the page of logs (in qml) I use a simple GroupDataModel with a data source to display the contents of the database.

    The Z10 and AlphaA/B, it works, but gives warning of debugging on a connection that is duplicated (I have ignore, that I was not able to solve the problem).

    On the DevAlphaC however the database cannot be opened QML, and the name of connection in the error message seems strange.

    Warning: 11:53:02.613 SqlDataAccess error:  "unable to open new database file "/accounts/1000/appdata/com.xxx/app/native/assets/accounts/1000/appdata/com.xxx/data/logs.db"" . QSqlError::type= "QSqlError::ConnectionError" , QSqlError::number= -1 , databaseText= "unable to open database file" , driverText= "Error opening database"
    

    As you can see, the path is used twice.

    To set the path, I use a property:

    source: loggerService.dbPath
    

    I connect the return value of the property, and it shows the correct path (not suprprising, as the database is created with this path and is filled with all the journal reports):

    Debug: 11:53:02.487 getDbPath() dbPath "/accounts/1000/appdata/com.xxx/data/logs.db"
    

    When I compare newspapers of the Z10 and the DevAlphaC warning against the "duplicate connection" shows the correct on the Z10 path, but the double-path-name of one on the DevAlphaC

    Someone saw something like that already?

    have solved it by adding "file:///" the absolute path. works with the DevAlphaC and Z10, so I'll use it.

  • I have Adobe photoshop Elements 4 and use windows 10. When you try to import photos and do other things in Adobe I the following error coming. {Microsoft} [ODBC Access driver} cannot open database' the may not be a database of your application]

    I have Adobe photoshop Elements 4 and use windows 10. When you try to import photos and do other things in Adobe I the following error coming. {Microsoft} [ODBC Access driver} cannot open database' the may not be a database that your application recognizes, or the file may be corrupt,.] Everything worked very well this fault has just come. Anyone know how to solve this problem.

    Settle into the Photoshop Elements forum.

  • I am XP user window (home addition) and have recently experienced a problem open a document created with Microsoft Word.

    I am XP user window (home addition) and have recently experienced a problem open a document created with Microsoft Word. I saved the file, he sent, and trying to open it it does not allow me to do. I get a pop up saying - bar FILE CAN BE USED BY ANOTHER APPLICATION, or FORMAT of FILE CAN NOT NOT BE supported BY any OF THE INSTALLED CONVERTERS OR THE FILE is maybe DAMAGED. After you click ok in the pop-up a white prosser page for Microsoft word opens. I'm trying to accomplish creating a coupon for my wife to be able to post to its customers by e-mail.

    It may be in a format that Word can not handle. They are files DOC, DOCX, XLS or or something else?

    There is an update available for the words to open the DOCX files.

    Or you may need the free viewer for Word or Excel Viewer.

    To download Microsoft Office converters and viewers:

    http://www.Microsoft.com/downloads/en/resultsForProduct.aspx?displaylang=en&ProductID=4289ae77-4cba-4A75-86f3-9ff96f68e491&sType=n_pf

    MD MOEEN AJAZ KHAN - MCP, N +, A +.

  • How can I reset my laptop to Nov.2010 - I have problems opening and send emails after January 2011

    I had problems opening and sending emails after January 2011 so I wanted to turn my back on Nov.2010

    Hello

    You cannot use the system back restore more than you have Restore Points. The only one
    Another option would be to return the system to its out of the box, as it was when
    you received. So, it would be better reset your e-mail settings and check with
    the support of your email provider.

    How to create a System Restore Point in Windows 7
    http://www.SevenForums.com/tutorials/697-system-restore-point-create.html

    How to do a system restore in Windows 7
    http://www.SevenForums.com/tutorials/700-system-restore.html

    ============================================================

    These can help with system related issues:

    Follow these steps to remove corruption and missing/damaged file system repair or replacement.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type in the search box - find command top - RIGHT CLICK – RUN AS ADMIN

    sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    Then run checkdisk (chkdsk).

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    =============================================================

    This is Hotmail:

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

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

    And Windows Mail

    Windows Live Mail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=15

    Windows Live Solution Center - Solutions mail - Mail Forums
    http://windowslivehelp.com/

    Windows Live Mail - mail Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=15

    I hope this helps.

  • problem opening session: the user profile service failed to connect

    original title: problem opening session

    I have 2 accounts.recently, user when I try login I get this message that says - user profile service is not logon.the another account is still ok.what happened past and how to fix

    This isn't the FULL error message. Next time please make sure you post the message in its entirety and verbatim.

    Is that what your error message: unable to load the user profile and the user profile service has not the opening of session

    If so, please read on...
    You have another admin account , you can connect?
    If so, please do and do a system restore, if no help, run the Microsoft Support tutorial below.

    If you don't have another admin account, go into safe mode.
    Here's how to get safe mode:
    Shut down your computer > turn it back on and immediately and repeatedly press F8 key until you see a black and white screen. The top/down arrow and selectSafe Mode with network.

    In the window of logon in safe mode...
    1 can connect to your account administrator in safe mode?
    If so, do a system restore first, if not help, run it
    Microsoft support tutorial below.

    2. If you cannot connect to your own account, you see another
    next to your admin account in the logon screen?
    If you do, that one is the built-in Administrator account. By default, there is no password. Connect to it and new to do a system restore first, if no help, run
    the Microsoft tutorial support listed below.

    If you are able to log on in safe mode, do a system restore. Choose a
    Date of when you were able to log in NORMAL MODE as your restore point.
    How to restore the system:
    http://www.Vistax64.com/tutorials/76905-System-Restore-how.html

    Tutorial from Microsoft support :
    http://support.Microsoft.com/kb/947215
    There are several methods, go through one by one.
    Method 3 has a "fix it for me" application

  • I try to open Skype 5.5 on windows 7 but when I register it does not open and it says failed to open database

    I try to open Skype 5.5 on windows 7, but when I sign that it does not open and it says failed to open database potential Skype Skype are already open... you have an answer for me?

    Hello

    You can try the steps of troubleshooting provided in the link provided below.

    Why Skype crash on my computer?

    https://support.Skype.com/en-us/FAQ/FA10382/why-does-Skype-crash-on-my-computer

    For further assistance, you can get in touch with Skype support.

    https://support.Skype.com/en-us/

  • Problem opening files in MS Paint

    I'm running Windows 7 Ultimate on an ASUS Gaming Notebook aged 2 years.  All installed software is set up to receive the latest updates.


    About 3 days, 24/09/2012, UTC - 6 h, I started to experience problems opening files inside MS Paint.  Recently used files open without problems, but when I used the drill down menu file and clicked Open, the File Manager window opens but seemed not completely.  It stops before you post content in the panels on the left or right.  After waiting almost a minute, an error window opens saying that the Paint program does not react with the choice of activation of one of the 2 buttons, Debug or Cancel.
    Despite my system restarts and run virus scans, nothing seems to be broken.  I did, however, go through the Event Viewer to see what specifics have been involved in these accidents.  As I'm not a programmer or remotely competent in any language of software, the only elements that makes any sense to me were mspaint.exe & explorerframe.dll mentioned in Application event error reports as well as a series of numbers. (I also made the applet of Quicktime, 22, do not overwrite my selections of extension of file to default, programs installed that I read in another forum, it tends to do with files visual & audio) So now, I have several issues with that I hope other posters can help me:
    • Everyone knows that I have here and have been able to solve it?
    • Is it possible to uninstall, and then reinstall the paint? (I don't want to do a restore system b/c my last restore point was in April).
    • Any of you know how I can repair this situation or even help out there so I could fix the problem myself?
    • Is it possible to have reported this instance to Microsoft somewhere other than the generic return route?

    Thank you very much for reading and doubly so if you can shed some light on this dilemma.

    MaryBeth

    A restore point can be created manually, but when you use windows update a restore point is often automatic created in the update process.

    Simply type 'Restore' in the search text box programs & files, double-click the shortcut to "System Restore" which results in and follow the instructions (note the show more restore point box)

  • Problem opening of files from the two account email, secondary remembered as HDD and USB memory-based external excel...

    Problem opening of files from the two account email, secondary remembered as HDD and USB memory-based external excel. Message warning "there was a problem sending the command to the program".  I use Windows 7, version studend of microsoft office 2007.  This problem does not exist when I use the same USB on the desktop (XP)

    You should not actuall open/edit an attachment or a file on a USB drive, the file must be saved to a document on the PC first and opened/edited location.

    http://support.Microsoft.com/kb/211494

  • Problem opening excel attachment on Windows 8 of Yahoo mail

    I have upgraded to Windows 8. In that in the emails and accounts, I added my Yahoo account also. But whenever I get the excel (.xls) attachment on my Yahoo! account, that it does not open if I access my Yahoo account through the start of the Mail option screen. However, if I go on Google chrome and search of Yahoo mail and you connect and open my account then the attachment opens there. Why does this happen?

    Hello Sanjana,

    Thanks for posting your query in Microsoft Community.

    I would be grateful if you could provide us with the following information for a better understanding of the issue:

    1. The problem only occurs with excel or word as well?
    2. What is the error message that you get so that opening excel documents via the mail application?
    3. Are you having a problem opening excel attachments via the desktop version of Internet Explorer?

    I would suggest trying the following methods and check if they help:

    Method 1: I suggest you run the troubleshooter App from the link and if it helps.

    http://go.Microsoft.com/fwlink/?LinkId=268423

    Method 2: I also suggest you to follow the steps from the link and check if the problem persists.
    What to do if you have problems with a soft
    http://Windows.Microsoft.com/en-us/Windows-8/what-troubleshoot-problems-app

    Please, try the above methods and return with the required information.

  • How to COPY a BACKUP as the... CONTROLFILE can be used for the OPEN database

    I create a document such as a "How To" to move a position for a Junior DBA controlfile.

    But it seems that I'm the Junior because I am facing the following...

    Action plan:

    Move/rename a Controlfile

    Version of the database: 11.2.0.3

    Controlfiles moving of:

    / goldengate/ORCL/ORADATA /.

    TO:

    / GoldenGate/ORCL/controlfile

    Step 1: Set up environment variables

    $> export ORACLE_SID = ORCL1

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

    $> echo $ORACLE_SID

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

    ORCL1

    $> export ORACLE_BASE = / u01/app/oracle

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

    $> echo $ORACLE_BASE

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

    / u01/app/Oracle

    $> export ORACLE_HOME=$ORACLE_BASE/product/11.2.0.3/dbhome_1

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

    $ echo $ORACLE_HOME

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

    /U01/app/Oracle/product/11.2.0.3/dbhome_1

    Step 2: Check control_files parameter

    $> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".

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

    VALUE OF TYPE NAME

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

    control_files string/goldengate/ORCL/ORADATA/control

    ol01. CTL, / goldengate/ORCL/ORA

    DATA/control02.ctl

    Step 3: Closing the open database

    $> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".

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

    The database is closed.

    The database is dismounted.

    ORACLE instance stops.

    Step 4: Editing of the database

    $> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".

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

    ORACLE instance started.

    Total System Global Area 4275781632 bytes

    Bytes of size 2235208 fixed

    822084792 variable size bytes

    3439329280 of database buffers bytes

    Redo buffers 12132352 bytes

    Mounted database.

    Step 5: Creating a copy of the current controlfile

    $> echo "AS BACKUP COPY CURRENT CONTROLFILE FORMAT ' / goldengate/ORCL/CONTROLFILE/control01.copy.ctl'; ' | RMAN target / nocatalog

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

    Recovery Manager: release 11.2.0.3.0 - Production Fri Oct 22 17:03:27 2015

    Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.

    connected to target database: ORCL (DBID = 1420762587, is not open)

    using the control file of the target instead of recovery catalog database

    RMAN >

    From 22 October 15 backup

    allocated channel: ORA_DISK_1

    channel ORA_DISK_1: SID = 58 type of device = DISK

    channel ORA_DISK_1: from data file copy

    copy the current control file

    tag name=/goldengate/ORCL/CONTROLFILE/control01.copy.ctl output file = RECID = 1 STAMP = 893783011 TAG20151022T170329

    channel ORA_DISK_1: datafile copy complete, duration: 00:00:03

    Backup finished at 22 October 15

    RMAN >

    Complete recovery manager.

    Step 6: Change of parameter control_files

    $> echo "ALTER SYSTEM SET control_files='/goldengate/ORCL/CONTROLFILE/control01.copy.ctl' SCOPE = SPFILE;" | sqlplus-s "virtue sysdba".

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

    Modified system.

    Step 7: Closing of the mounted database

    $> echo 'SHUTDOWN IMMEDIATE'; | sqlplus-s "virtue sysdba".

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

    ORA-01109: database is not open

    The database is dismounted.

    ORACLE instance stops.

    Step 8: Installation of the database

    $> echo "STARTUP MOUNT"; | sqlplus-s "virtue sysdba".

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

    ORACLE instance started.

    Total System Global Area 4275781632 bytes

    Bytes of size 2235208 fixed

    822084792 variable size bytes

    3439329280 of database buffers bytes

    Redo buffers 12132352 bytes

    Mounted database.

    Step 9: Check control_files parameter

    $> echo "see THE PARAMETER control_files | sqlplus-s "virtue sysdba".

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

    VALUE OF TYPE NAME

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

    control_files string/goldengate/ORCL/CONTROLFILE/c

    ontrol01. Copy.CTL

    Step 10: Open the mounted database

    $> echo "ALTER DATABASE OPEN"; | sqlplus-s "virtue sysdba".

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

    ALTER DATABASE OPEN

    *

    ERROR on line 1:

    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open

    $> echo "ALTER DATABASE OPEN NORESETLOGS"; | sqlplus-s "virtue sysdba".

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

    ALTER DATABASE OPEN NORESETLOGS

    *

    ERROR on line 1:

    ORA-01610: recovery using BACKUP CONTROLFILE option must be

    Then...

    $> sqlplus/nolog

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

    SQL * more: Production release 11.2.0.3.0 the game Oct 22 17:14:43 2015

    Copyright (c) 1982, 2011, Oracle.  All rights reserved.

    SQL > CONNECT sysdba virtue

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

    Connected.

    SQL > RECOVER DATABASE with the HELP of BACKUP CONTROLFILE until CANCEL;

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

    ORA-00279: change 621941 September at 22/10/2015 16:57:33 needed to screw 1

    ORA-00289: suggestion:

    /U01/app/Oracle/product/11.2.0.3/dbhome_1/DBS/arch1_11_892981851.dbf

    ORA-00280: change 621941 thread 1 is in sequence #11

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Cancel

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

    Cancelled media recovery.

    SQL > ALTER DATABASE OPEN;

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

    ALTER DATABASE OPEN

    *

    ERROR on line 1:

    ORA-01589: must use RESETLOGS or NORESETLOGS option of database open

    Issues related to the:

    What am I misunderstanding? BACKUP COPY THAT isn't really a COPY.

    Why I can't use the 'copy' of the controlfile created by RMAN?

    Note:

    If I just copy the controlfile to the new location when the database shuts down everything works fine.

    Thanks in advance.

    Juan M


    Recovery Manager (RMAN)

    It is also mentioned in https://docs.oracle.com/cd/E11882_01/server.112/e25494/control.htm#ADMIN11288

    Create additional Copies, rename and move the control files

  • Problem opening pdf files.  I have Acrobat Reader DC/Windows by default, but when I click on the file, a file conversion screen with all these codes. Must use the "open with" function which is a nuisance.  Why it will not default?

    Problem opening pdf files.  I have Acrobat DC/Windows by default, but when I click on the file, a file conversion screen now with all these language codes. Must use the "open with" function which is a nuisance.

    Why it will not open by default when I click on the file?

    Hello

    I guess that you are looking for this:

    Open drive

    Go in Edition > Preferences > General

    Uncheck the option, the online storage see the opening of the files

    Click OK and restart

    Thank you

    Abhishek

  • Problems opening AE CS4 in AE CS6. Is there a solution?

    Problems opening AE CS4 in AE CS6. I recently tried to open a model bought CS4 and masks are removed, the music does not play, and the size of the exported file is huge. I also get a popup when opening older files that said "Adobe After Effects: the project must be converted from version 9 (Windows) and opens as an untitled project.» The original file will be unchanged. "The model developer seems a complex like me. I found another forum with exactly the same problem as mine, but no resolution. Is there a way to download CS4 or 5 so I'm able to use these models? I've upgraded to AE 2015 to see if there was a difficulty, no luck.

    MAC OS X Yosemite 10.10.3

    AE CS6/2015

    The popup is to be expected. This is just to let you know that you use a newer version, so it will save it with a different file name. Not much.

    Large file size, it's because you said it is. This should explain it: FAQ: why my output file is huge?

    The lack of music may not be a problem. How do you check to see if there is music?

    What do you mean by "a fall masks '?

    I found the models are often quite confusing for beginners. AE is too complicated to just jump right in. You will encounter "traps" as you did. We can try to help you to work right now through it, but if you get a decent Foundation first, you'll be much less frustrated. This resource is a good starting point: starting After Effects

  • I get the message "there was a problem opening your file" when I try to move an image from my Mac PSE9. This happens even with the pictures I imported to PSE before 9. I use Mac OS 10.10.5?

    Why do I get the message "there was a problem opening drop you off", when I try to import an image to the form of PES 9 photos on my Mac running Mac OS 10.10.5, even if this image was imported before?

    Move the thread to Photoshop Elements

  • Hi, I have adobe CC for teams, a member of the team has problems, opening indesign, asked for a serial number, ive checked on our admin account and it is one our our registrants 'members '. I was not the person who created this original so I'm a little

    Hi, I have adobe CC for teams, a member of the team has problems, opening indesign, asked for a serial number, ive checked on our admin account and it is one our our registrants 'members '. I was not the person who created this original so I'm a little lost, I can't seem to find the serial numbers on my account and it seems like we don't have the qualified products? can you help me?

    Hello

    We checked the details of your team, all seats are assigned correctly.

    Now, there are a few details that we need in a private Message so that I can help you properly.

    Name of the user:

    User email:

    In the meantime, try it out below mentioned links.

    [Note: the details we need is critical, make sure you send by private Message only.]

    Thank you

    Atul Saini

Maybe you are looking for

  • Problems with showing all text in pdf file

    Hi allI have this problem. When I download a pdf file on the Web site of our company as a link and then when I open the link, most of the text in the file is as symbols. The pdf file is a brochure and is exported from CorelDraw. The brochure consists

  • Replacement Time capsule

    How can I replace with a new an old Time Capsule and Time Machine backup, then move to the new TC?

  • Satellite Pro 4340 xdvd, Greek characters for windows 98 SE

    I bought a satellite pro 4340 xdvd 4 years in the United States and I had windows 98 SE on my laptop, I want to add some Greek characters to run a Greek technical program this patch windows 98 do I need? where can I download that?any help is apprecia

  • battery running

    Hi forum I want to ask... I use laptop Hp laptop model pavilion dm1-1128TU since 2010 and is very good work, but now I got the note every time I open my laptop on the screen always notice because my battery is very slow... what I need to do... need t

  • Satellite M40X 184: is my HDD ok?

    Hello I have a Toshiba Satellite M40X 184 When no program is running my hard drive works from time to time make boring of the loud noise from time to time its not but I am curious to know is - this normal?could someone tell me