Problem pulling data from Microsoft Access into Excel

Using Office 2010 pro, Windows 7:
I'm trying to pull in data from a password protected Access Database into Excel but I am having all kinds of problems..
In Excel im using:-
Data Link Properties> "Provider"> MS Office 12.0 Access database Engine OLE DB Provider
"Data Source": the full path and filename to the access database
"Enter information to log onto your server" - "use NT integrated security" is greyed out so I select username "Admin" and password <the database password>.
When clicking on "Test connection" I get the following error message:
"The test connection failed because of an error in initializing provider. Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
Any help would be very much appreciated!
With thanks, NECoder

a similar issue:
http://social.technet.microsoft.com/Forums/en-us/5779d18b-a41e-416e-9001-8bbc73670591/test-connection-failed-because-of-an-error-initializing-provider?forum=sqldataaccess

Similar Messages

  • Trying to Import data from Microsoft Access in POWERPIVOT

    Hello,
    I am trying to import data from Microsoft Access into Powerpivot. In my Access database I have several query's.
    When I go to the Table Import Wizard in powerpivot, I only see one source table. Why can't I see the other query's?
    Thanks in advance for your help.
    Soraya

    Hello Soraya,
    Which Version of MS Excel / Power Pivot are you using? Do you try to Import from a MDB or from the new Format ACCDB? Are these common queries in MS Access or pass-through queries?
    In common it should work, if I Import from a MDB I can see & select both, tables & views (queries):
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • How to I convert data from oracle database into excel sheet

    how to I convert data from oracle database into excel sheet.
    I need to import columns and there datas from oracle database to microsoft excel sheet.
    Please let me know the different ways for doing this.
    Thanks.

    asktom.oracle.com has an excellent article on writing a PL/SQL procedure that dumps data to an Excel spreadsheet-- search for 'Excel' and it'll come up.
    You can also use your favorite connection protocol (ODBC, OLE DB, etc) to connect from Excel to Oracle and pull the data out that way.
    Justin

  • Retrieving ESSBase data from Microsoft Access

    Hello
    Can anyone advise on how to pull data from Essbase directly into MS Access rather than via Excel?
    Thanks

    There are several ways...
    1. Report Script
    2. Date Export Calc
    I can't remember if the HAL adapter can pull from essbase and load right into access via an ODBC adapter. If so, that would be rather clean approach.
    hope this helps you get started.

  • I want to convert date from Microsoft Access to Oracle.

    I want to convert date from Microsoft Access to Oracle.
    My Oracel date format is 21-Jul-2004 02:24:09 AM
    I use sqlldr in Oracle 9i Database and I
    write control file
    load data
    infile 'test.txt'
    into table test
    fields terminated by "," optionally enclosed by '"'
    trailing nullcols
    name,
    birthday
    data file 'test.txt' for input
    "dao","21-Jul-2004 02:24:09 AM"
    why did error? ORA-01843: not a valid month
    Thank.

    replace birthday with
    birthday "to_date(:birthday, 'DD-Mon-YYYY HH:MI:SS AM', 'NLS_LANGUAGE=''american''')"Of course, if your monthes are in German, then set the language to german (JUL=JUL but DEZ<>DEC)
    Regards
    Laurent

  • HOW TO FILTER DATA FROM MICROSOFT ACCESS

    HOW TO FILTER DATA FROM MICROSOFT ACCESS BASED ON DATE AND TIME AND GIVE THE RESULT TO A TABLE ?
    I need some example files , can anybody please help me ?
    Solved!
    Go to Solution.

    Just be sure to get examples specific to the Jet DBMS. It is rather "idiosyncratic" when dealing with time and date values.
    One question: the timestamp is being saved in a datetime field, right?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Retrieving data from Microsoft Access using JDBC

    I noticed that when i tried retrieving data from Microsoft access using JDBC, I realised that it was throwing SQLException when the column names were two word with spaces between them, e.g. Date Birth. But after i removed the space from the column names, my SQL queries were retrieving data. Was it because of the space in between the column names of the table?

    Yeah, as far as I know having two word column names isn't allowed in SQL. There might be some way to escape it, but generally it's sensible to avoid it.

  • Data from Microsoft Access ?

    Hi,
    When I deploy report that takes data from Microsoft Access, I got error: Unable to retreive object.
    How do we set the data source for this ? I tried to put the MS access file in the same folder as the published rpt file, it didn't work.
    Thanks

    There are a couple of issues here for you to look at.
    1.  How are you connecting to the database from your development machine?  If you're using an ODBC connection, that same connection must be set up on the computer where the report is deployed.  Where you're using ODBC or another connection method, your deployement computer will also need to have installed whatever drivers are necessary for connecting to Access (they aren't installed by default with Windows!)
    2.  If the database resides on the network (I know, you said it was in the same folder as the report, but you may not always be able to do that!) the user who is logged in to the machine where your app is deployed will have to have valid network access to the folder where the database is located.
    -Dell
    - A computer only does what you told it to, not what you <em>thought</em> you told it to!

  • Store data from a table into excel sheet and email

    Hi all,
    I am just wondering, i m not sure where to start. I want to insert data from a table into an excel spread sheet.
    I'm working on a stored procedure with 3 input parameters:
    1. the actual query
    2. userid
    3. the column headers (comma separated) - these will be in the same order as the outer select statement in the query itself. I will use the column headers for the respective columns in Excel worksheet.
    When the proc is executed, the excel is populated. If the record count is > 65536, then I need to create multiple worksheets in the same excel file.
    How can i do that? Can any body please help with this..?

    We are doing like this ( Not sure whether it is the best method available)
    --Get the output of the query (Since the number of columns is not fixed you would have to use dbms_sql package)
    --loop through the output and write into a file, for example test.csv, using UTL_FILE package
    --load the file into a blob variable(we are doing it by loading it into a table)
    --For mailing You can use the below package
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    Mailing code we are using is given below:
    CREATE OR REPLACE procedure xls_mail(
        p_sender     varchar2, -- sender, example: 'Me <[email protected]>'
        p_recipients varchar2, -- recipients, example: 'Someone <[email protected]>'
        p_subject    varchar2, -- subject
         p_text           varchar2, -- text
         p_filename      varchar2, -- name of xls file
         p_blob           blob         -- xls file
    ) is
      conn      utl_smtp.connection;
      i number;
      len number;
    BEGIN
      conn := demo_mail.begin_mail(
        sender     => p_sender,
        recipients => p_recipients,
        subject    => p_subject,
        mime_type  => demo_mail.MULTIPART_MIME_TYPE);
      demo_mail.begin_attachment(
        conn         => conn,
        mime_type    => 'application/xls',
        inline       => TRUE,
        filename     => p_filename,
        transfer_enc => 'base64');
        -- split the Base64 encoded attachment into multiple lines
       i   := 1;
       len := DBMS_LOB.getLength(p_blob);
       WHILE (i < len) LOOP
          IF(i + demo_mail.MAX_BASE64_LINE_WIDTH < len)THEN
             UTL_SMTP.Write_Raw_Data (conn
                                    , UTL_ENCODE.Base64_Encode(
                                            DBMS_LOB.Substr(p_blob, demo_mail.MAX_BASE64_LINE_WIDTH, i)));
          ELSE
             UTL_SMTP.Write_Raw_Data (conn
                                    , UTL_ENCODE.Base64_Encode(
                                            DBMS_LOB.Substr(p_blob, (len - i)+1,  i)));
          END IF;
          UTL_SMTP.Write_Data(conn, UTL_TCP.CRLF);
          i := i + demo_mail.MAX_BASE64_LINE_WIDTH;
       END LOOP;
      demo_mail.end_attachment(conn => conn);
      demo_mail.attach_text(
        conn      => conn,
        data      => p_text,
        mime_type => 'text/html');
      demo_mail.end_mail( conn => conn );
    END;

  • Importing/Exporting data from Microsoft Access

    Hello to everybody!
    I have to create a management software (client-server).
    CLIENT SIDE: ClientS insert data into forms and these data are stored into a database Access (client database). Every month clients send to the server some of the data stored (data of the month!).
    SERVER SIDE: "Server man" receive from clients those data by email end need to store them into the main server database.
    Note: Data to be send have not a big dimension and, naturally, clients and server databases are identical (same structure)!
    My questions are:
    1) What is the best way to export data from database access to a file? (I imagine I need to use .XML file). Do I need to use particular package or software??
    2) What is the best way to import data from a file (maybe .XML) into a database access (of server)?? Do I need to use particular package or software??
    This is my first software of this kind.
    Please HELP ME!
    Thanks in advance, Liuk.

    1) What is the best way to export data from database
    access to a file?That depends on many things.
    (I imagine I need to use .XML
    file). NO! That's not what XML is for
    Do I need to use particular package or
    software??Again, that depends on a lot of things.
    2) What is the best way to import data from a file
    (maybe .XML) into a database access (of server)?? Do
    I need to use particular package or software??Look at Java IO packages for reading data from files. Then look at JDBC for writing data to databases. Avoid XML, you don't need it.

  • Uploading data from MS Access into SAP R3 v3.1

    Hey Gurus,
    I am wondering which options I have to import data from a MS Access database into SAP R3 version3.1. For example, can I make use of the LSM Workbench?
    Regards,
    Pim
    points are awarded if helpfull

    It is much better to take the help of technical person, as directly you can upload the data from MS Access to SAP ..the thing you have to keep in mind is tell theABAPer to convert the file into a .txt one..as then only SAP will allow.
    Reward Points if it helps,
    Regards,
    N

  • MOVING DATA FROM MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD TO AN IMAC G5

    I HAVE INHERITED AN IMAC G5 RUNNING MAC OSX. CAN I CONVERT MY MICROSOFT ACCESS, EXCEL, PUBLISHER AND WORD FILES FROM MY HP PAVILION RUNNING WINDOWS 98 SE TO RUN ON THIS IMAC?

    Please do not post in ALL CAPITAL LETTERS.
    It looks like you are SHOUTING AT EVERYONE.
    That said... you can purchase Microsoft Office for Mac and use your Word and Excel files as you normally would on any Windows PC.
    Microsoft Access and Publisher will require you to use Microsoft Windows and Microsoft Office for Windows. You'd need to install Virtual PC for Mac on your G5 to use Windows and Office for Windows.
    It'll likely be slow and painful.

  • Importing Data from MS Access into SQL Serevr 2005 via Linked Server: User-Dependent failure

    I am operating an Express version of SQL Server 2005 on a Windows XP machine.
    I have successfully setup a linked server to a remote Access (.mdb) database. With my user account (Windows authentication) I can retrieve and store data without any problem.
    I have another user (apparently with same settings as my own account) that is always failing to get the data.
    The Error message he gets is:
    OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TSU_Tmp" returned message "The Microsoft Jet database engine cannot open the file '\\DSITSO-NT0001\Exchange\Database5.mdb'.  It is already opened exclusively by another
    user, or you need permission to view its data.".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "TSU_Tmp".
    Here below the code used to set up the linked server (coming from the Code Snippets of SQL Server 2005).
    EXEC sp_addlinkedserver
    @server = N'TSU_Tmp',
    @provider = N'Microsoft.Jet.OLEDB.4.0',
    @srvproduct = N'OLE DB Provider for Jet',
    @datasrc = N'\\DSITSO-NT0001\Exchange\Database5.mdb'
    EXEC sp_addlinkedsrvlogin
    @rmtsrvname = N'TSU_Tmp',
    @useself = N'TRUE',
    @locallogin = NULL,
    @rmtuser = N'Admin',
    @rmtpassword = NULL
    We both run the script, actually is a Stored Procedure, (see code below) on the same XP machine where SQL Server is running.
    EXEC('INSERT INTO tblFcst
    (StartBUCode, StartBUType, StartBUSeq, StartTrz, StartCty,
    EndBUCode, EndBUType, EndBUSeq, EndTrz, EndCty,
    FcstCreationPeriod, FcstValidForPeriod, Fcst, FcstExternalReference,
    IsProcessed, IsSolved)
    SELECT TSU.BUCodeSend, TSU.BUTypeSend, TSU.BuaNoSend, Null AS StartTrz, Null AS StartCty,
    TSU.BUCodeRcv, TSU.BUTypeRcv, TSU.BuaNoRcv, Null AS EndTrz, Null AS EndCty,
    TSU.[Current week], TSU.[Forecast for week], TSU.[Volume trp m3], TSU.[TSU_ID (Don''t touch me)],
    0 AS IsProcessed, 0 AS IsSolved
    FROM TSU_Tmp...tbl_TSU_trpm3 AS TSU;')
    PS: it is run using an 'EXEC(String)' format as at compile time of Store Procedure the Linked Server is not existing and otherwise compile would fail.
    We tried it with different files, in different locations. It always wors for me, never for him...
    The files were not used by anyone else. The folder(s) where they were stored are open to "Everyone".
    So I concluded it should be something linked to the User... :) But I really do not know what, as said apparently we have exactely the same setup in our Login profiles.
    Any idea or suggestion is welcome.
    Thanks
    Luca

    Hi Luca Lentati,
    According to your description and T-SQL statement, we need to verify if the download and install the Microsoft.Jet.OleDB.4.0 as a provider.
     If the 64bit SQL Server is running on the server,  The error, the Microsoft.Jet.OleDB.4.0 is not support, I reommend you download and install the Microsoft.ACE.OLEDB.12.0 as a provider.
    The error 7303 message indicates that the linked server does not have correct login mapping. You can execute the sp_helplinkedsrvlogin stored procedure to set the login information correctly. Also, verify that you have specified the correct parameters
    for the linked server configuration.
    In addition, if the issue still exists, I recommend you copy the access file to local Server, and create linked server between them , check if it can run well. If yes, it means that
     the account which SQL server uses to run the service does not have read/write access to that file share.
    There is an article about configuring a Linked Microsoft Access Server on SQL 2005 Server , you can review the following article.
    http://www.aspfree.com/c/a/Microsoft-Access/Configuring-a-Linked-Microsoft-Access-Server-on-SQL-2005-Server/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Upload data from microsoft access to oracle form(in data block)

    Hi all,
    Any one can help me, how we can upload data from access file to developer form(in data block).
    as
    we upload data from text file to developer form(in data block) using some packages.
    Thank's in advance

    Hi Zuhair,
    If you give details of the problems you are still having then we should be able to get SQL*Developer to work.
    However, if you don't want to use SQL*Developer then the following options are taken from note 393760.1 available in Metalink if you have access to that -
    1. Use a gateway that supports the non-Oracle database or generic connectivity if a third party ODBC driver is available to do a -
    'create Oracle_table as select from non_oracle_table@database_link'
    for each table. You would then have to manually create all the other objects (views, indexes, stored procedurs etc) and permissions etc that existed in the non-Oracle database.
    2. Use the SQL*Plus COPY command to copy data from the non-Oracle database to the
    Oracle database using a gateway or generic connectivity. The syntax is as follows:
    COPY FROM username/password@oracle_sid -
    INSERT destination_oracle_table -
    USING query;
    The following example selects all rows from the EMP table in the non-Oracle database and
    inserts them into the local Oracle EMP table:
    COPY FROM SCOTT/TIGER@ora10 -
    INSERT EMP -
    USING SELECT * FROM SCOTT.EMP@gateway;
    where "gateway" is the database link created for the gateway.
    3. Load the non-Oracle data into flat files and use SQL*Loader to put the data into Oracle tables. Again manual
    work is required for the other objects.
    4. Contact the Oracle Product Technology Services (PTS) group for assistance. See the webpage -
    http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html
    5. Use a third party migration tool. See -
    http://www.oracle.com/technology/tech/migration/isv/third_party.html
    6. Use JDBC to connect to the non-Oracle database and Java in the Oracle database. This method will work but it is not suppported by the JDBC team.
    =========
    The amount of work involved will depend on the number and size of Access tables that you want to migrate.
    Regards,
    Mike

  • How to download Data from Database directly into excel

    I have a requirement to download very large quantity of data from database into Excel file.
    But condition is excel file should have only 65,536 rows in a single spread sheet(that's the limit i suppose),if i have more data points(rows) than it should be stored into different spreadsheet.......this continues so there can be many spread sheets in a single excel file.
    Data size can be 1 GB or more.
    Also specific naming conventions need to be followed for giving name to excel as well as different spread sheets in it.
    Please see if someone could help me out.

    Thanks for ur reply,
    But my requirement is to call "download to excel" method,in a java program on click by user for downloading an excel sheet on his machine.
    This is be done as part of a web application which is to be made (so can't open the excel first)

Maybe you are looking for

  • WHT amount not appearing in FBL1N report for Document type RE

    Dear Friends, While running FBL1N report for any vendor where TDS is applicable, the WHT amount is appearing for KR document type. But when it is RE document type the WHT amount is not appearing in the report. How can we resolve this? Any enhancement

  • Weblogic authentication programatically

    Hello Experts, I have to authenticate the weblogic programatically ,as the client has deployed a serverlet in weblogic, and i have my web-application on the same weblogic. my web application has a link , where it try to get a document from the archiv

  • Error when attempting to install Desktop 6.2

    Hi - When I attempt ro install the software v 6.2 of the Palm Desktop there is an Internal Error 2738 and the installation stops. Anyone know what this means and what can be done to install successfully? All apps were closed and firewall turned off.

  • 5.1 AIFF Audio in FCP5

    I just finished mixing a 5.1 soundtrack using Soundtrack Pro 2.0.2 and rendered it as a 6 channel AIFF file. I sent it to the director who has FCP5 and when he loads it into the FCP project, he only hears the rear tracks which are all room tone for t

  • Missing Transfer to Central System button in CPPR screen

    Hi I am Working on SRM7.0 and ERP ehp4. Trying to transfer PR from ERP to SRM Shopping cart using CPPR. I created PR in ECC ->now displayed PR in Portal ->select PR and click Start collective processing button-> i could not find Transfer to Central S