Is Excel Adapter is required to process Excel in Data services in Linux

Hi,
I am trying to read data from Excel and load it to HANA table. But i am not able to do it due to error. Do we require Excel Adapter to process Excel in Linux environment.
OS: SUSE Linux Enterprise server
DS version: DS 4.1 Sp2
Excel file name: TAL711.xls/xlsx
Error: Job Server <> defined for adapter datastore <TAL711> is not found in the repository. Select a valid Job Server in the Datastore
Regards,
Samatha

Hi Samatha Mallarapu,
Excel Adapter is required for Linux Platform .
Hope below link will help you out.
http://help.sap.com/businessobject/product_guides/sboDS41/en/sbo411_ds_designer_en.pdf#page=143&zoom=auto,0,614
Regards,
Akhileshkiran.

Similar Messages

  • Issue with HAL - Excel Adapter

    Hi
    We are using HAL V7. and excel 2007 . I am truing to use excel adapter in HAL . Here I guess the adapter is not supporting excel 2007. So I am getting the below error when I pull the excel adapter.
    Update the Vegneete BIS Installation registry by addign the current class id or excel sheet as the ExcelCLSID value of the key. HKEY_LOCAL_MACHINE\Software\Vignette\eIntegrate\4.2\Workarounds.
    I am littlie confused overhere. I went to the particular location .,do I need to change the ExcelCLSID key?? if so with what key I need to replace... where I can I find the classid for excel 2007.
    Thank You for your time !!!1

    I find it incredibly amusing that they have a registry key labelled "Workarounds". If that isn't the sign of a lame-o product, I don't know what is.
    But you didn't ask to hear me rant and rave about HAL -- you want help.
    I never, in my many somewhat painful interactions with HAL, used the Excel adaptor. Is it trying to instantiate Excel itself, or just read from/write to a file? Many products don't need an instance of Excel to do Excel file operations (think of Dodeca, or OpenOffice), although perhaps HAL is not one of them.
    If you tried to make the file a .xls, does it work? Or could you make the file a .txt or .csv and just avoid the whole Excel issue altogether?
    Regards,
    Cameron Lackpour

  • Excel stays live as a process when terminating a program during debug

    Hi
    In my C# windows application I open an excel file with
    Excel.Application xlApp = new Excel.ApplicationClass();
    when in debug mode in VS I often stop the application mid process by clicking on "stop debugging" in the VS menu. I noticed that this seems to leave many opened
    EXCEL.EXE *32 processes (I see them in task manager)
    This eventually clogs my computer.
    I assume it is because the application never reached the
    xlApp.Quit();
    which I have when the application is in ordinary mode.
    What can I do about it so that I would not have all these processes staying alive after I stopped the program midway in debug?

    Hello,
    The short answer is too keep Task Manager open to the process tab and kill Excel when you stop prior to a normal termination of the project in debug mode.
    The proper method to shut Excel down is shown below. Now if you are not doing it this way most likely Excel is being disposed of when closing the form which has the Excel code in it or when the initial form closes.
    Very simple example to dispose of objects ASAP 
    using Excel = Microsoft.Office.Interop.Excel;
    private void button1_Click(object sender, EventArgs e)
    OpenExcelExample("SomeExcelFile.xlsx", "Sheet1");
    public void OpenExcelExample(string FileName, string SheetName)
    if (System.IO.File.Exists(FileName))
    bool Proceed = false;
    Excel.Application xlApp = null;
    Excel.Workbooks xlWorkBooks = null;
    Excel.Workbook xlWorkBook = null;
    Excel.Worksheet xlWorkSheet = null;
    Excel.Sheets xlWorkSheets = null;
    Excel.Range xlCells = null;
    xlApp = new Excel.Application();
    xlApp.DisplayAlerts = false;
    xlWorkBooks = xlApp.Workbooks;
    xlWorkBook = xlWorkBooks.Open(FileName);
    xlApp.Visible = false;
    xlWorkSheets = xlWorkBook.Sheets;
    // For/Next finds our sheet
    for (int x = 1; x <= xlWorkSheets.Count; x++)
    xlWorkSheet = (Excel.Worksheet)xlWorkSheets.get_Item(x);
    if (xlWorkSheet.Name == SheetName)
    Proceed = true;
    break;
    System.Runtime.InteropServices.Marshal.FinalReleaseComObject(xlWorkSheet);
    xlWorkSheet = null;
    if (Proceed)
    Excel.Range xlRange1 = null;
    xlRange1 = xlWorkSheet.get_Range("A1");
    xlRange1.Value = "Hello";
    Marshal.FinalReleaseComObject(xlRange1);
    xlRange1 = null;
    xlWorkSheet.SaveAs(FileName);
    else
    MessageBox.Show(SheetName + " not found.");
    xlWorkBook.Close();
    xlApp.UserControl = true;
    xlApp.Quit();
    ReleaseComObject(xlCells);
    ReleaseComObject(xlWorkSheets);
    ReleaseComObject(xlWorkSheet);
    ReleaseComObject(xlWorkBook);
    ReleaseComObject(xlWorkBooks);
    ReleaseComObject(xlApp);
    MessageBox.Show("Done");
    else
    MessageBox.Show("'" + FileName + "' not located. Try one of the write examples first.");
    private void ReleaseComObject(object obj)
    try
    if (obj != null)
    System.Runtime.InteropServices.Marshal.ReleaseComObject(obj);
    obj = null;
    catch
    obj = null;
    If you don't have other instances open outside of Visual Studio you could write a utility to shut down all instances of Excel but why when you can do this in Task Manager process tab.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Numbers can't open excel files that requires a password

    How can I open an excel file that requires a password? I recently purchased the 'Numbers' program and I get an error message saying that Numbers cannot open an encrypted file. However, I can open and view the file (but not edit).
    Apple needs to fix this!
    Any suggestions on how to open a password protected file using Numbers?
    Thanks,
    Curtis

    Thanks
    I compared the beginning of your file to the beginning of two XL ones which are on my machine (in fact, they are files created with openOffice).
    You may see that there are many differences.
    They may explain the different behaviour.
    If someone is able to drive Excel with an AppleScript,
    he may write a script opening your document in Excel,
    saving it
    opening the newly saved file in Numbers.
    As I don't own Excel, I ignore its required syntax so I can't write a clean script.
    If the XL's syntax is the same than the Numbers one, this quick and dirty one may do the trick :
    set aFile to (path to desktop as text) & "Treatment Report No Header.xls"
    tell application "System Events"
    set aName to name of disk item aFile
    end tell
    tell application "Numbers"
    open file aFile
    save document 1 (* maybe save document aName *)
    close document 1 (* maybe close document aName *)
    end tell
    tell application "Numbers"
    open aFile
    end tell
    Yvan KOENIG (VALLAURIS, France) dimanche 6 juin 2010 17:18:27

  • Requirements Gateway define excel covers

    Hi,again I put this question at Labview.....
    I have a problem to connect my testspecification in excel to the requirements in word, i tried to add an column with [Covers: xxx] and when testing the expression i get all column but not connected to req.spec
    1. How to get only the text in column x
    2. How to connect the [Covers:xxxx]
    Could it be that I convert the word template to use Header2, Header 3 as requirement, because not to change the original req doc. 
    Example in word
    1.10 Download software
     type expression requirement: ^Heading 2\t(?[\d\.]+)[ \t](.+))$
    Excel:
    |1                         |2                                           |3                             |4                                     .......
    [Covers:1.10]      1.10 Download software      Test with.....             070927/pv0.23               ........
    Type expression covers reference: \|1 (\[Covers.+)
    The excel should cover Excel.
    Best regards CB

    I am not exactly sure what you are trying to accomplish, but based on my best guesses, a reference attribute sounds correct.  If each column in the Excel Spreadsheet you attached is an attribute of a given reference, you want to use a reference attribute.  I have made changes to the types you attached.  First, in the Word type, you are having duplicates between sections and requirements since Heading 2 is used for both.  I removed the sections since it appears that you aren't using them for this purpose.  In the Excel type, I added a section for each line that contains a requirement.  I also added a reference attribute for each of the other columns and used the proper regular expression.
    If you are confused by the regular expressions, I recommend reading more about the topic.  One of my favorite sites to get started is http://www.regular-expressions.info/tutorial.html.  This will get you used to the basics of understanding the expression language used.
    Allen P.
    NI
    Attachments:
    Project_REQ_rev_A.zip ‏2 KB

  • Can I process Excel BIFF5 files, or simply abandon Apache POI?

    To the experienced:
    I am totally new to processing Microsoft Excel files using Java, and embarked on Apache POI. Now it seems I could be completely out of luck because of the Excel files I am to process.
    Now looking back, I realize that what I did with the Excel file I first received (a .xls file) was opening it in Excel 2007 and clicked the Save button. And it was all OK learning POI by processing that file. Now after all the work I have done with that file, I trashed it and got a copy of the original Excel file - as is, without first loading it in Excel 2007 and saving it - and run my java program on it. And I got the following error message talking about BIFF5 and BIFF8:
    C:\Oracle\Middleware\jdk160_18\bin\javaw.exe -client -classpath
    C:\apps11113\JavaExercise\.adf;C:\apps11113\JavaExercise\Basic\classes;C:\java_lib\poi-3.7\poi-3.7-20101029.jar
    -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks learnjava.ExcelTest2
    Exception in thread "main" org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format.
    POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)
    My program, when put into production, will run on schedule and unattended, and will have to process the file as is. Am I out of luck and have to look for some other APIs that support BIFF5? Are there such APIs?
    Many thanks for helping!
    Newman

    J. Newman wrote:
    Exception in thread "main" org.apache.poi.hssf.OldExcelFormatException: The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format.
    POI only supports BIFF8 format (from Excel versions 97/2000/XP/2003)
    My program, when put into production, will run on schedule and unattended, and will have to process the file as is. Am I out of luck and have to look for some other APIs that support BIFF5? Are there such APIs?I'm pretty sure that OpenOffice will. One test you could do is try to open your 5.0 file in OpenOffice, save it as an Excel 97/2000 file (+don't+ delete your original :-) ) and check to make sure that everything is working as expected, and then see if your POI program can process that.
    If it works, you could try downloading the OpenOffice SDK. It's also possible that something like jodConverter could do the job for you (it looks a lot easier to use), but you'd need to check their website.
    Winston

  • How to invoke a custom adapter from a BPEL process

    Hi guys,
    I've implemented a custom outbound adapter and deployed successfully on Weblogic V.10.3.4.
    My current installation also consists of Oracle SOA Suite 11g / JDeveloper 11g (11.1.1.4.0)
    In the Weblogic administrator's console,
    *1.* I navigated to:
    Summary of Deployments -> AdapterName -> Configuration -> Outbound Connection Pools
    *2.* Selected: javax.resource.cci.ConnectionFactory and added new JNDI name for Outbound Connection Instance: "*eis/HelloWorld*"
    My task is to invoke the custom adapter from a BPEL process.
    I altered the customAdapter-config.xml so as to be able to use custom adapter wizard from JDeveloper's "Service Adapters" palette,
    and fullfilled the custom adapter wizard's fields accordingly. The 3rd step of the wizard requires Connection Information.
    I added: "*eis/HelloWorld*" in the "*Connection Factory Location*" field.
    Deployed BPEL process successfully, but testing failed due to binding.jca-12510 error:
    "The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: BINDING.JCA-12510 JCA Resource Adapter location error. Unable to locate the JCA Resource Adapter via .jca binding file element <connection-factory/> The JCA Binding Component is unable to startup the Resource Adapter specified in the <connection-factory/> element: location='eis/HelloWorld'. The reason for this is most likely that either 1) the Resource Adapters RAR file has not been deployed successfully to the WebLogic Application server or 2) the '<jndi-name>' element in weblogic-ra.xml has not been set to eis/HelloWorld. In the last case you will have to add a new WebLogic JCA connection factory (deploy a RAR). Please correct this and then restart the Application Server "I tried to apply (just for testing) "eis/FileAdapter" in the "Connection Factory Location" field of the custom adapter wizard,
    and BPEL successfully invoked the adapter.
    Any ideas ?
    Thanks,
    George

    George, What deployment do you have this associated with?
    - D.J.

  • Master Data Services Add-in for Excel Issue

    I am trying to configure MDS in the Production server. I am running into isssues.
    (I was able to do the whole process successfuly in my local system - Versions are same in the local and server - Only difference is local machine is windows 7 server is Windows 2008 R2)
    I have installed SQL server 2012 Enterprise Version SP1. I am able to browse the MDS URL. User has got full permissions. When I try to access the MDS via Excel I get the below error.
    Can any one help me please I have spent days on this withou any joy.
    Error message
    TITLE: Master Data Services Add-in for Excel
    An error occurred while receiving the HTTP response to
    http://MYIPADDRESS/mds/service/service.svc/bhb. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See
    server logs for more details.
    ADDITIONAL INFORMATION:
    The underlying connection was closed: An unexpected error occurred on a receive. (System)
    Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. (System)
    An existing connection was forcibly closed by the remote host (System)
    BUTTONS:
    OK
    Bn

    I have finally found a solution for this problem!  Every time I opened Excel (unless I ran as administrator) I would have to activate the MDS add-in; this was time-consuming and annoying. It seems like there was no solution posted online anywhere! Well
    after much aggravation, I have finally found a solution:
    Fixing the Microsoft MDS Excel Add-In so it Stays Enabled
    Press the Start button (Windows button)
    In the search bar type “REGEDIT”
    Open regedit.exe
    A pop-up will ask permission for the Registry Editor to make changes to the computer, select Yes.
    In the Registry Editor expand HKEY_CURRENT_USER
    In the HKEY_CURRENT_USER folder, expand in the following order:  Software -> Microsoft -> Office -> Excel -> Addins
        Select Microsoft.MasterDataServices.ExcelAddIn
    Double-click on LoadBehavior in the right panel
        In the Edit Value popup, change the value to 
    Press OK
    Exit the Registry Editor
    The excel add-in should now be active anytime you open Excel. If multiple errors occur while using the add-in, the Load Behavior may change back to 0.  If that occurs simply follow these steps so the add-in will be active when Excel starts up.
    I hope this helps some of you avoid the long hours of trying to find a solution to this silly problem.
    Cheers!
    Tony

  • Problem with calling AQ JMS Adapter with Asynchronous BPEL Process

    I have a AQ JMS Adapter and i'm invoking the adapter in my BPEL process.
    I'm passing an xml as payload to AQ JMS adapter. When i post the xml in the BPEL Control, i'm getting the follwoing message:
    "Cannot find the specified instance". I have tried 3-4 times but getting same message all the time.
    However, i'm able to publish xml to JMS Topic with synchronous BPEL process.
    I want to use asynchronous BPLE process.
    Please let me know if there is a way to overcome this issue.
    Thanks in advance.
    Thanx in Advance.

    I am experiencing the exact same issue while configuring for Tibco EMS!!!
    I have also checked the oc4j-xa.xml file etc and I am also unable to find any guidance on the steps required from XML config files through to adapter wizard entries!

  • 20 mb excel file are not open in excel 2013

    Dear Microsoft,
    We are facing the  problen in excel 2014. When i open my  20 mb excel sheet ....it goes hang & showing the error..that Microsoft excel stop working .Please provide a setting solve this Issue.?

    Hi,
    Did the issue only occur with the 20MB Excel file or all the Excel file? Which file format are you using? XLS or XLSX? Did the file has some formula or macro?
    If only the special file encounter the issue, it may be caused by the file itself. We may try to clean the hidden options.
    Steps: Home tab>Find & Select>Go to> Object> Delete.
    If the file has some formulas or macros with large data, the issue may be related to the PC's performance. The machine cannot do the calculation/operation at the moment.
    If all the file has the issue, please refer to the following method and check if they are helpful:
    Method 1: Verify/install the latest updates
    Method 2: Start Excel in safe mode
    Method 3: Investigate possible issues with add-ins
    Method 4: Check whether your antivirus software is up to date or is conflicting with Excel
    Method 5: Make sure that Excel is not being used by another process
    Method 6: Check whether your file is being generated by a third party
    Method 7: Test by using a new local or network profile
    Method 8: Perform a selective startup to determine whether a program, process, or service conflicts with Excel
    Method 9: Repair or reinstall your Office program
    For more detail information, please refer to the following link:
    http://support.microsoft.com/kb/2758592/en-us
    Regards,
    George Zhao
    TechNet Community Support

  • Excel Macro to click on publish button of Master Data Services Add-in

    I am creating an excel macro to perform extra validation and defaults whilst the user is editing the MDS entity. It will be added as a workbook add-in. At the end of the macro I would like to be able to launch publish. The MDS addin is a ribbon.
    Does anyone have an example of how I can simulate a click on the Publish button or what the call that the button does is?
    David Roseneder

    Hi David
    here is a code sample to add mds actions with excel Buttons
    you can find the connection class separately, by downloading my sample project (C#) on codeplex :
    http://mdsmanager.codeplex.com
    (I use this MDS connection class for many projects)
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Linq;
    using System.Text;
    using System.Windows.Forms;
    using System.Xml.Linq;
    using Microsoft.VisualStudio.Tools.Applications.Runtime;
    using Excel = Microsoft.Office.Interop.Excel;
    using Office = Microsoft.Office.Core;
    using System.Xml;
    using System.Collections.ObjectModel;
    using Common.ServiceReference1;
    namespace ExcelToMDS
    public partial class Sheet1
    public const string mdsEndPoint = "http://yourMDSEndpointUrl:4040/Service/Service.svc";
    ServiceClient c = null;
    International intl = new International();
    OperationResult or = new OperationResult();
    Metadata md = null;
    private void Sheet1_Startup(object sender, System.EventArgs e)
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    International intl = new International();
    OperationResult or = new OperationResult();
    md = GetMetaData(intl, ref or);
    cbModels.Items.Clear();
    foreach (Model mo in md.Models)
    cbModels.Items.Add(mo.Identifier);
    cbModels.DisplayMember = "Name";
    cbEntities.Visible = true;
    private Metadata GetMetaData(International intl, ref OperationResult or)
    MetadataResultOptions mro = new MetadataResultOptions();
    MetadataSearchCriteria msc = new MetadataSearchCriteria();
    msc.Models = new Collection<Identifier>() { new Identifier() };
    msc.Versions = new Collection<Identifier>() { new Identifier() };
    msc.SearchOption = SearchOption.UserDefinedObjectsOnly;
    mro.Models = ResultType.Identifiers;
    mro.Versions = ResultType.Identifiers;
    cbModels.Items.Clear();
    Metadata md = c.MetadataGet(intl, mro, msc, out or);
    return md;
    private void Sheet1_Shutdown(object sender, System.EventArgs e)
    if (c != null && c.State != System.ServiceModel.CommunicationState.Closed)
    c.Close();
    #region VSTO Designer generated code
    /// <summary>
    /// Required method for Designer support - do not modify
    /// the contents of this method with the code editor.
    /// </summary>
    private void InternalStartup()
    this.btGetMDSData.Click += new System.EventHandler(this.btGetMDSData_Click);
    this.btGetTransactions.Click += new System.EventHandler(this.btGetTransactions_Click);
    this.btUpdateAttribute.Click += new System.EventHandler(this.btUpdateAttribute_Click);
    this.cbModels.SelectedIndexChanged += new System.EventHandler(this.cbModels_SelectedIndexChanged);
    this.cbMembers.SelectedIndexChanged += new System.EventHandler(this.cbMembers_SelectedIndexChanged);
    this.cbEntities.SelectedIndexChanged += new System.EventHandler(this.cbEntities_SelectedIndexChanged);
    this.cbVersions.SelectedIndexChanged += new System.EventHandler(this.cbVersions_SelectedIndexChanged);
    this.cbAttributes.SelectedIndexChanged += new System.EventHandler(this.cbAttributes_SelectedIndexChanged);
    this.btReverseTran.Click += new System.EventHandler(this.btReverseTran_Click);
    this.Shutdown += new System.EventHandler(this.Sheet1_Shutdown);
    this.Startup += new System.EventHandler(this.Sheet1_Startup);
    #endregion
    private void btGetMDSData_Click(object sender, EventArgs e)
    Cursor.Current = Cursors.WaitCursor;
    DisplayEntityMembers(c);
    Cursor.Current = Cursors.Default;
    private void DisplayEntityMembers(ServiceClient c)
    EntityMembers em = GetEntityMembers(c);
    if (em != null)
    Member[] members = em.Members.ToArray();
    ((Excel.Range)this.Cells[2, 2]).Value2 = "MemberName";
    ((Excel.Range)this.Cells[2, 3]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[2, 4]).Value2 = "AttributeValue";
    for (int i = 0; i < members.Length; i++)
    ((Excel.Range)this.Cells[i + 3, 2]).Value2 = members[i].MemberId.Name;
    int cptAtt = 0;
    foreach (Common.ServiceReference1.Attribute att in members[i].Attributes)
    ((Excel.Range)this.Cells[i + 3, cptAtt + 3]).Value2 = att.Identifier.Name.ToString();
    ((Excel.Range)this.Cells[i + 3, cptAtt + 4]).Value2 = att.Value != null ? att.Value.ToString() : "";
    cptAtt += members[i].Attributes.Count();
    private EntityMembers GetEntityMembers(ServiceClient c)
    if (cbModels.SelectedItem != null && cbEntities.SelectedItem != null && cbVersions.SelectedItem != null)
    EntityMembersGetCriteria emGetCrit = new EntityMembersGetCriteria();
    emGetCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    emGetCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    emGetCrit.VersionId = new Identifier() { Name = ((Identifier)cbVersions.SelectedItem).Name };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    emGetCrit.DisplayType = DisplayType.CodeName;
    EntityMembers em = c.EntityMembersGet(intl, emGetCrit, out emi, out or);
    return em;
    else
    MessageBox.Show("Please select model, version and entity in comboboxes");
    return null;
    private void btGetTransactions_Click(object sender, EventArgs e)
    if (cbModels.SelectedItem != null)
    this.Rows.Clear();
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    DisplayTransactions(c);
    c.Close();
    else
    MessageBox.Show("Please select Model in combos");
    private void DisplayTransactions(ServiceClient c)
    string versionName = "VERSION_1";
    if (cbVersions.SelectedItem != null)
    versionName = ((Identifier)cbVersions.SelectedItem).Name;
    TransactionSearchCriteria trSrchCrit = new TransactionSearchCriteria();
    trSrchCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    //trSrchCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    trSrchCrit.EntityId = new Identifier();
    trSrchCrit.VersionId = new Identifier() { Name = versionName };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    int totalTranCount = 0;
    Collection<Transaction> transactions = new Collection<Transaction>();
    OperationResult or = c.TransactionsGet(intl, trSrchCrit, out totalTranCount, out transactions);
    int startY = 4;
    int startDataY = startY + 1;
    int startX = 4;
    ((Excel.Range)this.Cells[startY, startX]).Value2 = "TransactionID";
    ((Excel.Range)this.Cells[startY, startX + 1]).Value2 = "Code";
    ((Excel.Range)this.Cells[startY, startX + 2]).Value2 = "Name";
    ((Excel.Range)this.Cells[startY, startX + 3]).Value2 = "MemberType";
    ((Excel.Range)this.Cells[startY, startX + 4]).Value2 = "Date";
    ((Excel.Range)this.Cells[startY, startX + 5]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[startY, startX + 6]).Value2 = "PriorValue";
    ((Excel.Range)this.Cells[startY, startX + 7]).Value2 = "NewValue";
    for (int i = 0; i < transactions.Count(); i++)
    ((Excel.Range)this.Cells[i + startDataY, startX]).Value2 = transactions[i].Id.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 1]).Value2 = transactions[i].MemberId.Code;
    ((Excel.Range)this.Cells[i + startDataY, startX + 2]).Value2 = transactions[i].MemberId.Name;
    ((Excel.Range)this.Cells[i + startDataY, startX + 3]).Value2 = transactions[i].MemberId.MemberType.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 4]).Value2 = transactions[i].Date.ToString();
    ((Excel.Range)this.Cells[i + startDataY, startX + 5]).Value2 = transactions[i].AttributeId.Name;
    ((Excel.Range)this.Cells[i + startDataY, startX + 6]).Value2 = transactions[i].PriorValue;
    ((Excel.Range)this.Cells[i + startDataY, startX + 7]).Value2 = transactions[i].NewValue;
    private void btUpdateAttribute_Click(object sender, EventArgs e)
    Cursor.Current = Cursors.WaitCursor;
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    for (int i = 0; i < members.Length; i++)
    ((Excel.Range)this.Cells[i + 3, 2]).Value2 = members[i].MemberId.Name;
    foreach (Common.ServiceReference1.Attribute att in members[i].Attributes)
    if (att.Identifier.Name == "ValidDandT")
    att.Value = DateTime.Now;
    c.EntityMembersUpdate(intl, em);
    DisplayEntityMembers(c);
    c.Close();
    Cursor.Current = Cursors.Default;
    private void cbModels_SelectedIndexChanged(object sender, EventArgs e)
    Identifier i = (Identifier)cbModels.SelectedItem;
    if (md != null)
    cbVersions.Items.Clear();
    foreach (Common.ServiceReference1.Version v in md.Versions)
    if (v.Identifier.ModelId.Id == i.Id)
    cbVersions.Items.Add(v.Identifier);
    cbVersions.DisplayMember = "Name";
    private void cbVersions_SelectedIndexChanged(object sender, EventArgs e)
    Identifier iVer = (Identifier)cbVersions.SelectedItem;
    ModelMembersGetCriteria mmgc = new ModelMembersGetCriteria();
    mmgc.Models = new Collection<Identifier>() { new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name } };
    ModelMembersResultCriteria mmrc = new ModelMembersResultCriteria();
    mmgc.Versions = new Collection<Identifier>() { new Identifier() { Id = iVer.Id } };
    mmrc.IncludeLeafMembers = true;
    cbEntities.Items.Clear();
    cbMembers.Items.Clear();
    Collection<EntityMembers> colEm = c.ModelMembersGet(intl, mmgc, mmrc, out or);
    foreach (EntityMembers em in colEm)
    cbEntities.Items.Add(em.EntityId);
    cbEntities.DisplayMember = "Name";
    private void cbEntities_SelectedIndexChanged(object sender, EventArgs e)
    DisplayEntityAttributesCombo(c);
    DisplayEntityAttributesAndMembersInSheet();
    private void DisplayEntityAttributesAndMembersInSheet()
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    ((Excel.Range)this.Cells[2, 2]).Value2 = "MemberName";
    ((Excel.Range)this.Cells[2, 3]).Value2 = "AttributeName";
    ((Excel.Range)this.Cells[2, 4]).Value2 = "AttributeValue";
    if (members.Count() > 0)
    int ii = 0;
    //attributes name on header line
    foreach (Common.ServiceReference1.Attribute att in members[0].Attributes)
    ((Excel.Range)this.Cells[3, ii + 3]).Value2 = att.Identifier.Name.ToString();
    ii++;
    //members Data
    int cptnbAttributes = members[0].Attributes.Count();
    for (int i = 0; i < members.Length; i++)
    for (int j = 0; j < cptnbAttributes - 1; j++)
    ((Excel.Range)this.Cells[i + 4, j + 3]).Value2 = members[i].MemberId.MemberType;
    private void DisplayEntityAttributesCombo(ServiceClient c)
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    if (members.Count() > 0)
    cbAttributes.Items.Clear();
    foreach (Common.ServiceReference1.Attribute a in members[0].Attributes)
    cbAttributes.Items.Add(a.Identifier);
    cbAttributes.DisplayMember = "Name";
    cbAttributes.Visible = true;
    private void cbMembers_SelectedIndexChanged(object sender, EventArgs e)
    Identifier idMember = (Identifier)cbMembers.SelectedItem;
    EntityMembers em = GetEntityMembers(c);
    Member[] members = em.Members.ToArray();
    Member m = members.FirstOrDefault(p => p.MemberId.Id == idMember.Id);
    cbAttributes.Items.Clear();
    foreach (Common.ServiceReference1.Attribute att in m.Attributes)
    cbAttributes.Items.Add(att.Identifier);
    cbAttributes.DisplayMember = "Name";
    cbAttributes.Visible = true;
    private void cbAttributes_SelectedIndexChanged(object sender, EventArgs e)
    private void btReverseTran_Click(object sender, EventArgs e)
    using (var c = Common.MDS_WSConnect.CreateMdsProxy("yourdomain", "yourlogin", "yourpassword", mdsEndPoint))
    c.Open();
    UpdateTransaction(c);
    DisplayTransactions(c);
    c.Close();
    private void UpdateTransaction(ServiceClient c)
    string versionName = "VERSION_1";
    if (cbVersions.SelectedItem != null)
    versionName = ((Identifier)cbVersions.SelectedItem).Name;
    TransactionSearchCriteria trSrchCrit = new TransactionSearchCriteria();
    trSrchCrit.ModelId = new Identifier() { Name = ((Identifier)cbModels.SelectedItem).Name };
    //trSrchCrit.EntityId = new Identifier() { Name = ((Identifier)cbEntities.SelectedItem).Name };
    trSrchCrit.EntityId = new Identifier();
    trSrchCrit.VersionId = new Identifier() { Name = versionName };
    //ExportView[] ev = c.ExportViewListGet(new International(), out or);
    EntityMembersInformation emi = new EntityMembersInformation();
    int totalTranCount = 0;
    Collection<Transaction> transactions = new Collection<Transaction>();
    OperationResult or = c.TransactionsGet(intl, trSrchCrit, out totalTranCount, out transactions);
    Collection<ReplacementId> transactionReversed = new Collection<ReplacementId>();
    or = c.TransactionsReverse(intl, new Collection<int>() { transactions.First().Id }, out transactionReversed);
    Xavier Averbouch
    Microsoft Community Contributor
    Avanade , FRANCE
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful".

  • Display Excel on browser & read the edited Excel sheet

    Hi,
    Till now i was using POI api to create Excel sheet and add data to the sheet. Now we had a requirement to display Excel sheet on browser. User can edit the Excel and on click of Save button, we need to read the data and save it to Database. If i use frames i can display Excel on browser. But once user edits the Excel, how to read the Excel sheet which is displayed on browser.

    It sounds like what you're trying to do is write an Excel<-->HTML converter, no? If you want it editable through a browser (presumably with no Excel installed) but stored in the native format?

  • Excel report generation does not exit excel

    I am using the excel report generator to save test reports.  I can create the report using a template and write to it when needed with no problems.  After every test step I add data and save the report.  I keep excel closed by using the no change setting for the window state.  I do not want the user to see excel or even know it is there.
    The issue is when I am done testing and use the dispose report vi, it leaves an instance of excel open that you can see in the task manager.  And the only way to close that instance is to open one of the files that was created and close it and then exit excel.  The memory used by that instance grows a little each time a new file is created.
    Labview 2011 SP1 (11.0.1.F2 32bit)
    Excel 2007
    How can I close excel completely after each test?
    Solved!
    Go to Solution.
    Attachments:
    Report Example.png ‏52 KB

    I find it very hard to believe that this function isn't somewhere in the report generation toolkit.  But my 30 second look for it came up with nothing.  So instead I wrote a function that does a task kill for you.  Keep in mind this only works in Windows, and this will do the same thing as a end task in Taskmanager so only use it when you are sure your are done saving all reporting.  Saved in 2011.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Taskkill Excel Report.vi ‏22 KB

  • 2013 Excel WFservlet.xls check exports to Excel and opens blank Windows 7 Ent

    HI All,
    I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
    All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
    This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
    IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
    sites in IE. I reset the browser and deleted history with all options selected.
    In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
    In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
    I also did
    Open your Registry (Start -> Run -> regedit.exe)
    Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
    Right click in the right window and choose New -> DWORD
    Type “ExtensionHardening” as the name (without the quotes)
    Verify that the data has the value “0″
    No luck.
    If I log into the computer as local admin or my domain account it still opens blank.

    HI All,
    I am trying to work through an issue involving an online check through Accounts payable downloading to a blank Excel document. If the user saves the file it opens as it should but if she chooses to open it, it opens blank. If I go to View>Arrange
    All> leave the Tile selected (basically do nothing but click OK) and click OK it opens. I have done an Office repair with no luck and also a complete uninstall then used the office removal tool then reinstalled with reboots in-between and still no change.
    This computer is on a domain and I can get the check to export to excel without any issues on another computer so I know it's not her roaming profile. I can get it to work on my machine and others as me, admin and her but on her machine no luck. I have opened
    IE settings on her machine and a working machine and matched the settings exactly as well as Excel settings. I have started Excel in safe mode and exported but no luck. I have disabled all add ins in excel and added the site to compatibility settings and trusted
    sites in IE. I reset the browser and deleted history with all options selected.
    In the beginning I was receiving the error "The file format and extension of ".xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" I checked the following
    In Windows Explorer Tools > Folder Options > View tab > made sure "Hide extensions for known file types" was unchecked.
    I also did
    Open your Registry (Start -> Run -> regedit.exe)
    Navigate to HKEY_CURRENT_USER\SOFTWARE\MICROSOFT\OFFICE\12.0\EXCEL\SECURITY
    Right click in the right window and choose New -> DWORD
    Type “ExtensionHardening” as the name (without the quotes)
    Verify that the data has the value “0″
    No luck.
    If I log into the computer as local admin or my domain account it still opens blank.
    The file will open in Chrome but I am wondering if that's because Chrome downloads the file as if I choose to save the file opens fine. I am going to run the OffCAT will post my findings.
    Thank you!

  • Can I use iPad to record excel inventory figures? I have excel on my mac. But run around taking inventory on iPad. Want to add numbers on pad as I go. Please advise oh smart Apple peeps!

    Can I use my iPad to record excel inventory figures? I have excel on my Macbook Air and have Mavericks on it. But I use the iPad when I run around taking inventory. The computer is just too large and cumbersome to carry while walking around. I Want to add numbers to my excel docs whilst right on my ipad as I go through inventory.
    Is there a way to get my excel doc into my iPad and open it to add numbers?
    And, because Mavericks is now the system that allows iPad (ios) devices to talk to Mavericks on macs, isn't this supposed to now be doable?
    And, woe is me if not yet at this time. If so, is there an Application some smart person created that will allow me to transfer from mac to ipad and back to mac and excel numbers I input?
    Muchos gracias!

    You will need Numbers (On your Mac) and then you can do what you wish.

Maybe you are looking for

  • Diskpart not work win 8

    Hello, I have HP ENVY 14-k074ca with win 8 on it. two days ago it did update to win 8.1, After that it crached and went into infinite loop of automatic recovery. I THEN tried to use a win8 usb to solve the problem. of course auto rcovery not working.

  • Not enough memory to manipulate image

    I created a report to print out 10 graphs(control image). But the program gives error:not enough memory to manipulate image. I did the same in other programs, I have the same number of graphs, there was no problem. what's the real reason of this erro

  • Fire walls between servers..

    Hi All, 1. Is there any way to find firewalls (i.e. number of firewalls and their name or any other identification) between two servers. 2. How to find ports whether the are opened in the fire wall. Telnet is disabled for our servers. Is there any wa

  • WCS Map Editor Don't Load

    Hi. I have a 7.0.172.0 versipon of a wcs. I´m trying to create a new floor and then edit the maps of my building's floors but I only see a white image on the map editor. I've already tried  with png and jpg, also i've tried reducing dpi from 96dpi to

  • Insert into .. sql return incorrect value for 2 columns,sometime no value

    Hello, Oracle 10.2.0.3 , sol 10. (recently upgraded from oracle9i & sol8) sql query is used to populate a table. sometimes it is populating same values for all the records in 2 columns. Sometimes not populating or partially populating 1 other column.