Insert into Microsoft access 2010 Database on sharepoint using OLEDB

Hi,
want to insert data into a microsoft access web db using oledb object. but the i am unable to open the database.
    dbLoc = "http://XXXX.com/project/design/Test_Web_DB
    Dim strConnection As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " & dbLoc
    Try
            con = New OleDb.OleDbConnection(strConnection)
            If con.State = ConnectionState.Closed Then con.Open()
    Catch ex As OleDbException
           MsgBox("OleDbException: Unable to Open DB")
    End Try
it always go to the exception. is there any problem with the above code??

Hey Bala,
Browsing the link (as shown below) on the browser doesnt open the DB.
http://XXXX.com/project/design/Test_Web_DB.accdb
Instead, without ".accdb" works.
my requirement is something like below, please recommend your suggestion
1. i have a DB on access 2010, which gets updated on regular basis (currently db is on common location) by different VB.net application client my the network
2. i want to create various reports out of the data and want them visible available on sharepoint.
please help
-Manash

Similar Messages

  • How to save a picture file into Microsoft Access Database?

    I want to save a picture file,such example.jpg file into a Microsoft Access Database in JSP,anybody know how to save picture file into Microsoft Access Database and read this picture file from Microsoft Access Database and then show this picture in a JSP page?
    Thanks in advance.

    Not posible in case of Microsoft Access ..
    You will hv to use oracle for that ....
    search for Blob / Clob

  • Concurrent users unable to open a shared Microsoft Access MDB database

    I have a share on a Cisco NSS2000, the NSS is in Workgroup mode (Firmware 1.13).
    Every user have read/write rights on this share.
    When I try to open an access MDB database from this share it happens that only a single user at time can open the database.
    The second user that try to open the database get a "Cannot lock file" error message.
    So, when a user has the Access DB opened, no-one other can open (or connect to) the same DB.
    It's impossible to open the DB using the access IDE ("Cannot lock file" error message).
    It's impossible to make multiple connection to the DB using OleDB ("Cannot lock file" error message).
    I've tried give full access to the mdb file.
    I've tried give full access to the mdb folder.
    I've even tried to give full access to the temporary LDB file.
    I always get the same error message.
    Is there a workaround?
    Thanks, Max

    I've finally been able to update the firmware to the latest 1.16.
    Now everything works fine, problem solved! :)
    Thanks,
    Max
    catung wrote:Max,Please update your firmware to the latest posted version, 1.16.Thanks-carl--Carl TungSBTG - PE, Storage
    From: IsiSviluppo <[email protected]>
    Reply-To: "[email protected]"
    <[email protected]>
    Date: Wed, 07 Apr 2010 00:07:20 -0600
    To: Carl Tung <[email protected]>
    Subject: Small Business Network Storage New message: "Concurrent users
    unable to open a shared Microsoft Access MDB database" YbIMb-16E-b7l
    catung,
    A new message was posted in the thread "Concurrent users unable to open a
    shared Microsoft Access MDB database":
    https://www.myciscocommunity.com/message/42739#42739
    Author  : IsiSviluppo
    Profile : https://www.myciscocommunity.com/people/IsiSviluppo
    Message:

  • Update outlook calendar from access 2010 database

    When I registrate an appointment in hour access 2010 database, I want to create an apointment in the outlook calendar. Is that possible? I tried to link to the outlook calendar from Access 2010, but the appointment date does not show, and therefore
    I can't use this method!
    My next question: Is it also possible to registrate an appointment in the outlook calendar and update the calendar in my access 2010 database.
    I hope somone can help me with my questions

    Hi,
    We can use VB script to do this, please refer to the following KB article:
    https://support.microsoft.com/kb/209963/en-us
    Also have a look at this article:
    http://gainingaccess.net/Articles/AccessToOutlookCalendar.aspx
    Since this issue is more related to coding, better to post your question to MSDN forum to get further assistance:
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding.
    Regards,
    Steve Fan
    TechNet Community Support

  • Microsoft infopath 2010 is required to use this feature

    "microsoft infopath 2010 is required to use this feature"
    I get this message when I select  Customize Form.
    Infopath 2010 is installed.
    Infopath Form Services is configured and running
    State service is running
    The site is not locked
    The site is not read-only
    The webapp does not have mutiple bindings in IIS
    The site can be opened in SPD 2010
    What else can the problem be?

    Hi ,
    Have you restarted the computer after you installed InfoPath 2010 ?
    You need to restart computer after installing InfoPath .In InfoPath designer ,you can create a SharePoint list template .Have a try here to connect to the specific SharePoint list to see whether the InfoPath designer works well .
    Thanks,
    Entan Ming
    Entan Ming
    TechNet Community Support

  • Message - Microsoft InfoPath 2010 is required to use this feature.

    I get this message when I click 'Customize form' on SharePoint 2010 list.
    I have InfoPath 2013 on my machine. Shouldn't it still work?
    Do I have to change some settings?

    Hi Nikhil,
    Please confirm if you can connect to SharePoint from InfoPath side firstly. If it works, please ignore the link below to configure InfoPath Forms Services:
    http://technet.microsoft.com/en-us/library/cc262263(v=office.14).aspx
    If you are using IE browser, please check in Manage Add-ons wizard and enable both SharepointOpenDocuments and SharePointOpenXMLDocuments. For your reference:
    http://social.technet.microsoft.com/Forums/en-US/91ed0c97-7ba1-4596-8da2-f66b3192cf61/microsoft-infopath-2010-is-required-to-use-this-feature?forum=sharepointcustomizationprevious
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to access the database jar file using the derby 10.2.1.6 database ?

    Hi,
    How to access the database jar file using the derby 10.2.1.6 database ?
    I have used like below. And i am getting the following the error:
    "org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.apache.derby.jdbc.EmbeddedDriver'
    at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1136)"
    My context.xml file looks like this:
    <Context crossContext="true">
    <Resource name="jdbc/derby" auth="Container"
    type="javax.sql.DataSource" driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
    url="jdbc:derby:jar(\CalypsoDemo\database.jar)samples"
    username="xxx" password="xxx" maxActive="20" maxIdle="10"
    maxWait="-1"/>
    </Context>
    What could be the reason.?
    Any suggestions will be appriciated.
    Thanks in Advance,
    Gana.

    ya, I have restarted. Can you please tell me whether the path which i am giving is right or not in the context file?
    Thanks,
    Gana.

  • Insert Time and Date into Microsoft Access from Lookout

    I have an SQLExec running to export data to Microsoft Access - I would like to get A) A time stamp also to insert and B) A time stamp with out / and : -- I have found it impossible (from my limited knowledge) to do any of these things.
    Dose anyone have a very basic SQL Statement that might guide me on my way?
    Thanks!

    Oracle stores date and time in a DATE column; it all depends on how you have your insert statement. The last insert I specified the date and time
    ex.
    insert into test_date values(1,sysdate);
    insert into test_date values(2,sysdate-10.9);
    insert into test_date values(3,sysdate-8.098 );
    insert into test_date values(4,sysdate-5.11 );
    insert into test_date values(5, trunc(sysdate));
    INSERT into test_date values(6, to_date('01-JAN-2004 19:30', 'DD-MON-YYYY HH24:MI') );
    select * from test_date ;
    ID DDATE
      1 25-FEB-04
      3 17-FEB-04
      4 20-FEB-04
      5 25-FEB-04
      2 14-FEB-04
      6 01-JAN-04I don't see the time because the NLS_DATE_FORMAT is set to DD-MON-YY, but if I
    Select id, to_char( ddate , 'DD-MON-YYYY HH24:MI:SS AM') from test_date;
    ID TO_CHAR(DDATE,'DD-MO
    1 25-FEB-2004 06:57:02
    3 17-FEB-2004 04:37:05
    4 20-FEB-2004 04:20:02
    5 25-FEB-2004 00:00:00
    2 14-FEB-2004 09:24:50
    6 01-JAN-2004 19:30:00

  • Inserting into MS Access Database - Wierd resultset!!

    I'm developing an application that takes in values from t1 in the database, performs operations on them and inserts them into t2. For this I have to check all records in t2 every time I'm about to make an insertion.. Strangely enough, rs1.beforeFirst() (rs1 is the resultset for t2) in my code refuses to put the cursor before the 1st row, and the code continues operations from the last row..Help!!
    Here's a sample of my code:
    rs1.beforeFirst();
                   if(rs1.next())
                        do
                             if(rs1.getInt("uid")!=i)
                             {     rs1.next();     }
                             else
                             {     break;
                        }while(!rs1.last());
                        if(rs1.isAfterLast())
                        {     n=1;
                             s1="Insert into t_urlinfo values('" + dt + "'," + i + ",'" + text + "'," + n + ")";
                             System.out.println(s1);
                             stmt2.executeUpdate(s1);
                        }

    Where, in that code, are you calling beforeFirst?
    Also, why do you feel it necessary to "check every row" before an insert? Is it to avoid duplicates? If so, does your table have a primary key or other unique field? If so, simply attempt to insert and then catch the SQLException.

  • Error while inserting into ms access using jsp

    i am using the following code to insert values from textboxes into access database
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con = DriverManager.getConnection(url);
              Statement stmt=con.createStatement();
              //ResultSet rs = null;
              //String sql = ("INSERT INTO co-ords VALUES ('" + nam + "','" + lat + "','" + lon + "','"+ latm +"','"+ lonm +"','"+ latmd +"','"+ lonmd +"','"+ latms +"','"+ lonms +"') ");
              String sql = "INSERT INTO co-ords (nam ,lat , lon , latm ,lonm , latmd , lonmd ,latms , lonms) VALUES ('" + nam + "','" + lat + "','" + lon + "','"+ latm +"','"+ lonm +"','"+ latmd +"','"+ lonmd +"','"+ latms +"','"+ lonms +"') ";
              out.println(sql);
              stmt.executeUpdate(sql);
    the output i get is
    INSERT INTO co-ords (nam ,lat , lon , latm ,lonm , latmd , lonmd ,latms , lonms) VALUES ('cck','28.656529681148545','77.23440170288086','28','77','39','14','23.508','3.8472') Exception:java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
    can somebody help me?

    Simple,
    Some error in your query right. Unable to understand Quotation stuff.
    Well understand it properly else error will follow forever :)
    Without String, Straight Away Values
    stmt1.executeUpdate("insert into Login_Details values('Example','Exmaple')");This is the query with Login_Id Pass_Word String containing the value
    stmt1.executeUpdate("insert into Login_Details values('"+Login_Id+"','"+Pass_Word+"')");Then storing sql as string and pass it in executeUpdate(sql)
    String sql="insert into Login_Details values ('example','example') "String + Values in String
    String sql="insert into Login_Details values ('"+example+"','"+example+"') "Just first it . Hope this reply solve ur SQL EXCEPTIONG
    Sachin Kokcha

  • MS Access 2010 Database can not be compacted

    MS Access 2010 be can not be compacted  
    We have have MS access database size is closed to 2G. And user can't to compact the database. Is there a way to result the problem?
    Thanks 

    Hi,
    Could you please tell us how do you compact Access database? You can follow these suggestions to compact it again.
    http://office.microsoft.com/en-001/access-help/compact-and-repair-a-database-HA010341740.aspx
    Is the database split? Front End or Back End? If split is it the Front End or Back End that won't compact. If not split, most likely you have corrupted mdb file.
    Or you can try to create a new database and import all of the database objects from the old database into the new database to check if it works.
    Regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Uploading Access split database to Sharepoint Site.

    Hi, I'm having trouble finding instructions on how exactly you would upload a split database to SharePoint. If I split my database locally i can't then move the back end.
    I want to upload my the back end of the Access database to "mysitesname".sharepoint.com I have full admin privileges but the only place I see to upload a file is the "shared documents" area of the site which I presume would only be useful
    for hosting the front end for users to download. Trying to split the database to the site by using it's URL "https://"mysitesname".sharepoint.com/SitePages/Home.aspx" nd variations results in access telling me the site could not be reached.
    I'm sure this is something simple to do and I'm just missing some critical piece of information.

    Thank you for the reply but I'm not using a web database or web app. I should have mentioned I solved the problem yesterday.
    A split database is simpler than I thought, mine is just a standard access database with linked tables. You share your file (front end) around and the back end is just a bunch of SharePoint lists if you are using SharePoint or an access file containing tables
    if using a file server.
    My problem was that I couldn't upload my back end to SharePoint. I ended up making my tables into SharePoint lists and uploading those to my personal SharePoint folder as the team site didn't allow me to upload them.
    https://example1-my.sharepoint.com/personal/email_emailhost_com_au
    This tutorial worked best. http://www.youtube.com/watch?v=3wdjYIby_b0&list=PL27E956A1537FE1C5&index=2

  • Insert into an Access DB

    I'm trying toinsert in an access database and when I execute the Update it appears the error:
    java.sql.SQLException: No row count was produced
    the source code I use is:
    <%@ page import="java.io.*"%>
    <%@ page import="java.io.IOException"%>
    <%@ page import="javax.servlet.http.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.sql.*"%>
    <%
    int i=0;
    int k,j;
    String name="defecte";
    String req="defecte";
    String url="jdbc:odbc:avimar";
    String driver="sun.jdbc.odbc.JdbcOdbcDriver";
    String query="defecte";
    String query2="defecte";
    String query3="defecte";
    String resultat = new String();
    String resultat2 = new String();
    Vector vector=new Vector();
    Vector vec=new Vector();
    Vector vec2=new Vector();
    Vector vec3=new Vector();
    Class.forName(driver);
    Connection con= DriverManager.getConnection(url);
    %>
    <html>
    <head>
    <title>Registrar-se a Avimar.net</title>
    </head>
    <body bgcolor="#8C968C" text="#000000">
    <%
    String nom =request.getParameter("nom");
    String cognoms =request.getParameter("cognoms");
    String lg = request.getParameter("login");
    String psw =request.getParameter("psw");
    String rpsw =request.getParameter("rpsw");
    String direccio =request.getParameter("direccio");
    String poblacio =request.getParameter("poblacio");
    String cpostal =request.getParameter("cpostal");
    String telefon =request.getParameter("telefon");
    String horaris =request.getParameter("horaris");
    query3="INSERT INTO Usuari (id,STR_Login,STR_Psw,STR_Nom,STR_Cognoms,STR_Direccio,STR_Poblacio,STR_Cpostal,STR_Telefon,STR_Horaris,INT_Id_permis,BOOL_Flag_actiu) VALUES (2,'"+lg+"','"+psw+"','"+nom+"','"+cognoms+"','"+direccio+"','"+poblacio+"','"+cpostal+"','"+telefon+"','"+horaris+"',1,true)";
    Statement select2=con.createStatement();
    System.out.println(query3);
    try{
    select2.executeUpdate(query);
    catch(SQLException ee)
    System.out.println("ha petat en el executeUpdate");
    ee.printStackTrace();
    %> <jsp:forward page="registrat.html">
    </jsp:forward>
    </body>
    <%
    select.close();
    con.close();
    %>
    </html>

    No idea. You might try re-writing in java and see if it works that way.

  • Related to insertion into HASH access method

    Hi,
    I have four multi-threaded processes (2 writer and 2 reader processes), which make use of Berkeley DB transactional data store. I have multiple environments and the associated database and log files are located in separate directories.
    Database access method used is DB_HASH.
    When I looked into stack trace of the Writer process, following is observed:
    A] Indicates insertion into HASH database
    ffffffff7b9a84f4 _pwrite (65, fffffffea28bc6e0, 2000, 3e18000, 7358, 7357) + c
    ffffffff7c667bec __os_io (104c58c80, 3e18000, 104c9f140, 1f0c, 2000, 0) + 29c
    ffffffff7c650fb0 __memp_pgwrite (104c58c80, 104c9c250, fffffffea00e4d98, fffffffea28bc698, 0, 2000) + 200
    ffffffff7c650aa4 __memp_bhwrite (104c58c80, 104c9c250, fffffffea03829e8, fffffffea28bc698, 0, 100c559c0) + 454
    ffffffff7c64fa84 __memp_alloc (fffffffea00e4dc4, fffffffea00e4d98, 1852e6, 0, 104c58c80, fffffffea0000138) + 72c
    ffffffff7c65360c __memp_fget (104ca1a50, 104ca4b54, 0, fffffffea0384c18, 0, fffffffea0000138) + 1bdc
    ffffffff7c5909ac __ham_get_cpage (104ca4920, 0, 104ca4b60, 104ca1a50, 104ca4b40, 104ca14d0) + 1c4
    ffffffff7c57d334 __ham_lookup (104ca4920, fffffffe3e3fb140, 1bb5, 2, fffffffe3e3fa4dc, 104ca4b40) + 74
    ffffffff7c57badc __hamc_put (104ca4920, fffffffe3e3fb140, fffffffe3e3fb118, 34, fffffffe3e3fa4dc, 104ca4b40) + ec
    ffffffff7c603230 __dbc_put (104ca4920, 28, e, 104ca4920, 104ca4920, ffffffff7c794508) + db0
    ffffffff7c5f538c __db_put (104ca14d0, 19f388, 104ca15d8, fffffffe3e3fb140, fffffffe3e3fb118, 0) + 21c
    ffffffff7c60e00c __db_put_pp (104c58c80, 0, fffffffe3e3fb140, fffffffe3e3fb118, 0, 104ca14d0) + 244
    00000001001079f0 __1cLBDBDatabaseGinsert6MrknDstdEpair4CpCC2__IkIIII_v_ (104c9c3a0, 0, 4, 7, 74, 4) + 178
    00000001001b83cc __1cIIndexSetKwriteIndex6MrkirnDstdDmap4n0BEpair4CpCC4__CIn0BEless4n0C___n0BJallocator4n0BEpair4Ckn0C_CI___
    ____i_ (1009ecf80, 104ca7398, 1069fbee0, 74, 45f29f466a48b, 10084bcd0) + b8
    00000001000af1e8 __1cLIndexWriterOpProcessObject6MpnDstdDmap4n0BEpair4CpCC2__CIn0BEless4n0C___n0BJallocator4n0BEpair4Ckn0C_C
    I_______v_ (104ca7240, 1069fbee0, fffffff71e49eb29, 92b0e8920, 100572990, 49587449) + 214
    00000001000b156c __1cbJManagerProducerThreadConsumersModel4nDstdDmap4n0AEpair4CpCC1__CIn0AEless4n0B___n0AJallocator4n0AEpair
    4Ckn0B_CI_______OpDoProcessHook6M_v_ (104ca7240, 1069fbee0, 1003d1, 0, 1005729e0, 1003d120c) + 250
    00000001002bc224 __1cKThreadBaseKmDoProcess6M_v_ (104ca7240, 10043d000, 1000b131c, 104ca72a0, 10043dc6d, 10020e90c) + 1ac
    00000001002bbf44 __1cKThreadBaseQmThreadMainChild6Fpv_1_ (104ca7240, 100572000, 10043d, 0, 10043dbcb, 1005729e0) + ec
    ffffffff7eb17c9c lwpstart (0, 0, 0, 0, 0, 0)
    B] Does the below stack trace indicate the insertion into HASH database? I am getting this doubt because the above and below mentioned stack traces
    differ. Can this happen when the access method used is DB_HASH or is it something to do with application flag / config settings? Please suggest.
    ffffffff7b9a71f4 _pread (65, fffffffeae356140, 2000, 129c8000, 81e6, 81e5) + c
    ffffffff7c667acc __os_io (104c58c80, 129c8000, 104c9f140, 94e4, 2000, 0) + 17c
    ffffffff7c650bfc __memp_pgread (104c9c250, fffffffea0079c58, fffffffeae3560f8, 0, 0, 104c58c80) + 90
    ffffffff7c653928 __memp_fget (104c9c250, 0, fffffffeae3560f8, fffffffea03829e8, 1, fffffffea0000138) + 1ef8
    ffffffff7c5619e8 __bam_get_root (104d1cde0, 2, 20002, 1000, fffffffe3e7fa1e4, 0) + d8
    * ffffffff7c5606ec __bam_rsearch (104d1cde0, 104d1d32c, 3242, 1, 104c9c250, 3242) + 44*
    * ffffffff7c560438 __ram_add (104d1cde0, 104d1d32c, fffffffe3e7fb118, 2, 0, 104d1d200) + 44*
    * ffffffff7c55ecb4 __ramc_put (104d1cde0, fffffffe3e7fb140, fffffffe3e7fb118, e, 0, 0) + 64*
    ffffffff7c6032c0 __dbc_put (104c9f200, 28, e, 104c9f200, ffffffff7c55ec50, e) + e40
    ffffffff7c5f538c __db_put (104c9bc60, 19f388, 104c9bd68, fffffffe3e7fb140, fffffffe3e7fb118, 0) + 21c
    ffffffff7c60e00c __db_put_pp (104c58c80, 0, fffffffe3e7fb140, fffffffe3e7fb118, 0, 104c9bc60) + 244
    00000001001079f0 __1cLBDBDatabaseGinsert6MrknDstdEpair4CpCC2__IkIIII_v_ (104c95790, 0, 4, 7, 74, 4) + 178
    00000001001b83cc __1cIIndexSetKwriteIndex6MrkirnDstdDmap4n0BEpair4CpCC4__CIn0BEless4n0C___n0BJallocator4n0BEpair4Ckn0C_CI___
    ____i_ (1009ecf80, 104ca6ee8, 105f8a580, 74, 45f29f466b002, 10084bcd0) + b8
    00000001000af1e8 __1cLIndexWriterOpProcessObject6MpnDstdDmap4n0BEpair4CpCC2__CIn0BEless4n0C___n0BJallocator4n0BEpair4Ckn0C_C
    I_______v_ (104ca6d90, 105f8a580, fffffff71e49eb29, 92b0e8920, 100572990, 49587449) + 214
    00000001000b156c __1cbJManagerProducerThreadConsumersModel4nDstdDmap4n0AEpair4CpCC1__CIn0AEless4n0B___n0AJallocator4n0AEpair
    4Ckn0B_CI_______OpDoProcessHook6M_v_ (104ca6d90, 105f8a580, 1003d1, 0, 1005729e0, 1003d120c) + 250
    00000001002bc224 __1cKThreadBaseKmDoProcess6M_v_ (104ca6d90, 10043d000, 1000b131c, 104ca6df0, 10043dc6d, 10020e90c) + 1ac
    00000001002bbf44 __1cKThreadBaseQmThreadMainChild6Fpv_1_ (104ca6d90, 100572000, 10043d, 0, 10043dbcb, 1005729e0) + ec
    ffffffff7eb17c9c lwpstart (0, 0, 0, 0, 0, 0)
    Details about the application are as follows:
    For Writer / Reader:
    Environment flags : DB_CREATE | DB_INIT_MPOOL | DB_THREAD | DB_INIT_LOCK | DB_INIT_TXN
    Following are the parameters to db-&gt;open function call:
    WRITER*
    DB-&gt;open(DB *db,
    DB_TXN *txnid, =&gt; NULL
    const char *file, =&gt; file name
    const char *database, =&gt; NULL
    DBTYPE type, =&gt; DB_HASH
    u_int32_t flags, =&gt; DB_READ_UNCOMMITTED | DB_AUTO_COMMIT | DB_CREATE | DB_THREAD
    int mode =&gt; 0);
    Also, DB_DUP flag is set.
    READER_
    DB-&gt;open(DB *db,
    DB_TXN *txnid, =&gt; NULL
    const char *file, =&gt; file name
    const char *database, =&gt; NULL
    DBTYPE type, =&gt; DB_UNKNOWN
    u_int32_t flags, =&gt; DB_READ_UNCOMMITTED | DB_RDONLY | DB_AUTO_COMMIT | DB_THREAD
    int mode =&gt; 0);
    DB_CONFIG file contents are as follows:
    set_cachesize 0 536870912 1
    set_lg_bsize 10485760
    set_data_dir DATADIR
    set_lg_dir LOGDIR
    set_lk_max_locks 100000
    set_lk_max_lockers 100000
    set_lk_max_objects 100000
    set_flags DB_REGION_INIT
    set_tx_max 150
    mutex_set_increment 7500
    Thanks,
    Magesh

    Hi Nandish,
    DB statistics were collected using the following command:
    db_stat -d <database name>
    When db_stat and db_verify utilities were run during the application runtime, both of them failed for most of the databases.
    Please find below sample output for db_stat and db_verify utilities for 'SUBID_P1_S1_FF3' DB:
    Sun Jan 4 07:55:28 2009 Local time
    db_stat: page 44972: illegal page type or format
    db_stat: PANIC: Invalid argument
    db_stat: PANIC: fatal region error detected; run recovery
    db_stat: close: DB_RUNRECOVERY: Fatal error, run database recovery
    db_stat: File handles still open at environment close
    db_stat: Open file handle: /opt/vol1/data/SUBID_P1_S1_FF3
    db_stat: PANIC: fatal region error detected; run recovery
    db_stat: dbenv->close: DB_RUNRECOVERY: Fatal error, run database recovery
    db_verify: Page 44972: duplicate page of inappropriate type 13
    db_verify: Page 20769: record count incorrect: actual 285, in record 286
    db_verify: Page 9337: bad record count: has 867 records, claims 868
    db_verify: Page 44497: record count incorrect: actual 88, in record 81
    db_verify: Page 21317: bad record count: has 670 records, claims 663
    db_verify: Page 4524: record count incorrect: actual 273, in record 275
    db_verify: Page 1141: bad record count: has 2601 records, claims 2603
    db_verify: Page 40872: record count incorrect: actual 380, in record 382
    db_verify: Page 20150: bad record count: has 962 records, claims 964
    db_verify: Page 44984: duplicate page of inappropriate type 0
    db_verify: Page 43953: record count incorrect: actual 9, in record 8
    db_verify: Page 9877: bad record count: has 591 records, claims 590
    db_verify: Page 44994: duplicate page of inappropriate type 0
    db_verify: Page 41115: record count incorrect: actual 100, in record 101
    db_verify: Page 9279: bad record count: has 682 records, claims 683
    db_verify: Page 44975: duplicate page of inappropriate type 13
    db_verify: Page 44997: duplicate page of inappropriate type 0
    db_verify: Page 8113: item 0 hashes incorrectly
    db_verify: Page 8113: item 4 hashes incorrectly
    db_verify: Page 8113: item 8 hashes incorrectly
    db_verify: Page 8143: item 40 hashes incorrectly
    db_verify: Page 8143: item 42 hashes incorrectly
    db_verify: Page 8143: item 46 hashes incorrectly
    db_verify: Page 8143: item 60 hashes incorrectly
    db_verify: Page 8143: item 62 hashes incorrectly
    db_verify: Page 39405: hash page has bad prev_pgno
    db_verify: Page 8145: item 4 hashes incorrectly
    db_verify: Page 8145: item 10 hashes incorrectly
    db_verify: Page 8145: item 20 hashes incorrectly
    db_verify: Page 8145: item 22 hashes incorrectly
    db_verify: Page 8145: item 28 hashes incorrectly
    db_verify: Page 8145: item 32 hashes incorrectly
    db_verify: Page 8145: item 38 hashes incorrectly
    db_verify: Page 8145: item 40 hashes incorrectly
    db_verify: Page 8145: item 48 hashes incorrectly
    db_verify: Page 44993: duplicate page of inappropriate type 0
    db_verify: Page 42178: record count incorrect: actual 581, in record 582
    db_verify: Page 40166: btree or recno page is of inappropriate type 13
    db_verify: Page 40166: record count incorrect: actual 0, in record 62
    db_verify: Page 9206: bad record count: has 2909 records, claims 2972
    db_verify: Page 44985: hash page has bad prev_pgno
    db_verify: Page 21250: record count incorrect: actual 494, in record 491
    db_verify: Page 9834: bad record count: has 1076 records, claims 1073
    db_verify: Page 39247: duplicate page of inappropriate type 13
    db_verify: Page 44973: duplicate page of inappropriate type 13
    db_verify: Page 20460: btree or recno page is of inappropriate type 13
    db_verify: Page 20460: record count incorrect: actual 0, in record 9
    db_verify: Page 20390: bad record count: has 4656 records, claims 4665
    db_verify: Page 44696: unterminated leaf chain
    db_verify: Page 43989: record count incorrect: actual 22, in record 21
    db_verify: Page 8917: bad record count: has 604 records, claims 603
    db_verify: Page 44982: hash page has bad prev_pgno
    db_verify: Page 45000: hash page has bad prev_pgno
    db_verify: Page 44981: duplicate page of inappropriate type 13
    db_verify: Page 44990: hash page has bad prev_pgno
    db_verify: Page 38676: record count incorrect: actual 107, in record 106
    db_verify: Page 4486: bad record count: has 689 records, claims 688
    db_verify: Page 39602: record count incorrect: actual 127, in record 129
    db_verify: Page 9202: bad record count: has 709 records, claims 711
    db_verify: Page 21291: record count incorrect: actual 175, in record 176
    db_verify: Page 4585: bad record count: has 757 records, claims 758
    db_verify: Page 44897: record count incorrect: actual 219, in record 95
    db_verify: Page 2259: bad record count: has 3129 records, claims 3005
    db_verify: Page 44987: duplicate page of inappropriate type 0
    db_verify: Page 44979: duplicate page of inappropriate type 13
    db_verify: Page 9055: duplicate page of inappropriate type 13
    db_verify: Page 44980: hash page has bad prev_pgno
    db_verify: Page 44971: duplicate page of inappropriate type 13
    db_verify: Page 39405: hash page referenced twice
    db_verify: Page 44995: duplicate page of inappropriate type 0
    db_verify: Page 38457: hash page has bad prev_pgno
    db_verify: Page 44986: duplicate page of inappropriate type 0
    db_verify: Page 44179: btree or recno page is of inappropriate type 13
    db_verify: Page 44179: record count incorrect: actual 0, in record 582
    db_verify: Page 44999: btree or recno page is of inappropriate type 0
    db_verify: Page 44999: record count incorrect: actual 0, in record 2
    db_verify: Page 4709: bad record count: has 0 records, claims 584
    db_verify: Page 41333: record count incorrect: actual 55, in record 54
    db_verify: Page 9531: bad record count: has 637 records, claims 636
    db_verify: Page 44970: hash page has bad prev_pgno
    db_verify: Page 38400: record count incorrect: actual 132, in record 131
    db_verify: Page 9811: bad record count: has 714 records, claims 713
    db_verify: Page 40735: duplicate page of inappropriate type 13
    db_verify: Page 44996: duplicate page of inappropriate type 0
    db_verify: Page 44998: hash page has bad prev_pgno
    db_verify: Page 44991: hash page has bad prev_pgno
    db_verify: Page 44988: duplicate page of inappropriate type 0
    db_verify: Page 44516: hash page has bad prev_pgno
    db_verify: Page 44976: duplicate page of inappropriate type 13
    db_verify: Page 43273: record count incorrect: actual 289, in record 280
    db_verify: Page 1082: bad record count: has 2035 records, claims 2026
    db_verify: Page 42154: record count incorrect: actual 78, in record 79
    db_verify: Page 18214: bad record count: has 660 records, claims 661
    db_verify: Page 44992: duplicate page of inappropriate type 0
    db_verify: Page 42067: record count incorrect: actual 496, in record 487
    db_verify: Page 2266: bad record count: has 2824 records, claims 2815
    db_verify: Page 43694: record count incorrect: actual 23, in record 26
    db_verify: Page 9294: bad record count: has 605 records, claims 608
    db_verify: SUBID_P1_S1_FF3: DB_VERIFY_BAD: Database verification failed
    After restarting the application, db_stat and db_verify utilities worked fine. Without running db_recover, if these commands are working fine means it is not a genuine case of database corruption.
    Is it something to do with the way in which db_stat and db_verify utilities work?
    We will also try using -h option for db_stat and db_verify utilities.
    Thanks,
    Magesh

  • Access 2010 Linked to Sharepoint online - avoid direct access to sharepoint stored data

    Hello,
    I have an access 2010 application (front end)  connected to SharePoint online team site (as back end).
    I wish to allow my users to work with the front end but to avoid direct access to the data on SharePoint Online.
    The user will open the access application and it will auto connect & work with SharePoint online.
    How can I implement this?
    Thank you for your help

    Hi,
    According to your description, my understanding is that you want to use Access 2010 to connect the SharePoint Online data.
    In Access 2010, you can connect the SharePoint list as a external datasource like the capture below. It will need to input url and user credentials to access SharePoint site in the wizard. If you want to connect automatically, you will need write some custom
    Micro code to achieve it.
    If you have some question about Micro code to connect SharePoint list automatically, I suggest you can create a new thread in Access Development, you will get more detailed information from there.
    https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=accessdev
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

Maybe you are looking for

  • Computer shuts off after Nvidia 8600M GT drivers installed

    Hello, I recently used the Toshiba Recovery to start anew (out-of-the-box state) on my Satellite X205-SLi4.  The problem is, after the Nvidia drivers (for dual Nvidia 8600M GT) were installed and I rebooted, the computer turns off during startup.  I

  • Some PDF Document Fonts Are not Appearing Correctly.

    To give an example, I am talking about this document. The image shows how it appears with my adobe reader, even though readers like evince or okular display it just fine. THe problem persists with several documents, but not all of them. So far I am n

  • Using a Router and Airport at the same time

    Hi I have a problem. I have a wireless setup in my house and I need a faster internet connection for my podcast. Since wireless has 1 Gigabit Ethernet (I think) I need 100 Gigabit Ethernet through a regular Ethernet cable (I think). Can I plug a regu

  • Need help in customising OOTB Report

    Hi, In OIM-->reports-->Operational reports-->OIM password expiration report, the input values are user id, firstname, lastname and date range. Can we customize this report so that it takes only date range as input? I want to remove other input values

  • CAT2 problem: Error when attempting to IMPORT object "C1

    Hello Friends, We are upgraded from SAP 4.6C to ECC6.0 I am getting problem for CAT2 Transaction. CAT2 is working fine for most of the personnel numbers but for few persons, it is giving an ABAP dump. Runtime Errors         CONNE_IMPORT_WRONG_COMP_TY