SharePoint 2007 Export to Excel 2010 or Excel 2013 Fails to Export All Fields in All Items View

Hi All,
When I am trying to export the SharePoint View from SharePoint site to Spreadsheet (Excel 2013), I am able not able to export the the whole data, I'm missing some numerical columns from being displayed in Excel
I have Infopath form (2007) published on SharePoint Site and I am using MOSS 2007 and Excel 2013. My form has only 20 or so fields and the rest are fields I generated in the form library to do several other calculations. I have already 73 columns
displayed which should be exported to Excel, need help

Hi,
As per your post, I understand “Excel cannot connect to the SharePoint list” is thrown out in Excel 2010 when exporting the external list in SharePoint 2013. We are able to export the external list to Excel 2013.
This issue does not occur on the standard lists.
I am able to reproduce the issue and it could be a potential issue in SharePoint 2013.
We will log this issue to our suggestion box. As after the submission, we may not have any time guarantee when the fix may be released, but it may come out on next cumulative update.
Appreciate your time and efforts.
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • How to install a set of mixed clustering exchange server (Coexistence between 2007 CCR cluster with 2010 DAG or 2013 DAG)

    I need a mixed clustering environment that coexist 2007 CCR cluter with 2010 DAG or 2013 DAG.
    Is there any step-by-step article I can refer to?

    Hi,
    Do you want to know how to migrate CCR to DAG?
    If you want to migrate from CCR to DAG, there are two available ways to achieve this.
    One is to bring the new hardware, the other is to break and format the existing Exchange 2007 CCR Cluster to use the hardware.
    Bring the new hardware, you need to install new server and configure Exchange 2010 DAG, then move mailbox from Exchange 2007 to Exchange 2010.
    Breaking the existing Exchange 2007 CCR Cluster, you need to decommission your passive Exchange Server 2007 SP2 Node first, re-install Exchange 2010 server role on this server, and then configure Exchange 2010 DAG using this server. After that, you
    can migrate mailboxes from Exchange 2007 to Exchange 2010, remove the last Exchange 2007 server. Then add seond server to existing DAG.
    Hope this is helpful to you.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • How to export all the views in one schema?

    Hi,
    I have more than 1000 views in one shcema.
    How to export all the views in one schema?
    Amy

    Hi,
    It's not a very easy question, I have develop a script wich create a script to create view from old database to new database :
    /* &1: Oracle SID Source
    /* &2: Oracle Schema Source
    SET HEAD OFF
    SET VERIFY OFF
    SET PAGESIZE 0
    SET LONG 40000000
    SET LONGCHUNKSIZE 2000
    SET LINESIZE 2000
    SET FEEDBACK OFF
    CREATE TABLE RECREATE_VIEW(VIEW_NAME VARCHAR2(30), TEXT LONG);
    /* Selection du texte de la vue */
    DECLARE
    w_text long;
    w_text_debut long;
    w_text_column long;
    w_view varchar2 (30);
    w_schema varchar2 (8):='&2';
    CURSOR w_cursor IS
    SELECT a.view_name, a.text
    FROM dba_views a
    WHERE a.owner = w_schema;
    CURSOR w_column IS
    SELECT DECODE (ROWNUM,
    1, 'CREATE OR REPLACE FORCE VIEW ' || '&' || '1..'
    || a.table_name || chr(10)
    || '('
    || a.column_name
    || DECODE (ROWNUM, nbcolumns, ')' || chr(10) || 'AS' || chr(10), ',' || chr(10))
    FROM (select column_name,table_name
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    order by column_id ) a,
    (SELECT COUNT (1) nbcolumns
    FROM dba_tab_columns
    WHERE owner = '&1'
    AND table_name = w_view
    GROUP BY owner, table_name) b
    order by rownum;
    BEGIN
    OPEN w_cursor;
    LOOP
    FETCH w_cursor INTO w_view, w_text;
    EXIT WHEN w_cursor%NOTFOUND;
    w_text_debut := NULL;
    w_text_column := NULL;
    OPEN w_column;
    LOOP
    FETCH w_column INTO w_text_column;
    EXIT WHEN w_column%NOTFOUND;
    w_text_debut := w_text_debut || w_text_column || ' ';
    w_text_column := NULL;
    END LOOP;
    CLOSE w_column;
    w_text := w_text_debut||w_text||';';
    insert into RECREATE_VIEW(VIEW_NAME, TEXT) VALUES (w_view, w_text);
    COMMIT;
    w_text := NULL;
    w_view := NULL;
    END LOOP;
    CLOSE w_cursor;
    END;
    SPOOL scripts_views_&1..sql
    PROMPT SPOOL scripts_views_&1..log
    PROMPT
    SELECT TEXT
    FROM RECREATE_VIEW;
    PROMPT
    PROMPT SPOOL OFF
    PROMPT
    SPOOL off
    PROMPT /* Formattage du fichier SQL */
    !sed 's/[ ]*$//' scripts_views_&1..sql > aprilia.tmp
    !rm scripts_views_&1..sql
    !mv aprilia.tmp scripts_views_&1..sql
    DROP TABLE RECREATE_VIEW;
    EXIT
    I hope that help you.
    Nicolas.

  • Export all items of the pages in jpg [HELP]

    hi,
    how could export to jpg all items in a document indesign?
    and also need measures each item.
    if someone could help me I would appreciate
    sorry for my English
    thanks

    start here:
    exports page items to created subfolder.
    jpg-naming: sourcepage + itemcount
    #target InDesign
    //set properties for export to your needs
    with(app.jpegExportPreferences){
        antiAlias = true;
    embedColorProfile = false;
    exportResolution = 300;
    jpegColorSpace = JpegColorSpaceEnum.RGB; //JpegColorSpaceEnum.CMYK, JpegColorSpaceEnum.GRAY     r/w    One of RGB, CMYK or Gray
    jpegQuality = JPEGOptionsQuality.HIGH; //JPEGOptionsQuality.LOW, JPEGOptionsQuality.MEDIUM, JPEGOptionsQuality.HIGH, JPEGOptionsQuality.MAXIMUM     r/w    The compression quality.
    jpegRenderingStyle = JPEGOptionsFormat.BASELINE_ENCODING; // JPEGOptionsFormat.PROGRESSIVE_ENCODING     r/w    The rendering style.
    simulateOverprint = true;
    //doc has to be saved once
    var theDoc = app.activeDocument;
    var docName = theDoc.name;
    var docShortName = docName.replace(/.indd/, '')
    var docPath = '' + theDoc.fullName;
    var docContainerPath = docPath.replace(docName, '')
    var destPath = docContainerPath + '/' + docShortName + '_jpgExport/'
    if(Folder(destPath).create() != true){alert('Could not create targetfolder.'); exit();}
    var pageItems = theDoc.pageItems.everyItem().getElements();
    l = pageItems.length;
    counter = 0;
    for(var i = 0; i < l; i++){
        counter = counter + 1;
        var singlePageItem = pageItems[i];
        currParentPage = singlePageItem.parentPage;
    if(currParentPage == null){parentPageNumber = 'pasteboard'}else{parentPageNumber = singlePageItem.parentPage.name; }
    newFile =new File(destPath + 'page_' +  parentPageNumber + '_' + 'item_' + counter + '.jpg');
    if(singlePageItem.exportFile(ExportFormat.JPG,  newFile) === false){alert(newFile + ' could not write jpg-File.')} 

  • One user only cannot connect SharePoint 2007 calendar to Outlook 2010

    User is unable to connect a SharePoint calendar to Outlook.
    The normal procedure is to open the calendar, click Actions > Connect to Outlook > Allow > Allow > Yes and the calendar appears in Outlook. However, for this user only, she clicks Actions > Connect to Outlook > Allow > Allow and then
    nothing happens. The final dialog box, where she would click Yes, doesn't appear, and the calendar is not connected.
    It is working for everyone else who has the same permissions as her (several hundred users). She is able to view and edit the calendar in SharePoint, so the SharePoint permissions are working. It's just that she cant connect it to Outlook.
    I didn't see anything obvious in the event logs and am not sure where to go from here. Any ideas?
    Hoping someone can help.

    Hi,
    According to your description, I noticed that the issue only happened to one specific user. Please confirm if there is any error information when the Outlook can’t connect to Exchange server.
    If this Exchange account can’t be set up automatically in your Outlook client, please try to manually configure this account to have a try. To configure the Exchange account manually, please refer to:
    https://support.office.com/en-us/article/Add-or-remove-an-e-mail-account-ff7c7735-6117-4b0d-aef6-8aa8a072f60f?ui=en-US&rs=en-US&ad=US#bm3
    Regards,
    Winnie Liang
    TechNet Community Support

  • SSIS SharePointListAdapter error while exporting a SharePoint List from SharePoint 2007

    Greetings,
    I'm trying to export List from SharePoint 2007 into SQL Server table, using SSIS  SharePointListSource component (installed from https://sqlsrvintegrationsrv.codeplex.com/releases/view/17652)
    But in component editor I'm getting this error :
    Error at Data Flow Task [SharePoint List Source [13]]: Microsoft.Samples.SqlServer.SSIS.SharePointUtility.SharePointUnhandledException: Unspecified SharePoint Error.  A possible reason might be you are trying to retrieve too many items at a time (Batch
    size) ---> System.ServiceModel.FaultException: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData msgData, Int32 type)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoap.GetViewCollection(GetViewCollectionRequest request)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoapClient.ViewsService_ViewsSoap_GetViewCollection(GetViewCollectionRequest request)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoapClient.GetViewCollection(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetSharePointListViews(String listName)
       --- End of inner exception stack trace ---
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetSharePointListViews(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetViewList(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.LookupViewName(String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.CreateExternalMetaDataColumns(IDTSOutput100 output, String sharepointUrl, String listName, String viewName, Dictionary`2 existingColumnData)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.LoadDataSourceInformation(IDTSOutput100 output, Dictionary`2 existingColumnData)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ReinitializeMetaData()
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostReinitializeMetaData(IDTSManagedComponentWrapper100 wrapper)
    Increased Batch Size from default 1000 to 32000, still that error.
    Thought, this was List size problem, but small lists still do not export.
    Also, the same lists perfectly export from SharePoint 2010 using the very same component.
    Any solutions for this error ?
    Thanks in advance

    I think you need a lower version of the adapter that targets SP 2007
    Arthur My Blog

  • SSIS SharePointListAdapter fails while exporting a SharePoint List from SharePoint 2007

    Greetings,
    I'm trying to export List from SharePoint 2007 into SQL Server table, using SSIS  SharePointListSource component (installed from https://sqlsrvintegrationsrv.codeplex.com/releases/view/17652)
    But in component editor I'm getting this error :
    Error at Data Flow Task [SharePoint List Source [13]]: Microsoft.Samples.SqlServer.SSIS.SharePointUtility.SharePointUnhandledException: Unspecified SharePoint Error.  A possible reason might be you are trying to retrieve too many items at a time (Batch
    size) ---> System.ServiceModel.FaultException: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    Server stack trace: 
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData msgData, Int32 type)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoap.GetViewCollection(GetViewCollectionRequest request)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoapClient.ViewsService_ViewsSoap_GetViewCollection(GetViewCollectionRequest request)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ViewsService.ViewsSoapClient.GetViewCollection(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetSharePointListViews(String listName)
       --- End of inner exception stack trace ---
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetSharePointListViews(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ViewsAdapter.GetViewList(String listName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.Adapter.ListsAdapter.LookupViewName(String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointUtility.ListServiceUtility.GetFields(Uri sharepointUri, NetworkCredential credentials, String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.GetAccessibleSharePointColumns(String sharepointUrl, String listName, String viewName)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.CreateExternalMetaDataColumns(IDTSOutput100 output, String sharepointUrl, String listName, String viewName, Dictionary`2 existingColumnData)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.LoadDataSourceInformation(IDTSOutput100 output, Dictionary`2 existingColumnData)
       at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.ReinitializeMetaData()
       at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostReinitializeMetaData(IDTSManagedComponentWrapper100 wrapper)
    Increased Batch Size from default 1000 to 32000, still that error.
    Thought, this was List size problem, but small lists still do not export.
    Also, the same lists perfectly export from SharePoint 2010 using the very same component.
    Any solutions for this error ?
    Thanks in advance

    The reason was the  difference in List's names on web portal and the name of list itself.

  • Set Open Documents in Client Applications by Default with SharePoint 2007

    I have activated the excel service with sharepoint 2007, but some excel files can't be opened well for unsupported features.
    Therefore, I have to set to open excel file by client application avoiding the above error.
    I have done bellow settings but no effect:
    1)Change the advanced settings in document library to
    Open in the client application;
    2)Set authentication providers to Enable client intergration;
    3)I 'd like to activate the feature of
    open documents in the client application but I can't find it in features.
    Please kindly guide me how to make it.
    Many appreciations for your support in advance!

    Hi,
    Please try the solutions that provided in below threads:
    https://social.technet.microsoft.com/Forums/office/en-US/919e102c-923b-4eee-b89c-631c0d557709/how-to-mandate-excel-2007-document-xlsx-to-open-in-excel-2007-client-instead-of-excel-web-acess-in?forum=onlineservicessharepoint
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/89030108-7185-40e1-b898-e5994484b6d3/sharepoint-2007-how-to-open-an-excel-document-on-client-if-excel-services-are-installed?forum=sharepointgenerallegacy
    Then, this issue is not controlled by Office client, we need to config it with SharePoint. Thus, if you have further question, I recommend you post it SharePoint forum:
    https://social.technet.microsoft.com/Forums/en-US/home?forum=sharepointgenerallegacy
    Hope it's helpful.
    Regards,
    George Zhao
    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.

  • How to disable the protetced view settings default in excel 2013

    Hi,
    whenever i open the excel  or word document newly,it is asking "enable the protected view".By clicking the button only i can able to do the changes in the word,excel 2013 application.
    I want to disable the protected view settings in excel . We are using Office 2013.
    Please let me know where i have to do the settings in excel 2013 to disable the protected view permanently.
    Regards
    Pradeep

    Hi,
    Please see the article, and I've copied the steps about setting of protected view below
    1.Click File > Options.
    2.Click Trust Center > Trust Center Settings > Protected View.
    http://office.microsoft.com/en-us/excel-help/what-is-protected-view-HA010355931.aspx
    BWT, we also can configure the option as default via Group Policy.
    Steps:
    1.Open Group Policy Editing
    Press Win+R> type gpedit.msc
    2. Download the ADM templates
    http://www.microsoft.com/en-us/download/details.aspx?id=35554
    Extract the files to somewhere safe that you can reference again later if needed.
    3. Add the template into the group policy into user configuration
    You can do this by:
    User configuration
    Right click Admin templates
    Add/Remove template
    Add
    Point it at the templates you downloaded
    Ok
    Close
    4. Turn off protected view
    Navigate into the new template will be called Microsoft Word 2010
    Word Options
    Security
    Trust Center
    Protected View
    Disable - Open files on local intranet UNC in protected view
    Enable - Do not open files in unsafe locations
    Enable - Do not open files from internet zone
    Enable - Turn off protected view for attachments opened from outlook
    More Reference:
    http://technet.microsoft.com/en-us/library/ee857087(v=office.15).aspx
    Regards,
    George Zhao
    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.

  • How to manage groups centrally in SharePoint 2007 ?

    In SharePoint 2007, do anyone know how to manage the groups centrally across all site collections?
    For eg: If you have the same group name in all site collections, then by adding the user to one group can add him automatically
    to all other groups in all other site collections.
    So do you know about any tool or any plug in ?? 
    Please help
    chirag

    Here's a codeplex project for group syncronization:
    http://spgroupsynch.codeplex.com/
    Mike Smith TechTrainingNotes.blogspot.com
    my SP customization book

  • Is it possible to XSL render custom fields in SharePoint 2007

    Hi,
    I would like to know whether XSL rendering can be used for Custom filed display in a SharePoint list item view level (All items view). IF yes, how to achieve this ?
    If not what bwetter methods are available for rendering a custom field which includes a dynamic hyperlink and a image.
    Thanks !
    This question is linked to the question asked at http://social.msdn.microsoft.com/Forums/sharepoint/en-US/35d1dd55-e655-4faa-8f00-c704a8728da5/using-xsl-to-render-custom-field-in-list-display-view?forum=sharepointdevelopmentlegacy

    Hi Ahamed, you can specify the output of a custom field when it is accessed via XSL. Take a look at the following ISBN field walkthrough:
    http://msdn.microsoft.com/en-us/library/office/bb861799(v=office.12).aspx
    Dimitri Ayrapetov (MCSE: SharePoint)

  • Lync 2010 to Lync 2013 migration - Dialin conferencing

    While migrating from Lync 2010 to Lync 2013, i have stopped all services on the Lync 2010 servers to make sure all is okay and everything is working fine with Lync 2013.
    Nevertheless, when someone on Lync 2013 schedule a meeting, and someone dial one of the PSTN Dialin conference number and enter the conference ID, this scenario is not working.
    If i start the Lync 2010 front end services, then the previous scenario works.
    So i did something else. I have scheduled a meeting and i change the meeting options to get a new conference ID. this makes the conference work over dial in pst number while Lync 2010 services are down.
    This means:
    - When someone (Lync 2013 user) schedule a meeting, the default conference ID that is generated, requires the existence of Lync 2010 services for a PSTN Dial in user to connect
    -When someone (Lync 2013 user) schedule a meeting and change the meeting options to get a new conference ID, then the PSTN Dial in user can connect even if all Lync 2010 services are down.
    Any clue?
    ammarhasayen

    i have found it. moving the conference directories from Lync 2010 to Lync 2013 solves the whole thing.
    ammarhasayen

  • Cannot able to save Excel 2013 file in Sharepoint 2007 document library

    Dear All,
    We have SharePoint 2007 intranet portal where in we have teamplace created for internal users to collaborate on documents.
    Now we are having issues when using uploads Excel 2013 or Excel 2010 file on document library and try to edit the document.
    Sometimes it doesn't allow to check out the file it say someone already checked out ..but when I try in my laptop its OK.
    And some times when user opens the file it opens as non editable file and it does not take any changes.
    Pls advise whether there is issue with SharePoint 2007 document library and Office Excel 2010,2013 files.
    -- Regards Sandeep

    The lock can apply in two places.  Are you seeing the message in your browser or does it arise within Excel itself?
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • 32-bit...64-bit...Excel 2007...Excel 2010...nonetheless a .xlsx File

    My head is spinning...soooooo here's the deal...
    The client provides us a .xlsx File. Now I have no idea how this is created and saved...via Excel 2007...Excel 2010
    When I attempt sourcing the .xlsx File in my SSIS Package I get the error "External Table is not in the expected format"
    Sooooo, I figure I'd write a C# Edit Script to read .xlsx File and Save it as a .xls file using the following syntax...
    string StrFileName = (Dts.Variables["User::FileName"].Value.ToString());
    StrFileName = Path.GetFileNameWithoutExtension(StrFileName);
    string StringSourceFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xlsx";
    string StringDestinationFile = (Dts.Variables["User::FilePath"].Value.ToString()) + StrFileName + ".xls";
    // This initiates the Excel Application
    Microsoft.Office.Interop.Excel.Application excelApplication = new Microsoft.Office.Interop.Excel.Application();
    // This Opens the Source .xlsx File from Emdeon ePaySmart
    Workbook workbook = excelApplication.Workbooks.Open(StringSourceFile, XlUpdateLinks.xlUpdateLinksNever, true, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Save the Source .xlsx Emdeon ePaySmart File as a .xls File...note xlFileFormat.xlExcel5
    workbook.SaveAs(StringDestinationFile, XlFileFormat.xlExcel8, Type.Missing, Type.Missing, Type.Missing, Type.Missing, XlSaveAsAccessMode.xlExclusive, Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
    // This will Close the Source
    workbook.Close(false, Type.Missing, Type.Missing);
    // This shuts down the Excel Application
    excelApplication.Quit();
    Note xlFileFormat.xlExcel8
    Now this worked PERFECTLY client side. Then when I created a SQL Server Agent Job it blew up and from what I read the SQL Server Agent Job does not like running dynamic Excel commands.
    Soooooooo now I'm back at the drawing board and figured I'd use OLE DB to source the file.
    I am using this Connection String for the .xlsx File
    string StringConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"";
    Now I understand that the OLEDB.4.0 Connection string is incorrect for a .xlsx File. (Which is why I probably tried to do this with dynamic Excel commands to begin with)
    Now comes the chicken and the egg problem...
    If instead I try using the OLEDB.12.0 Connection String it tells me it isn't installed
    My network, copied Microsoft Office 2010 installed is 32-bit
    So if I try to install the 64-bit Microsoft Access Database Engine 2010 it tells me I have to Uninstall Microsoft Office 2010. Well that is not possible
    So my question is this...How in God's name can I try and process this .xlsx File??? I am at a complete loss here.
    I did come upon this Posting previously...in italics below but it fell short in terms of providing a solution.
    Can anyone please help me out here?
    Thanks in advance for your review and am hopeful for a reply.
    ITBobbyP85
    When I create my connection manager to connect to a .xlsx file, I get the error message that says:
    "Test connection failed because of an error in initializing provider. External table is not in the expected format."
    The provider selected was the ole db "Microsoft office 12.0 Access Database Engine...", and in the All tab I entered "Excel
    12.0" at the top where it says Extended properties.
    Here is the stumper:
    My import package(s) has (have) been running manually for the last 2-3 weeks, but now i've finished an automated system that downloads
    the files from the ftp site, unzips them, validates all the expected files are there, renames and relocates the files to the names/locations expected by my ETL, and then runs the ETL.
    I found out today that the people who manually did this process were each time opening the file and then saving it to the correct location
    in Excel 2007. 
    When I try to run my ETL on the files in the automated process, it fails with the above error. If, however, I just open the file and
    save it (also in 2007), it runs fine. I have been trying to figure out what saving the file is doing to change it to be in the expected format.
    I have tried to use an excel 2003 connection to connect to a copy of the file with a modified extension of .xls and that didn't work.
    (in case it was in another version of excel and someone just changed the ext)
    I then tried to access the file with the OLE DB provider, as above, but instead of entering 12.0 on the Extended properties line, entering
    9.0 or 14.0 in turn (creating new sources/connections each time), and when I do that, both times I get an error that says: 
    “Test connection failed because of an error in initializing provider. Could not find installable ISAM.”
    Am I missing something? Is there something else that simply opening and saving the file might be doing to make it paletable to ssis?
    If we install excel on the db server I realize i could probably open it up and save it as excel 2007 and that would do the trick, but
    the dba is resistant to this idea, so I thought I'd see if anyone has any other ideas?
    If we do have to install excel on that server, does the version have to be excel 2007 in order to programmatically save it as type 2007?
    thanks in advance for your thoughts on the issue...

    You just need to install the latest ACE OLEDB (JET) provider, then when you set the package to run use a proxy with proper rights to access the Excel file on the file system.
    http://www.microsoft.com/en-ca/download/details.aspx?id=13255
    Arthur
    MyBlog
    Twitter

  • Errors opening Excel 2007 spreadsheets in Excel 2010

    When I try to open spreadsheets created in Excel 2007 with Excel 2010, I get the error:  "Excel found unreadable contenct in 'file name'.  Do you want to recover the contents of this workbook?  If you trust the source of this workbook, click
    Yes".  Then a Repairs dialog box comes up saying:  "Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.    Removed Part: Print options."  File then opens fine. 
    We receive Excel 2007 from various sources.  One of my problem is that we are just starting to migrate people to Windows 7 and Office 2010, with most people still on Office XP.  The file format converter for Excel 2002/2003 does not work with these
    Excel 2007 files.  The other problem is that we have macros that are used to open Excel files and import data into other Excel files.  Pretty hard to modify these macros to allow for some files that are going to pop up this error, and others that
    do not.
    What is causing this problem, and what fix is available?  We have asked that people save the Excel files in Excel 97-03 format before sending to us, with mixed results. 

    Hi,
    Thank you for using Excel IT Pro Discussions forum. 
    Are you using Office 2010 RTM version? If it is trial version or beta version, I suggest upgrading it to the RTM version.
    First, please check if this KB article helps:
    Error message when you try to open a workbook in Excel 2007: "Excel found unreadable content in Book_Name"
    http://support.microsoft.com/kb/929766
    Note: The steps are for Excel 2007. The steps in Excel 2010 are similar.
    If the problem persists, let’s also check the following settings in Excel 2010.
    ========
    1.      
    In Excel 2010, click File > Options > Trust Center > File block settings.
    2.      
    Check the checkboxes before:
    Excel 2007 and later Wordbooks and Templates
    Excel 2007 and later Macro-Enabled Workbooks and Templates
    Excel 2007 and later Add-in Files
    Excel 2007 and later Binary Workbooks
    Then, try to open the Excel 2007 file in Excel 2010 and check the results again.
    Best Regards,
    Sally Tang
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]  

Maybe you are looking for

  • Error in Running a query on ABAP web portal

    Hi Guys, We are working in a environment where BIW is installed with only WEB AS ABAP. We do not have enterprise portal in our landscape. so we need to run our reports on url http: host:8000\sap\bw\Bex? Query=........ But when we run a query fro Quer

  • Brand new ipod touch doesn't include 3.0 ???

    I just bought a brand new ipod touch 16GB. As soon as I got it hooked up it said it needed as $9.95 software update. Why don't new ipod's come with the most up-to-date software or at least offer it for free?

  • Using an external drive for OS, problems with install

    Hi My iMac, 1.8 GHz, OS 10.5.8, PPC's internal hard drive is failing.  Rather than replace the internal drive, I had hoped to use an external USB drive to run the OS. When using the OS 10.5.x install, I am repeatedly told the OS cannot be installed o

  • Total Amount before Discount do not match Row total

    Hi, I have this scenario for my A/R invoice. The amount in the the total (lc) column do not match with the total before discount field. So, when I tried to create Cm for this invoice I encountered an error: There is a difference between total and it'

  • How to use commit work as per the requirement?

    Hi all,        Here i have a requirement about database table updation. I have to update a database table, at the time of doing commit work it has to check the following condition . The data should be split up in different groups or records of no mor