Import excel file error

Hello - I am having issues running package to import a excel file into a sql table. It works fine in SSDT (BIDS) but when i deploy it to the server I get errors the below errors:
I have installed the driver from here http://www.microsoft.com/en-us/download/details.aspx?id=13255 and also set my package to run in 32bit mode with delay validation. This doesn't still seem to work.
I have a Microsoft server 2008 R2 64 bit and I am have Sql Server 2012 SP2 on this server.
Thanks!

See if this helps
http://visakhm.blogspot.in/2011/11/excel-2010-export-import-issue-in-64.html
Did you check 32bit runtime option inside the job?
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page
Visakh - this worked. I installed the 32 bit driver and in the sql agent job I ran it in 32 bit and it solved my issue. Thanks!!

Similar Messages

  • Is it possible to import excel files automatically?

    Hi,
    I am able to import the excel file manually and the same map I used in port.. format as excel.. its automatic action.. When I place the file it getting picked but giving structural exception... the same file I can manaully process successfully by selecting the same file using type as excel instead of Port...
    When I select type as port, remote system .. when  I want to select port I can see the port which I defined in console but they are disabled.. wondering where I did wrong?? is it possible to import excel files automatcially??
    Thanks
    Rajeev

    Hi,
    Yes you understood corectly.. I am unable to import excel file automatically.. I created a new port with the map which I used manually of type excel... Before placing the file in the ready folder of this newly created port.. I tried to manually import using the port type... I see the port is disable to select.....
    If I place the fiile its throwing structural exception..... but the same file I am able to import using type as excel..
    After structural exception..I am able to select this exceptional port in import manager of type port.. manually it is successfull using the same map and same file which got structural error....
    In Console report says:
    Error: MS Access is not supported on this platform.
    Error: MS Excel is not supported on this platform.
    I am working on MDM 5.5.65.95 AND WINDOWS 7 64bit..
    Any inputs.
    Thanks
    Rajeev

  • Importing excel file into OBIEE 10.1.3.4

    Hi,
    I am trying to import excel file into OBIEE and would like to use it as a data source. Fro this, I have already created an excel file (using MS excel 2007) with some sample data and named the data ranges with in the excel sheet as well. and I have placed that file under C:\ drive directly. And then created DSN and made sure that it points to the excel file.
    When I go to Administration tool -> Import from Database -> seelct ODBS 3.5 and selected my DSN and clicked OK. Here I have not provided the user name and password (though I have provided the username/pwd as Administrator it is not taking).
    when I click ok, it is throwing the following error :
    nQSerror:16001 ODBC error state : IM006 code: 0 message: [Microsoft][ODBCDriver Manager] Driver's SQLSetConnectAttr failed. [nQSError: 16001]ODBC error state: S1000 code - 5015 message: [Microsoft][ODBC Excel Driver] External table is not in the expected format
    Pls help me in rectifying this error. Many thanks in advance.
    Thanks
    Edited by: 858747 on 25-Aug-2011 05:47
    Edited by: 858747 on 25-Aug-2011 05:48

    Hi, I am facing the same issue.
    I am using OBIEE 11g with MS Excel 2007 file as source. I have created ODBC Driver by selecting Microsoft excel driver.
    NQSAdminTool.log gives error:
    ODBC error state: S1000 code: -5015 message: [Microsoft][ODBC Excel Driver] External table is not in the expected format
    The Admin tool gives error: "Unable to connect database using connection pool", when I try to 'update row count' in Physical Layer.
    Any quick resolution to this?
    Many thanks in advance.
    Edited by: user1603699 on 25-Oct-2011 09:28

  • Possible cause of "Cannot open Excel file error"?

    Hi!
    Here's my problem: one of our LabView applications creates .xls Excel
    files.  However some of these files are too big to be opened into
    Excel, so we need to open these files in DIAdem to analyse the data (in
    fact, even the smaller ones often need to be analysed in DIAdem). 
    The problem is that DIAdem seems totally unable to open Excel files,
    small or big, created by our LabView application or not.  The
    error message appearing when we try to import Excel files is "Cannot
    open Excel file"... which doesn't give any clue about the cause of the
    error.   My question is: what may cause this error to
    occur?  I searched both the help and the website without finding
    useful information.
    The computer is running on WinXP with OfficeXP installed, and we are
    using DIAdem 9.0.  If additionnal information is required, just
    let me know.
    Thanks in advance!
    Maxime B.

    Hi!
    I did some experiments this morning.  First of all, the file I had
    created using Excel that I tried to open yesterday just opened.  I
    don't know why it didn't work yesterday, but, for now, it's
    working.  Now, for my LabView-created files, I still get the same
    error message.  However, if I open the files in Excel and try to
    save, a warning message appears, saying that the file may not be
    compatible with the text (separator:tabulation) format.  If I
    ignore the warning and save the file as a .xls file, I can now import
    it into DIAdem.  The problem is probably that my LabView-created
    files are not "real" .xls files.  Now, this is a problem, because
    I can't open some of the bigger files in Excel without having the data
    truncated (Excel has a maximum of 65536 rows); last year, using DIAdem
    8.X (I don't remember the exact version we had), I could open those
    files without any trouble... Is there any way to get those files to be
    opened with DIAdem 9.0?  I attached one of those files if it may help.
    Thanks!
    Maxime B.
    Attachments:
    Data1.xls ‏152 KB

  • Importing excel files - problem with single quote

    When importing excel files using 1.5, I can't get data with single quotes (') imported.
    When I run the insert statement given in SQLPlus I get "ORA-01756: quoted string not properly terminated", which is different than the error that SQL Developer gives me (see below).
    Also, I have a numeric value shown without a thousands comma-separator in the XLS file that I'm trying to load into a varchar2 field. But, the insert statements have added a thousands comma-separator which I don't want.
    REM Error starting at line 1 in command:
    REM INSERT INTO table (ID, NAME, CODE)
    REM VALUES (2427407, 'Ed-u-care Children's Center', '73,000');
    REM Error at Command Line:2 Column:37
    REM Error report:
    REM SQL Error: ORA-00917: missing comma
    REM 00917. 00000 - "missing comma"
    REM *Cause:   
    REM *Action:
    One last thing, TOAD gives a way to automap columns chosen from XLS to the columns in the database. It sure would be nice to have this functionality in SQL Developer.
    Thanks,
    Steve

    Did you consider both to be bugs (i.e., single quote issue and thousands comma separator issue)?
    Thanks

  • How to import excel file in oracle 10g suit

    Respected all,
    i am working d2k6i now i am going to 10g suit and i want to import excel file so anybody help me how to do it? Thanks in advance.

    Hi,
    This forum is dedicated to Oracle SQL Developer Data Modeler, so it is possible to get an answer here, but it is not very likely.
    Try to get help in in more appropriate forum from here
    https://forums.oracle.com/forums/main.jspa?categoryID=84
    Regards

  • Premiere Pro CS5: please help problem with importing a file error output "there was an error decompressing audio or video"

    please help problem with importing a file error output "there was an error decompressing audio or video"

    this is related to what adobe program/version?

  • Are you Know function which import excel file

    Please let me know how I can import excel file my alv grid with all colours and all fields headers. etc..

    you can do this with OLE
    take a look at this https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1d54348-0601-0010-3e98-bd2a2dcd9e6c

  • Adding hyperlinks to imported excel file cells

    Good Afternoon All,
    I am having trouble assigning hyperlinks and defining names to the individual cells of an imported excel file (import into Visio). Ideally, I would like to be able to hyperlink shapes in other Visio pages (of the same
    workbook) to individual cells of the imported excel file and vice versa.  Is there any way of doing this? 
    Please let me know if I can clarify.
    -Tom

    In a similar thread from a few days ago:
    Albert Geven wrote:
    > You can also download from the developer zone our excel (goop)
    >library.
    >search for philips and you'll find it.
    We've used this with good success for creating multiple worksheets. If you
    like goop, its great. It may be worth a look for you. It's at this link
    http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&42E12CDCDBD1C682
    8625699D004EEFA8&cat=9C6DF90777E5A78206256874000FA14E
    Spencer
    "Jeff - PPL" wrote in message
    news:[email protected]..
    > Is it possible to send data to two different worksheets in an excel
    > file? For example, I have raw data and then calculations from that
    > raw data. Right now I have the raw data being sent to the exc
    el file.
    > I would like to be able to send the calculation results to the same
    > file but a new worksheet. Is this possible?
    >
    > Thanks

  • How import excel file as data sorce in OBISE Physical layer correctly?

    Hi everyone,
    I'm trying to import an excel file as data source in OBISE Physical layer. I create the ODBC that link the correct file (http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html#t1)
    than imported the Excel using the import from database tool in the Oracle BI Adminstration. I see the Excel but i can't see data in it. Can you help me, please? I'm new in this.

    Did you enter a range in excel file?
    The range represents table name in the physical layer after you import excel file.
    See in this blog example:
    http://obiee101.blogspot.com/2008/06/obiee-excel-import-prepping-data.html
    Did you use import from database and select excel data source that you created in ODBC?
    I did the same and works for me.
    Save repository first and view data and check connection pool/data source name in your excel database folder.
    Regards
    Goran
    http://108obiee.blogspot.com

  • "DBSTATUS_UNAVAILABLE" Error while importing Excel File

    Hello,
    I am getting following error while importing data from Excel 2003 to SQL server using SSIS 2008,  [Excel Source [1]] Error: There was an error with output "Excel Source Output" (9) on component "Excel Source" (1). The column status
    returned was: "DBSTATUS_UNAVAILABLE".
    If i open the excel file and done any editing then the same file loads without any issue. Can you guide me why it's  happening ? , i have edited "TypeGuessRow" property to 0 , IMEX = 1 but no help.
    Thanks

    Hi Ved_Prakash,
    The error is generic and can occur due to various causes. In order to troubleshoot this issue, I need to clarify some information:
    Could you please post some sample data for that column in the error message?
    Have you modify some properties after accessing data from that Excel file?
    Since the error message is incomplete, could you post other error messages from the Output pane?
    Besides, we can also use
    SQL Server Import Export Wizard to import Excel into SQL Server database.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Import Excel File Data into oracle database table.

    HI,
    i want to insert data into a specific table from a excel file. please help me..
    for example
    emp.xls file's data need to be import in emp database table.
    thanks in advance...

    Hi,
    to all knowledgable person, this would be gald for u all that i have solved the problem.
    through this procedure..
    PROCEDURE IMPORT_FROM_EXCEL_PROC (as_FileName VARCHAR2, exe_name varchar2) IS
              appid PLS_INTEGER;
              convid PLS_INTEGER;
              docid PLS_INTEGER;
              conv_established BOOLEAN := FALSE;
              buffer VARCHAR2(100);      
              Emp_code VARCHAR2(100);
              Emp_name VARCHAR2(100);
              Emp_desig VARCHAR2(100);
              Emp_Salary VARCHAR2(100);
              ls_error VARCHAR2(1000);
              li_row integer;
              li_col integer;
              li_error_count integer;
              li_load_count integer;
    BEGIN
         --Start Excel
         --This line assumes that Excel is in the specified directory
              --     APPID := DDE.APP_BEGIN('D:\OFFICE11\EXCEL.EXE',DDE.APP_MODE_MINIMIZED);
              APPID := DDE.APP_BEGIN(exe_name,DDE.APP_MODE_MINIMIZED);
         --Establish a conversation with Excel
         --The following loop will not end until a conversation with Excel
         --has been established. Therefore, it can result in a endless loop,
         --so use with caution.
              WHILE NOT conv_established LOOP
              BEGIN
              convid := DDE.INITIATE('excel', 'system');
              conv_established := TRUE;
              EXCEPTION
              WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
              conv_established := FALSE;
              END;
              END LOOP;
         --Open Excel document
         --This assumes that you have an Excel spreadsheet named ddetest.xls in the root of c:
              DDE.EXECUTE(convid, '[Open("'||as_FileName||'")]', 10000);     
         --Initiate conversation with Excel document
              docid := DDE.INITIATE('excel',as_FileName);
         --Begin transfer from Excel to Forms
                   li_load_count := 0;
                   li_error_count := 0;
                   li_col := 1;
                   li_row := 2;
                   GO_BLOCK('IMPORT_XLS');          
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);          
                   WHILE length(buffer) > 2 LOOP           
                   WHILE li_col < 5 LOOP
                        buffer := substr(buffer, 1, instr(buffer, chr(10)) - 2);               
                   IF li_col = 1 THEN --Emp_code
                        Emp_code := buffer;     
                   ELSIF li_col = 2 THEN --Emp_name     
                        Emp_name := buffer;     
                   ELSIF li_col = 3 THEN --Emp_desig      
                        Emp_desig := buffer;     
                   ELSE --Emp_salary
                        Emp_salary := buffer;
                   END IF;
                   IF nvl(ls_error,'N') = 'N' THEN
                   li_col := li_col + 1;
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);
                   ELSE
                   li_col := 5;
                   END IF;               
                   END LOOP;
                   IF nvl(ls_error, 'N') = 'N' THEN
                   li_load_count := li_load_count + 1;
                   IF li_load_count = 1 THEN
                   FIRST_RECORD;
                   ELSE
                   NEXT_RECORD;
                   END IF;
                   :IMPORT_XLS.Emp_code := Emp_code;               
                   :IMPORT_XLS.Emp_name := Emp_name;          
                   :IMPORT_XLS.Emp_desig := Emp_desig;
                   :IMPORT_XLS.Emp_salary := Emp_salary;
                   ELSE
                   li_error_count := li_error_count + 1;
                   DDE.POKE(docid, 'R' || TO_CHAR(li_row) || 'C5', ls_error, DDE.CF_TEXT, 10000);
                   END IF;
                   ls_error := '';
                   Emp_code := '';
                   Emp_name := '';
                   Emp_desig := '';
                   Emp_salary := '';
                   li_col := 1;
                   li_row := li_row + 1;
                   DDE.REQUEST (docid, 'R' || TO_CHAR(li_row) || 'C' || TO_CHAR(li_col), buffer, DDE.CF_TEXT, 1000);                
                   END LOOP;               
                   IF li_error_count > 0 THEN
                        DDE.EXECUTE(convid, '[[save]]', 10000);
                        Message(TO_CHAR(li_load_count) || ' Record(s) Loaded. ' ||
                        TO_CHAR(li_error_count) || ' Invalid Record(s). See error in excel file.');
                        ELSE
                        Message(TO_CHAR(li_load_count) || ' Record(s) Successfully Loaded.');
                   END IF;                
                   --End transfer to Excel
                   DDE.TERMINATE(docid);
                   DDE.TERMINATE(convid);
                   DDE.APP_END(appid);                          
                   --Handle exceptions
                   EXCEPTION
                   WHEN DDE.DDE_APP_FAILURE THEN
                   MESSAGE('WINDOWS APPLICATION CANNOT START.');
                   WHEN DDE.DDE_PARAM_ERR THEN
                   MESSAGE('A NULL VALUE WAS PASSED TO DDE');
                   WHEN DDE.DMLERR_NO_CONV_ESTABLISHED THEN
                   MESSAGE('DDE CANNOT ESTABLISH A CONVERSATION');
                   WHEN DDE.DMLERR_NOTPROCESSED THEN
                   MESSAGE('A TRANSACTION FAILED');
    END;

  • Missing Font in Imported Excel File

    I keep getting a "missing font" preflight error on an imported Excel chart placed into Indesign.  Indesign CS4 wants me to apply a different font to the original file in Excel.  The font in the original file is Arial.  And Arial has been "installed" correctly.  Not sure exactly why I keep getting this error.  I've also tried changing the font to something else and I get the same error.  Its as if the "Arial" Excel uses is not the same "Arial" that Adobe uses.
    This is how I'm importing the Excel chart.  I used the Adobe Acrobat distiller to convert the XLS to a PDF.  Then I place the PDF file where I need it in my Indesign document.  I export the file as a PDF because its easier to work with since I don't need to make any changes to the chart itself.  I also find that Indesign doesn't like working with bigger Excel files for example, the selection box doesn't include the entire chart and its difficult to adjust the cells since Indesign adjusts the cell widths to be more narrow.  If I import it as an unformated table, everything looks terrible and I end up spending so much time trying to get the chart to look the way I want it to.
    Anyone having the same issues?  I'll thinking about just ignoring the preflight warning as I can't find a way around this.

    Basically I create the chart in Excel with the font "Arial", I then use the "Convert to Adobe PDF" button on the top of the toolbar.  It does it's process of converting it then acrobat will open and show me the converted file.  The file looks just the way it did in Excel which is what I want.  I'm not exactly sure how to embed the font during this process.  To me it seems that it should automatically do that when acrobat converts the file.  I then "Place" the file into my Indesign document.  Once placed the chart looks perfect and there are no highlighted missing font fields.  Its just when I do a preflight check is when the error message appears.

  • Importing Excel Files and Formatting Issues

    Good afternoon ladies and gentlemen. When in doubt, post in the forum! Anyway, I am using java via ODBC to connect to an excel file to extract some info from it, using SQL statements. Everything can be extracted without any problems, however, Excel keeps pi$$ing me off by changing the format of the cell data.
    Firstly, I highlight every cell in my Excel file and format it as "Text."
    Then I extract the cell info by using a ResultSet and getting a String (even for numeric data - ResultSet.getString(...))
    What is getting on my nerves is that not only does it not extract numeric values followed by a string, when it does extract numeric values, it is adding a ".0" after the value.
    For example, if the cell value is 123, it will return 123.0
    If the cell value is 123SHOE, it returns null
    Furthemore, when editing the Excel file, after having every cell formatted as "Text," if I enter a number, say, as a zipcode, 123450000, it brings up an error! But the very definition of "Text" states that "Text format cells are treated as text even when a number is in the cell."
    The moral of the story is, I want to convert all data in the Excel file to "Text" and when extracting data from the file, I need to be able to extract numbers, numbers followed by characters, and everything else.
    Any suggestions?
    Thanks much,
    Josh

    Hey Dr. Clap, quick question for ya. I was checking out the Apache POI you recommended. More specifically HSSF. I noticed in the documentation that "String cells cannot conatin numbers and numeric cells cannot contain strings." Unfortunately, this is not going to work well with my app as some of the primary keys (I use the term loosely) are Strings which contain numbers. My main problem is that my app wont recognize the Strings containing numbers, so it returns null, and Excel is chopping off the leading zeroes and is popping up with an error because numbers are in the String. However, as I stated before, Excel notes that text cells can contain numbers!
    FYI, I am using Pervasive SQL to extract a given list of users in a DB (which I dont want to connect to directly) and am saving that generated query (list of users) into a text file. I then open the text file in Excel which parses it correctly and assigns the cells the correct values. So I don't think I can format the cells as text because I am importing the file I generate. I love doing things ass backwards :) Another reason I am using Excel files is so anyone can use the software so long as they have an Excel file with the appropriate columns within the file.
    Thanks yet again and I'll keep searching.
    Josh

  • Import Excel file into SQL, using bulk copy - date issues

    Hello. I have a VB project where I need to import multiple excel files with lots of rows and columns into SQL 2012. Currently the import is set up, using OleDbConnection and insert commands and it takes up to 10 minutes to process all the spreadsheets.
    I'm trying to switch the code to use SQLBulkCopy, but experienced issues with dates columns. Some rows have Null dates and those are interpreted as strings and won't import into SQL tables. Is there a way to format the column prior to import programmatically?
    Any advice is appreciated.
    Note -
    If I add column mapping and exclude all dates columns - import works fine. All excel files have date fields, excel files are reports from other vendor and change on weekly bases, manual formatting of the excel files prior to import are out of the question...
    The code is just basic:
    Public Sub ImportFormExcelSample()
    Dim ExcelConnection As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\MyExcelSpreadsheet.xlsx;Extended Properties=""Excel 12.0 Xml;HDR=Yes""")
    ExcelConnection.Open()
    Dim expr As String = "SELECT * FROM [Sheet1$]"
    Dim objCmdSelect As OleDbCommand = New OleDbCommand(expr, ExcelConnection)
    Dim objDR As OleDbDataReader
    Dim SQLconn As New SqlConnection()
    Dim ConnString As String = "Data Source=MMSQL1;Initial Catalog=DbName; User Id=UserName; Password=password;"
    SQLconn.ConnectionString = ConnString
    SQLconn.Open()
    Using bulkCopy As SqlBulkCopy = New SqlBulkCopy(SQLconn)
    bulkCopy.DestinationTableName = "TableToWriteToInSQLSERVER"
    Try
    objDR = objCmdSelect.ExecuteReader
    bulkCopy.WriteToServer(objDR)
    objDR.Close()
    SQLconn.Close()
    Catch ex As Exception
    MsgBox(ex.ToString)
    End Try
    End Using
    End Sub
    The error I get is System.InvalidOperatiomException: The given value of type String from the data source cannot be converted to type date of the specified target column. System.FormatException: Failed to convert parameter value from String to a DateTime...
    Thank you!
    Alla Sanders

    Hi Alla,
    This issue might be caused because the field contains a NULL value, but the date/time columns in your table does not allow NULL values. Furthermore, please aslo take a look at "Data Type Issues" session in the article below:
    http://odetocode.com/blogs/scott/archive/2013/02/08/working-with-sqlbulkcopy.aspx
    Here is a similar thread about this topic for your reference, please see:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/2d99181c-fc2b-4caf-9530-3bd6ae1745f1/sqlbulkcopy-column-validation-not-working?forum=sqldataaccess
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • BOE-XI 3.1 Client Tools (SP4) Error

    BOE-XI 3.1 Client Tools (SP3) are installed OK on a Workstation... Business View Manager = 12.3.0.601 Designer = 12.3.0.601 WebIntelligence Rich Client = 12.3.0.601 I have downloaded the "SBOP Enterprise Client Tools XI 3.1 ServicePack 4" files from

  • Do I have to change my IPhone 4S Name after restore backup from IPhone 3GS?Or is it irrevelant if two devices have the same name?

    Hey people, question above. I hope you can help me. I don´t want to crash my new 4S. Thanks.

  • FP 3.6 Post installed infoview is not working

    HI, We have installed the FP3.6 on BOXIR3.1 SP3 FP3.3, once done the installation we are not able to launch the  infoview. Its throwing the 'The requested resource (/InfoViewApp/) is not available' error. After that we have dereployed the InfoviewApp

  • Create database connection with Mysql

    Hi, all: inside JDeveloper, i try to create a database connection for Mysql (third party JDBC driver). I input all needed parameters into JDeveloper database connection dialog, and test connection, the error message says 'Unable to find driver org.gj

  • Runtime exception in workflow

    We have used the BLOCK task type in our workflow to catch all runtime exceptions. I want the exception details (that gets thrown automatically by the system at runtime) to be sent as part of a notification/mail task type to our administrator. 1. How