Suffix .xlsx

I am trying to open a document with the suffix .xlsx, I have updated my Mac office x software, but it is still not opening the much needed document. Is there something I don't know.
Thank you in advance
imac   Mac OS X (10.4.8)  
imac   Mac OS X (10.4.8)  

I should add that there apparently will ultimately be file converters for the new Office 2007 file formats coming for Mac Office 2004. The same problem that bgv has experienced with an excel file will also occur with the other new Office formats ( .docx , .pptx )
The best answer at present is to ask users of Office 2007 to send you docs in the old file format.
In the case of the MS Word 2007 ".docx" format, a third party converter is available at http://www.panergy-software.com/products/docxconverter/index.html It is not free, but a "trial" version will allow you to use it a number of times before deciding if you wish to purchase.
Cheers
Rod

Similar Messages

  • Issue with the presence indicator in list/library web part.

    When viewing a user field (Created By, Modified By or a custom People column) through the list web part (either through the default page /Forms/AllItems.aspx or a custom web part page using a list/library) the presence indicator always says presence unknown.
     However if I go to the Site Permissions on the same site, or My Site or a custom page using a modified core search results web part I wrote the presence indicator works fine.  I can't find any errors being reported on the server.  
    Looking at the rendered code the list web part generates:
    <IMG name=imnmark width=12 height=12 title="" class=ms-imnImg id=imn_48683,type=smtp alt="No presence information" src="/_layouts/images/blank.gif" border=0 sip="[email protected]">
    Locations where the presence indicator works the code is:
    <IMG name=imnmark width=12 height=12 title="" class=ms-imnImg id=imn{20140822-1752-098D-8C11-188AD0B8B8B6},type=sip alt=Available src="http://portal.mydomain.com/_layouts/images/imnon.png" border=0 sip="[email protected]" valign="middle">
    It appears that the List web part is not detecting that the users have a sip address and they appear to be rendered using smtp instead.  It's also odd that the list web part is pulling the correct sip address while the one that works is pulling the
    email address, not the sip address stored in the user profile.  I spent considerable time going through the xslt to try and figure how the tag is rendered but I haven't been able to figure it out.
    We are using Cisco Jabber 9.2.3 for IM, I don't know if that should make a difference or not. It's working fine in other parts of SharePoint and in Outlook. Running SharePoint Dec 2011 CU (14.0.6114.5000) with MS Office 2010 SP2 installed on the client. Tested
    in IE 9.0/10/11.
    Any ideas?

    We don't have a Lync server and I don't have the software available.  Are you saying just having Lync installed even though it won't work might help?
    I did some more digging and believe that this is an issue with the XsltListViewWebPart.  If I go to the UserInformationList the web part used to render the list is the ListViewWebPart and the presence indicator works there.  Also our environment
    was migrated from 2007 and there are a number of pages that are using the old ListViewWebPart and the presence indicator works fine in this part.  If edit the page and add the same list library to it, it's added as a XsltListViewWebPart and the presence
    indicator does not work.
    The presence control is not rendered by the xsl files used by the webpart.  I modified the xsl to display the raw xml and the html code for the presence is part of the xml.  I'm guessing this can't be changed and is part of how SharePoint is rendering
    the data for the XsltListViewWebPart.  You can see the Editor and CheckoutUser lines have the html code embedded in the data.
    <Row
    ID="60"
    PermMask="0x7fffffffffffffff"
    HTML_x0020_File_x0020_Type=""
    File_x0020_Type="xlsx"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapall="icxlsx.png|Microsoft Excel|SharePoint.OpenDocuments"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapcon="SharePoint.OpenDocuments"
    HTML_x0020_File_x0020_Type.File_x0020_Type.mapico="icxlsx.png"
    serverurl.progid="1http://myparkersdev.domain.com/sites/BPIT/_layouts/xlviewer.aspx?id=/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx"
    ile_x0020_Type.progid="SharePoint.OpenDocuments.3"
    File_x0020_Type.url="FALSE"
    FSObjType="0"
    FileRef="/sites/BPIT/Shared Documents/Database Sizes.xlsx"
    FileRef.urlencode="%2Fsites%2FBPIT%2FShared%20Documents%2FDatabase%20Sizes%2Exlsx"
    FileRef.urlencodeasurl="/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx"
    FileLeafRef="Database Sizes.xlsx"
    FileLeafRef.Name="Database Sizes"
    FileLeafRef.Suffix="xlsx"
    CheckoutUser="&lt;span class=&quot;ms-imnSpan&quot;&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_77,type=smtp'/&gt;&lt;/a&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;/span&gt;"
    CheckoutUser.id="526"
    CheckoutUser.title="Ian Howe"
    CheckoutUser.span="&lt;nobr&gt;&lt;span&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; width=&quot;3&quot; src=&quot;/_layouts/images/blank.gif&quot;/&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_78,type=smtp'/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/nobr&gt;"
    CheckedOutUserId="526"
    IsCheckedoutToLocal="0"
    Created_x0020_Date="0;#2014-08-22 09:47:01"
    Created_x0020_Date.ifnew=""
    ContentTypeId="0x0101000AE0EC76CD0DB743B42D2FE022EAA6DC"
    Modified="8/22/2014 10:51 AM"
    Editor="&lt;span class=&quot;ms-imnSpan&quot;&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_79,type=smtp'/&gt;&lt;/a&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;/span&gt;"
    Editor.id="526"
    Editor.title="Ian Howe"
    Editor.span="&lt;nobr&gt;&lt;span&gt;&lt;a onclick=&quot;GoToLink(this);return false;&quot; href=&quot;/sites/BPIT/_layouts/userdisp.aspx?ID=526&quot;&gt;Ian Howe&lt;/a&gt;&lt;img border=&quot;0&quot; height=&quot;1&quot; width=&quot;3&quot; src=&quot;/_layouts/images/blank.gif&quot;/&gt;&lt;a href='javascript:;' onclick='IMNImageOnClick(event);return false;' class='ms-imnlink'&gt;&lt;img name='imnmark' class='ms-imnImg' title='' border='0' height='12' width='12' src='/_layouts/images/blank.gif' alt='No presence information' sip='[email protected]' id='imn_80,type=smtp'/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/nobr&gt;"
    ecb.dispex="return DispEx(this,event,'TRUE','FALSE','FALSE','SharePoint.OpenDocuments.3','0','SharePoint.OpenDocuments','','1http://myparkersdev.domain.com/sites/BPIT/_layouts/xlviewer.aspx?id=/sites/BPIT/Shared%20Documents/Database%20Sizes.xlsx','526','526','1','0','0x7fffffffffffffff','','')" />
    I just find it strange that the old ListViewWebPart works.  Our SP environment has not been patched to the latest version, I'll try that next and see if it makes a difference.

  • Upload and download of  excel file in the application server in background

    Hi all,
    i want to download the excel file from application server into internal table and after processing i have to upload to excel file in the application server in the background mode..
    i mean i'll schedule the program in background.
    im using FM ALSM_EXCEL_TO_INTERNAL_TABLE its working fine in fore ground but not in back ground.
    what method i have to follow ?

    Hi Ankit,
    I think this is not possible to open a Excel-File from the application server because the Excel format before Office 2007 where a binary format (Suffix: .xls). The newer Office file format (Suffix: xlsx) is a zipped XML Format. To read the binary Excel-Format you need an OLE Connection between SAP GUI and Office. But at the application server in background you doesn't have this OLE Connection.
    In my opinion you have two possibilities:
    1. Convert all files in the CSV format. This file format can be read with open dataset.
    2. Upload the files from the presentation server in forground. There are some funktion modules in the standard which can read the xls format. But they have some limits regarding the length of cells content.
    My recommendation is solution no. 1. If you know an VBA expert, he can write an Excel-macro which converts all Excel Files in the CSV-Fomat.
    Regards
    Dirk

  • Bulk create Active Directory Users and Groups in PowerShell using Excel XLSX source file instead of CSV

    Hi Scripting Guy.  I am a Server Administrator who is very familiar with Active Directory, but new to PowerShell.  Like many SysAdmins, I often need to create multiple accounts (ranging from 3-200) and add them multiple groups (ranging
    from 1 - 100).  Previously I used VBS scripts in conjunction with an Excel .XLS file (not CSV file).  Since VBS is essentially out the door and PowerShell is in - I am having to re-create everthing.
    I have written a PowerShell script that bulk creates my users and adds them to their corresponding groups - however, this can only use a CSV file (NOT an XLS file).  I understand that "CSV is much easier to use than Excel worksheets", but
    most times I have three sets of nearly identical groups (for Dev, QA and Prod).  Performing Search and Replace on the Excel template across all four Worksheets ensures the names used are consistent throughout the three environments.
    I know each Excel Worksheet can be exported as a separate CSV file and then use the PowerShell scripts as is, but since I am not the only SysAdmin who will be using these it leads to "unnecessary time lost", not to mention the reality that even
    though you clearly state "These tabs need to be exported using this naming standard" (to work with the PowerShell scripts) that is not the result.
    I've been tasked to find a way to modify my existing PowerShell/CSV scripts to work with Excel spreadsheets/workbooks instead - with no success.  I have run across many articles/forums/scirpts that let you update Excel or export AD data into an Excel
    spreadsheet (even specifying the worksheet, column and row) - but nothing for what I am trying to do.
    I can't imagine that I am the ONLY person who is in this situation/has this need.  So, I am hoping you can help.  How do I modify my existing scripts to reference "use this Excel spreadsheet, and this specific worksheet in the spreadsheet
    prior to performing the New-ADUser/Add-ADGroupMember commands".
    For reference, I am including Worksheet/Column names of my Excel Spreadsheet Template as well as the first part of my PowerShell script.  M-A-N-Y T-H-A-N-K-S in advance.
       Worksheet:  Accounts
         Columns: samAccountName, CN_DisplayName_Name, sn_LastName, givenName_FirstName, Password, Description, TargetOU
       Worksheets:  DevGroups / QAGroups / ProdGroups
         Columns:  GroupName, Members, MemberOf, Description, TargetOU
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # Set parameter for location of CSV file (so source file only needs to be listed once).
    $path = ".\CreateNewUsers-CSV.csv"
    # Import CSV file as data source for remaining script.
    $csv = Import-Csv -path $path | ForEach-Object {
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name $_."cn_DisplayName_Name" `
    -Path $_."TargetOU" `
    -DisplayName $_."cn_DisplayName_Name" `
    -GivenName $_."givenName_FirstName" `
    -SurName $_."sn_LastName" `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `

    Here is the same script as a function:
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    It is called like this:
    Get-ExcelSheet -filename c:\temp\myfilename.xslx -sheetName mysheet
    Do NOT change anything in the function and post the exact error.  If you don't have Office installed correctly or are running 64 bits with a 32 bit session you will have to adjust your system.
    ¯\_(ツ)_/¯
    HI JRV,
    My apologies for not responding sooner - I was pulled off onto another project this week.  I have included and called your Get-ExcelSheet function as best as I could...
    # Load PowerShell Active Directory module
    Write-Host "Loading Active Directory PowerShell module." -foregroundcolor DarkCyan # -backgroundcolor Black
    Import-Module ActiveDirectory
    Write-Host " "
    # JRV This Function Loads the Excel Reader
    Function Get-ExcelSheet{
    Param(
    $fileName = 'C:\scripts\test.xls',
    $sheetName = 'csv2'
    $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source = $fileName;Extended Properties=Excel 8.0")
    $cmd=$conn.CreateCommand()
    $cmd.CommandText="Select * from [$sheetName$]"
    $conn.open()
    $cmd.ExecuteReader()
    # Set parameter for location of CSV file (so source file only needs to be listed once) as well as Worksheet Names.
    $sourceFile = ".\NewDocClass-XLS-Test.xlsx"
    # Add '@saccounty.net' suffix to samAccountName for UserPrincipalName
    $userPrincinpal = $_."samAccountName" + "@saccounty.net"
    # Combine GivenName & SurName for DisplayName
    $displayName = $_."sn_LastName" + ". " + $_."givenName_FirstName"
    # JRV Call the Get-ExcelSheet function, providing FileName and SheetName values
    # Pipe the data from source for remaining script.
    Get-ExcelSheet -filename "E:\AD_Bulk_Update\NewDocClass-XLS-Test.xlsx" -sheetName "Create DocClass Accts" | ForEach-Object {
    # Create and configure new AD User Account based on information from the CSV source file.
    Write-Host " "
    Write-Host " "
    Write-Host "Creating and configuring new user account from the CSV source file." -foregroundcolor Cyan # -backgroundcolor Black
    New-ADUser -Name ($_."sn_LastName" + ". " + $_."givenName_FirstName") `
    -SamAccountName $_."samAccountName" `
    -UserPrincipalName $userPrincinpal `
    -Path $_."TargetOU" `
    Below is the errors I get:
    Exception calling "Open" with "0" argument(s): "The 'Microsoft.Jet.OLEDB.4.0'
    provider is not registered on the local machine."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:39 char:6
    + $conn.open()
    + ~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException
    Exception calling "ExecuteReader" with "0" argument(s): "ExecuteReader
    requires an open and available Connection. The connection's current state is
    closed."
    At E:\AD_Bulk_Update\Create-BulkADUsers-XLS.ps1:40 char:6
    + $cmd.ExecuteReader()
    + ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : InvalidOperationException

  • Problem in Downloading the file by using FM : GUI_DOWNLOAD in XLSX format

    Dear Experts,
        We are using FM: GUI_DOWNLOAD to download the data in .XLSX Format,But it is giving ERROR while opening the Excel file.
    So,Please help me how to download the file in .XLSX format.
    checked DC30 - for file extensions..there we were observed the suffix field is taking only 3 characters,it is not accepting 4 characters,kindly tel me how to increase the field size for SUFFIX field.
    and USED : CL_GUI_ALV_GRID and CL_GUI_FRONTEND_SERVICES.
    Still Not possible to download the data  in XLSX format.
    Kindly Provide the Solution.
    Regards,
    Nagaraju

    hi
    Try to use like below
    Display save dialog window
          call method cl_gui_frontend_services=>file_save_dialog
            exporting
              window_title      = 'FILE PATH'
              default_extension = 'XLS'
              default_file_name = 'CREDIT LIMIT DATA'
         INITIAL_DIRECTORY = 'c:\temp\'
            changing
              filename          = l_filename
              path              = l_path
              fullpath          = l_fullpath
              user_action       = l_result.
    Check user did not cancel request
          check l_result eq '0'.
          call function 'GUI_DOWNLOAD'
            exporting
      BIN_FILESIZE                    =
              filename                        = l_fullpath
             filetype                        = 'ASC'
      APPEND                          = ' '
             write_field_separator           = 'X'
      HEADER                          = '00'
      TRUNC_TRAILING_BLANKS           = ' '
      WRITE_LF                        = 'X'
      COL_SELECT                      = ' '
      COL_SELECT_MASK                 = ' '
      DAT_MODE                        = ' '
      CONFIRM_OVERWRITE               = ' '
      NO_AUTH_CHECK                   = ' '
      CODEPAGE                        = ' '
      IGNORE_CERR                     = ABAP_TRUE
      REPLACEMENT                     = '#'
      WRITE_BOM                       = ' '
      TRUNC_TRAILING_BLANKS_EOL       = 'X'
      WK1_N_FORMAT                    = ' '
      WK1_N_SIZE                      = ' '
      WK1_T_FORMAT                    = ' '
      WK1_T_SIZE                      = ' '
      WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
      SHOW_TRANSFER_STATUS            = ABAP_TRUE
    IMPORTING
      FILELENGTH                      =
            tables
              data_tab                        = it_crdt_limit
      FIELDNAMES                      =
    EXCEPTIONS
      FILE_WRITE_ERROR                = 1
      NO_BATCH                        = 2
      GUI_REFUSE_FILETRANSFER         = 3
      INVALID_TYPE                    = 4
      NO_AUTHORITY                    = 5
      UNKNOWN_ERROR                   = 6
      HEADER_NOT_ALLOWED              = 7
      SEPARATOR_NOT_ALLOWED           = 8
      FILESIZE_NOT_ALLOWED            = 9
      HEADER_TOO_LONG                 = 10
      DP_ERROR_CREATE                 = 11
      DP_ERROR_SEND                   = 12
      DP_ERROR_WRITE                  = 13
      UNKNOWN_DP_ERROR                = 14
      ACCESS_DENIED                   = 15
      DP_OUT_OF_MEMORY                = 16
      DISK_FULL                       = 17
      DP_TIMEOUT                      = 18
      FILE_NOT_FOUND                  = 19
      DATAPROVIDER_EXCEPTION          = 20
      CONTROL_FLUSH_ERROR             = 21
      OTHERS                          = 22
        endif.
      endif.
    Thanks
    Gupta

  • Attaching xlsx files to email with CL_BCS and CL_DOCUMENT_BCS

    Hi
    I have made a program that can send an email with attachments from GOS (documents attached to sales orders and invoices). This program works almost perfect. It seems my program can attach any 3 letter file types like DOC, PDF, JPG, AVI, EXE, XLS, but not filetypes with more than 3 letters like XLSX.
    I creeate a document with CL_DOCUMENT_BCS->CREATE_DOCUMENT
    I attache the files with CL_DOCUMENT_BCS->add_attachment
    and finally i send the email with CL_BCS methodts.
    The problem is CL_DOCUMENT_BCS->add_attachment paramter I_ATTACHMENT_TYPE of type SOODK-OBJTP - this data type is only 3 chars.
    How can I attach XLSX files whit these methods?
    Best regards

    Hi Thomson,
    Thats true ABAP email API does not support 4 chars file types.
    Since Office 2007 is released on the market the new extensions (docx, xlsx,...) lead to several questions in the SAP DMS area. So it might happen that Office 2007 applications raise some warning messages because the local copy of an original has only the 'old' extension xls or doc. Even if they were created with Office 2007 and new file formats.
    Reason:
    Please note that SAP Document Management generally support the file format of Office 2007. But due to the fact that this change in file format is a very new one and the latest SAP Releases ERP2004 and ERP2005 were released some time before, the customizing field 'Suffix' could not be enlarged to four digits. So it is only possible to maintain suffix values like 'doc' or 'xls' and therefore the 'old' extensions were used if you display or edit an original. For further information please take a look at the SAP note 1147660, which was created by the Office Integration colleagues.
    Possible Solution:
    What can be offered to you is a possible workaround, which was sent for this behavior to achieve that the local copied files have a extension like .xlsx or .docx. For this workaround the following steps are necessary:
    1. We have to create new workstation applications for the new file extensions with the mime-types of the new office applications (XLX, WRX and PPX).
    2. We have to customize them with %AUTO% %NO-LEAVE% instead of %SAP-OFFICE-INTEGRATION.OUTPLACE% %MAXSIZE%
    3. We have to use a BADI on BEFORE_CHECKOUT event to determine if workstation application is one of the XLX or WRX or PPX. If it is, we have to set the target temporary file extension to the corresponding 4 characters of the new extensions. This means that we can display "USER01.xlsx", in the user local PC, as a real office 2007 file.
    However please note that this is just a possible solution and means to be a modification to the standard system.
    Generally, it is recommended to maintain the following settings for working with Office 2007 and the new formats.
    u2022 In transaction DC30, maintain the new file extensions (e.g. *.docx) or . as a general file format entry. This will avoid that you cannot add originals with the new file format to your document info records. This is very important if you have implemented SAP notes 948177 and 967839 which bring a tighter file format check into your system.
    u2022 Further, test the behavior if you set the 'Do not rename temporary files' flag in transaction DC30. This will lead to the behavior that the file name is not changed if you check out or display the original file. Maybe this could also help to avoid that the original file-name is changed or corrupted.
    Also, please refer to blog by Ander Fischer; [https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12030]
    Hope it helps you.
    Thanks
    Arbind Prasad

  • How can I load a .xlsx File into a SQL Server Table using a Foreach Loop Container in SSIS?

    I know I've REALLY struggled with this before. I just don't understand why this has to be soooooo difficult.
    I can very easily do a straight Data Pump of a .xlsX File into a SQL Server Table using a normal Excel Connection and a normal Excel Source...simply converting Unicode to DT_STR and then using an OLE DB Destination of the SQL Server Table.
    If I want to make the SSIS Package a little more flexible by allowing multiple .xlsX spreadsheets to be pumped in by using a Foreach Loop Container, the whole SSIS Package seems to go to hell in a hand basket. I simply do the following...
    Put the Data Flow Task within the Foreach Loop Container
    Add the Variable Mapping Variable User::FilePath that I defined as a Variable and a string within the FOreach Loop Container
    I change the Excel Connection and its Expression to be ExcelFilePath ==> @[User::FilePath]
    I then try and change the Excel Source and its Data Access Mode to Table Name or view name variable and provide the Variable Name User::FilePath
    And that's when I run into trouble...
    Exception from HRESULT: 0xC02020E8
    Error at Data Flow Task [Excel Source [56]]:SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occured. Error code: 0x80004005.
    Error at Data Flow Task [Excel Source [56]]: Opening a rowset for "...(the EXACT Path and .xlsx File Name)...". Check that the object exists in the database. (And I know it's there!!!)
    I don't understand by adding a Foreach Loop Container to try and make this as efficient as possible has caused such an error unless I'm overlooking something. I have even tried delaying my validations and that doesn't seem to help.
    I have looked hard in Google and even YouTube to try and find a solution for this but for the life of me I cannot seem to find anything on pumping a .xlsX file into SQL Server using a Foreach Loop Container.
    Can ANYONE please help me out here? I'm at the end of my rope trying to get this to work. I think the last time I was in this quandry, trying to pump a .xlsX File into a SQL Server Table using a Foreach Loop Container in SSIS, I actually wrote a C# Script
    to write the contents of the .xlsX File into a .csv File and then Actually used the .csv File to pump the data into a SQL Server Table.
    Thanks for your review and am hoping and praying for a reply and solution.

    Hi ITBobbyP,
    If I understand correctly, you want to load data from multiple sheets in an .xlsx file into a SQL Server table.
    If in this scenario, please refer to the following tips:
    The Foreach Loop container should be configured as shown below:
    Enumerator: Foreach ADO.NET Schema Rowset Enumerator
    Connection String: The OLE DB Connection String for the excel file.
    Schema: Tables.
    In the Variable Mapping, map the variable to Sheet_Name, and change the Index from 0 to 2.
    The connection string for Excel Connection Manager is the original one, we needn’t make any change.
    Change Table Name or View name to the variable Sheet_Name.
    If you want to load data from multiple sheets in multiple .xlsx files into a SQL Server table, please refer to following thread:
    http://stackoverflow.com/questions/7411741/how-to-loop-through-excel-files-and-load-them-into-a-database-using-ssis-package
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Error while opening a Office 2007 Excel (.xlsx) from a Servlet

    Hi All,
    Actually i am trying to open an excel file from a servlet. It works fine when the file format is .xls. But if it is .xlsx it gives the below error.
    "The file you are trying to open .xlsx is in a different format than specified by the file extension. verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?"
    There is a link in the application. When we click the link it calls the servlet. The servlet calls the DAO. The DAO queries the DB and the whole output is stuffed into a StringBuffer and the StringBuffer is written to the ServletOutputStream. I have used
    File newFile = new File("ABC.xslx");
    response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
    I have also included the below in the web.xml file.
    <mime-mapping>
    <extension>xlsx</extension>
    <mime-type>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</mime-type></mime-mapping>
    Kindly help me out.
    Thanks.

    Hi,
    I tried to create an excel through POI 3.5 using a simple java program. I am getting the same error when i try to open it.Below is my code. Kindly let me know the problem.
    I am getting the error ""The file you are trying to open .xlsx is in a different format than specified by the file extension. verify the file is not corrupted and is from trusted source before opening the file. Do you want to open the file now?" when opening the .xlsx file.
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import org.apache.poi.hssf.usermodel.HSSFRow;
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;
    public class test {
    public static void main(String args[]) throws IOException{
    //ExportLobBean exportLobsForm = null;
    HSSFWorkbook wb = new HSSFWorkbook();
    HSSFSheet sheet = wb.createSheet();
    //ArrayList lobList = ExportLobBO.getArrayList();
    //int length = lobList.size();
    int rowCount=0;
    int count=0;
    HSSFRow headerRow = sheet.createRow((short) 0);
    HSSFRow dataRow = null;
    //Creating Column Names
    headerRow.createCell((short)0).setCellValue("LOB-ID");
    headerRow.createCell((short)1).setCellValue("LOB-NAME");
    headerRow.createCell((short)2).setCellValue("WEIGHT");
    for(int i=0;i<5;i++){
    rowCount++;
    sheet.createRow((short)rowCount);
    //exportLobsForm = (ExportLobBean)lobList.get(count);
    headerRow.createCell((short)0).setCellValue(1);
    //LOGGER.info("Lob id "+exportLobsForm.getStrLobId());
    headerRow.createCell((short)1).setCellValue(2);
    //LOGGER.info("Lob name"+exportLobsForm.getStrLobName());
    headerRow.createCell((short)2).setCellValue(3);
    //LOGGER.info("Lob weight"+exportLobsForm.getStrLobWeight());
    count++;
    File f = new File("c:\\test.xlsx");
    FileOutputStream fos = new FileOutputStream(f);
    wb.write(fos);
    }

  • MY system folder, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac) How do I remove them

    I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac).  For the most part the dupes are an exact copy, but not always.  I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas

    pacull,
    Use iCal>View>Show Notifications to choose what to do with the notification.

  • .xls ,.xlsx, .xlsm in sender file adapter

    hi guys,
    I have written an adapter module to read an excel file in sender file adapter...
    if the input file comes as .xlsx or .xlsm wll it be able t read the same?
    or do i have to change anything in the module code?
    filename in sender cc is filename.*
    Regards,
    Teja

    Hi Gurus,
    How can we download data from SAP internal table to Excel file in .XLSM format?
    file is having macros and header, i need to append the values from internal table to the excel file from 6th row(5 rows contains header).
    when i try to use " gui_download " FM , status message in sap shows as no.of bytes transfered! but , while oppening the file it is showing currupted.
    When i try to use OLE Method it is creating the file in xlsx format in stead of xlsm.
    can any one please guide me how to proceed!!
    Regards,
    Balaji

  • How Can I Import Contacts from Excel (XLSX/XLS) and CSV file to VCF File?

    Hi Friends,
    I have stored my all official and personal contacts list in the Excel (XLSX/XLS) spreadsheet and CSV file from long time. But now, I want to move my all contacts in an MS outlook 2013 and also Samsung S4 Contacts directory. But for this process, I require to import all Excel and CSV file contacts into VCF file format. So that, I could export vCard (VCF) file in the outlook and Samsung S4 contacts book. But I don't know about this process that how to import Excel and CSV file contacts into vCard format. If anyone has best solution to import and export excel or CSV file contacts into VCF file, so please share with me that information.
    Thanks & Best Regards
    Jackson T.
    <Edited By Host>

    https://itunes.apple.com/gb/app/csv-to-vcard/id713295900?mt=12

  • Setting the DNS Suffix in Windows-2000:

    This is a solution for the frequent problem that arises during installation of iPlanet Application Server on Windows-2000 platform.
    <b>Problem:</b> After installation completes, the installation directory remains empty, there is no entry of iAS in "Windows start menu". It doesn't install anything.
    <b>Remedy:</b> Set the DNS Suffix.
    <b>Procedure:</b>
    Right click on <b>My computer</b> (icon on desktop or in windows-explorer), then click on properties, go to <b>Network identification</b> Tab, Click on properties, then click the more button, set the <b>Primary DNS suffix</b> (like india.sun.com), and also check the <b>Change Primary DNS suffix when domain membership change</b> check box, click all Ok buttons.
    <b>Note:</b>
    1. Make sure that it is added to the windows registry:
    Just run regedit and click on the <b>My Computer\HKEY_LOCAL_MACHINE\SYSTEM \ControlSet001\Services \Tcpip\Parameters</b> key, you will see the <b>Domain</b> key value set to your domainname, otherwise enter the domain name into this key value, and than <b>reboot the m/c</b>, and than reinstall the iAS. It should work.
    2. Make sure you are using static IP address.

    Thanks Sanjeev Agarwal

  • How to link Excel 2010 .XLSX file to SQL server 2008R2 - a method that actually works?

    I have been trying unsuccessfully to link my excel file to SQL server like I used to with SQL 2005.
    In SQL 2008R2 I have installed the 64-bit data access components from Office 2010 to get the  provider 'Microsoft.ACE.OLEDB.12.0' avilable.
    When I try this command:
    SELECT
    FROM
    OPENDATASOURCE(
    'Microsoft.ACE.OLEDB.12.0',
    'Data Source="E:\ADUpdates\Employee List1.xlsx"; Extended properties=Excel 12.0')...[Sheet1$]
    I get this error:
    Msg 7399, Level 16, State 1, Line 1
    The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. Access denied.
    Msg 7301, Level 16, State 2, Line 1
    Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
    The Access Denied error seems to be form the worksheet and not the file itself. Evidence is that if I enter a bogus sheet name it tells me the sheet doesn't exist and after this error the file is locked open and can't be saved again from Excel until the
    query windows is closed. The sheet is not protected in Excel so I don't know how access to it can be denied.
    Does anyone actually have this working in SQL 2008R2?

    Some minor progress on this issue by running SQL Server service under a domain account with Administrator priv on the SQL server.
    This query now works in a query window:
    SELECT * FROM OPENDATASOURCE( 'Microsoft.ACE.OLEDB.12.0', 'Data Source="E:\ADUpdates\Employee List.xlsx"; Extended properties=Excel 12.0')...[EmployeeData];
    However, creating a Linked server object for the same spreadsheet still does not work:
    EXEC master.dbo.sp_addlinkedserver @server = N'TEST', @srvproduct=N'Excel 12.0', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'E:\ADUpdates\Employee List.xlsx'
    The test connection to the linked server failed.
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST".
    OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST" returned message "Unrecognized database format 'E:\ADUpdates\Employee List.xlsx'.". (Microsoft SQL Server, Error: 7303)
    For help, click:
    http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    Naturally, the help link provided only confirms the contempt microsoft holds for their customers by not providing any information at all.
    (appologies for the weird colour and fonts, this is a microsoft product, just have to live with obvious defects).

  • E72: How to add international code suffix to conta...

    Like when i want to sms someone in my phonebook who is in another country at the moment i need to add a "+international code" in front of their number right? So how do i add that after i select their contact from e phonebook to the sms? I mean i don't want to manually type the suffix together with the contact number because that's troublesome and when i want to sms a few people it's gets tedious memorising their numbers 1 by 1. Any suggestions?

    and if you happen to be traveling and it is temporary, ad an additional cell number to those contacts and add the required country code in the stored number.

  • ASA Remote Access VPN Clients - Multiple DNS Suffixes?

    Hi community!
    I am setting up a new remote access VPN using the traditional IPSec client via ASA 5515-X runnning OS 8.6.1(5).
    We require to provide each client multiple DNS suffixes, but are only to provide a single DNS suffix in the grouip policy.
    I have tested using an external DHCP server, but using our Windows Server 2008 infrastructure and Option 119 the list is not provided to clients, and I have read that Windows 7 clietns may ignore this option anyway.
    Other than umanually configuring the clients , does anybody have any other suggestions on how we may get this to work?
    Full marks for helpful posts!
    Kind regards, Ash.

    Hi
    I am looking into the same issue, and I am finding conflicting documentation about this and wondered if you got the answers you were looking for.
    I have a remote access requirement for users from separate AD's to authenticate through an ASA.
    I was reading about Global Catalogue Server but this is not specifically what I want; and also creating a new AAA server group but the user would need to accept which group to use when they log in
    Regards

Maybe you are looking for

  • Can i backup multiple systems to the same tc?

    i have just setup TC on my home imac and am trying to get my macbook to back up to the same machine. how do i go about doing it. when i open the airport utility on the mac it opens the TC showing the internet connection. no option to rescan from my m

  • Want o add button to application toolbar of CO12

    Hi, I want to add one button to application tool bar of CO12 transaction. Let me know the procedure to achieve the same Thanks in advance, Nag

  • Minimize the number of roles using the Bolt-onu2019s

    I read a artical from SDN it discribes the process of maintating Orgnization Authorization in saperate Role. This helps to reduce the no of roles been created. Below is the discribtion. And I tolly agree with the concept . Read below . >According to

  • How to acccess icloud photos on mac

    I'm trying to figure out how to see/access all the photos taken on my i6, which are stored in the iCloud, on my MacBook Pro. Thanks

  • SAP CRM Visit Plan activity Assignment

    Hi Experts, My Business requirement is to create a Visit Plan and assigned it respective Employee Responsible with Activity Type "Task". With this I am creating a Task for that employee so that once user Log-on (Employee Resp.) can see their task on