In VS 2012 , ReportClass.Export(Exportoptions) throwing Exception "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'".

Hi  Team,
Problem : we are getting below exception on vs-2012  "Method not found: 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag CrystalDecisions.ReportAppServer.ReportDefModel.ISCRExportOptions.get_ExportOptionsEx()'"
Could you please help me why we are getting this Error?
Note : Im not using  Exportstream method , just using only Export method (refer code sample) for exporting Crystal report.
EnvironMent Details :
Crystal Report Version : CRforVS_13_0_5.exe
(SAP Crystal Reports runtime engine for >net Framework (64-bit)
SAP crystal Reports ,version for Microsoft Visual studio)
OS -Windows 7 -64 BIT
RAM : 16 GB
code where i Got the Exception
               dfdoFile.DiskFileName = Path.Combine(reportPath, reportFileName);
                expOptions.ExportDestinationType = ExportDestinationType.DiskFile;
                expOptions.ExportFormatType = ExportFormatType.CrystalReport;
                expOptions.DestinationOptions = dfdoFile;
                objReport.Export(expOptions);
below is stack trace :
   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
   at Medtech.BaseObjects.Report.CreatePDF(ReportClass objReport, DataView objRptDataView, String printerName, PrinterPaperOrientation
i have attached Screenshot for your reference ,

Hi Sandeep
You are using Service Pack 5 (Crystal Report Version : CRforVS_13_0_5.exe). I'd like you to update your install to SP 13:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
and test.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
  Follow me on Twitter

Similar Messages

  • Exception: Method not found: 'SAPbobsCOM.Document_SpecialLines...........

    I am getting this exception when I'm adding a Sales Order with the DI API:
    Method not found: 'SAPbobsCOM.Document_SpecialLines SAPbobsCOM.IDocuments.get_SpecialLines()'
    I am not using this interface in any of my code so I'm not understanding from where this error is coming, the same code works well with other companies, I have this problem only with 1 of my clients.
    Any Idea??/

    Dear Yuval,
    Please do remember to check the DI version and check if it matches the B1 version.
    Also try removing the folder "SM_OBD_DLL" which stores the temporary DI files.
    If it does not help, please let us know the exact B1 version and the DI version and also the code with which you are able to reproduce the issue.
    Regards
    ARshdeep

  • SOAP Fault Exception: method not found

    Hi,
    I've tried to consume a web service (written in Java) in ABAP using a generated client proxy with logical port. I receive return code 500 and a fault exception like "method for requestMethod was not found".
    Has anyone a hint?
    Thanks in advance,
    Daniel

    I have not seen that error before, but my first suggestion would be to state the obvious - check your logical port definition and make sure that the settings are correct, i.e., that they match the WSDL document.  You'll want to check that the SOAP Action on the Operations tab is correct and that the URL for the web service is correct on the Call Parameters tab.

  • OracleConnection.ClearAllPools() throws exception Operation not valid due t

    My app allows new logons so during the app startup I call my general "new logon" procedure that among other things does a ClearAllPools.
    OracleConnection.ClearAllPools() throws exception "Operation not valid due to current state of the object".
    I have converted from
    System.Data.OracleClient.OracleConnection
    to
    Oracle.DataAccess.Client.OracleConnection
    Did not have any problem when using the former.

    According to the documentation, ClearAllPools() throws an exception if there's no connection pool to clear. Most likely in that case the System.Data.OracleClient version is just not doing anything instead.
    You should just be able to catch InvalidOperationException() at that point and ignore it.

  • Method not found: 'Void National Instruments.LabVIEW.Interop.LV Runtime.throw MissingDependencyException()'.

    Method not found: 'Void National Instruments.LabVIEW.Interop.LV Runtime.throw MissingDependencyException()'.
    My colleague created a Labview DLL for me to use in .NET.
    I have tried getting this DLL to work in 3.5 framework however it only worked on framework 2.0. 
    I recently tried again and now it will not work in framework 2.0 or any available frameworks.
    He is using Labview 2011. 
    I am a little baffled as to how the application just stopped working. The National Instruments Runtime I am using is Labview 2011, version 1.1.0.0. The labview dll he gave me is using 1.1.0.0 as well. I have tried using 1.0.0.0 and I get an error saying there is a mismatch.
    In addition, for some reason I was never successful in making this work in 3.5, and now I can't make it work in 2.0 either.
    Any help is greatly appreciated. I have tried re-installing the runtime engine, tried different versions like labview 2013 but no luck... 
    Everything works except when I call the dll procedure:
    LabVIEWExports.AxBClusterArrays(out ERR, out OUTDLL, INDLL);
    My Code:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using NationalInstruments.LabVIEW.Interop;
    using InteropAssembly;
    namespace WindowsFormsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void Form1_Load(object sender, EventArgs e)
    InteropAssembly.LVCluster_1 OUTDLL = new InteropAssembly.LVCluster_1();
    InteropAssembly.LVCluster_2 INDLL = new InteropAssembly.LVCluster_2();
    double[] TestA = new double[1];
    double[] TestB = new double[1];
    for (int runs = 0; runs < 1; runs++)
    TestA[runs] = 1;
    TestB[runs] = 1;
    INDLL.A = TestA;
    INDLL.B = TestB;
    NationalInstruments.LabVIEW.Interop.ErrorCluster ERR = new NationalInstruments.LabVIEW.Interop.ErrorCluster();
    MessageBox.Show(NationalInstruments.LabVIEW.Interop.FrameworkVersion.Fx35.ToString());
    try
    //LabVIEWExports LVE = new LabVIEWExports()
    LabVIEWExports.AxBClusterArrays(out ERR, out OUTDLL, INDLL);
    catch (Exception f)
    MessageBox.Show(f.Message.ToString());

    Figured it out, I thought we where using Labview 2011, however it was Labview 2011 SP1. 
    Thus i had to install the runtime envioment 2011 SP1.
    Regards,
    ADL

  • Method Not Found Exception - createinstance

    Hi,
    I am new to ADF. I add the Iterator to the executables and add the action "createInstance" onto the page data binding definition at the Method call in the unbounded task flow (adf-config.xml). However, everytime, when the flow is upto the method call, it will throw the exception "javax.el.MethodNotFoundException: Method not found: view_adfc_config__methodCall1PageDef.CreateInsert()". I saw the createinsert in the Page data binding definition xml.
    Please help, I tried to learn the binding in ADF.

    Hi,
    the method call activity would need to have a PageDef file with this method defined. It is not sufficient to have the method defined in the Pagedef file of a view.
    Frank

  • Very Very Urgnet -- export to pdf error -- File not found

    Hi to all,
    I have a major problem while exporting pdf files at runtime
    Using VB 6.0 and Crystal Reports 8.5, I am able to generate the required report. 
    While exporting to the pdf, I need to save the files without any user interaction.
    I have tried using the exportoptions, but it gives error
    Dim appl As New CRAXDRT.Application
    Dim rep As CRAXDRT.Report
    Private Sub Command1_Click()
         reppath="sf_details.rpt"
         pdfpath="c:\test2.pdf"
         Set rep = appl.OpenReport(reppath, 1)
         rep.ExportOptions.DiskFileName = pdfpath
         rep.ExportOptions.DestinationType = crEDTDiskFile
         rep.ExportOptions.FormatType = crEFTPortableDocFormat
         rep.Export False
    End Sub
    "File not found" at this line --> rep.Export False
    Secondly, fonts dont seem to appear the same as compared in the report viewer and the exported pdfs.
    Any help will be highly appreciated.
    Thanks and Regards,

    Post your development questions to the Legacy Developers forum

  • Reg: Exception (ALT NOT FOUND) in the fun.module CS_BOM_EXPL_MAT_V2

    Hi Experts,
    I called the fun. module CS_BOM_EXPL_MAT_V2 in SE38.
    While executing the function module, it is giving output for some types of material like (TP0331-).
    But it is raising the exception ALT NOT FOUND for some types of material like 'TB1000-'
    But for all types of material, it is giving correct output in SE37.
    I gave the input parameter's,
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
       CAPID                       = 'PP01'
       DATUV                       = sy-datum
       EMENG                       = '1'
       MKTLS                       = 'X'
       MEHRS                       = 'X'
       MTNRV                       = 'TB1000-'
       STLAL                       = '1'
       STLAN                       = '1'
       SVWVO                       = 'X'
       WERKS                       = '0010'
       VRSVO                       = 'X'
      TABLES
        stb                         = it_stpox
    EXCEPTIONS
       ALT_NOT_FOUND               = 1
       CALL_INVALID                = 2
       MATERIAL_NOT_FOUND          = 3
       MISSING_AUTHORIZATION       = 4
       NO_BOM_FOUND                = 5
       NO_PLANT_DATA               = 6
       NO_SUITABLE_BOM_FOUND       = 7
       CONVERSION_ERROR            = 8
       OTHERS                      = 9
    Can you please suggest me, why for the particular types of material, these function module is executing correctly in SE37 not in SE38.
    Whether i need to give some more inputs in SE38.
    Please guide me,
    Thanks in advance,
    Vijay.R

    hi,
    i have done the code like this,
    CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
    EXPORTING
    CAPID = 'PP01'
    DATUV = sy-datum
    EMENG = '1'
    MKTLS = 'X'
    MEHRS = 'X'
    MTNRV = 'TB1000-'
    STLAL = '01'  """" i have changed the value as 01 instead of 1.
    STLAN = '1'
    SVWVO = 'X'
    WERKS = '0010'
    VRSVO = 'X'
    TABLES
    stb = it_stpox
    EXCEPTIONS
    ALT_NOT_FOUND = 1
    CALL_INVALID = 2
    MATERIAL_NOT_FOUND = 3
    MISSING_AUTHORIZATION = 4
    NO_BOM_FOUND = 5
    NO_PLANT_DATA = 6
    NO_SUITABLE_BOM_FOUND = 7
    CONVERSION_ERROR = 8
    OTHERS = 9
    it is a small problem..
    whether u need any more information..
    please let me know.. still it is not working means,
    paste your code.. i will check
    regards
    vijay

  • Method not found exception

    Getting exception on javax.net.ssl.SSLsession.getPeerCertificates method not found.
    The exception is being thrown from sun.net.www.protocol.https.HttpsClient.b
    Project built with JBuilder version 8.
    Using Jakarta Tomcat 4.0.4 and J2sdk1.4.0_01
    JBuilder does not show the getPeerCertificates method either.
    Any idea where the incompatiblity with javax is coming from, and how I might remedy this?
    Any help would be appreciated.

    probably the ssl implementation from apache is old, go to their site and look for the most recent. www.apache.org
    Will

  • Errors with CF 8.0.1 hotfix 3 and hotfix 4, "Object Instantiation Exception.Class not found"

    We need to get our servers up to date with the latest ColdFusion hotfixes in order to pass our security scans and policies. We have been following the Adobe instructions for installing the hotfixes, but we’re getting the same errors each time. The CF 8 hotfix 2 works fine, but once we install hotfix 3 and/or hotfix 4, we get the following errors:
    "Object Instantiation Exception.Class not found: coldfusion.security.ESAPIUtils The specific sequence of files included or processed is: C:\ColdFusion\wwwroot\WEB-INF\exception\java\lang\Exception.cfm, line: 12 "
    coldfusion.runtime.java.JavaObjectClassNotFoundException:
    We have dozens of servers running Windows XP, Netscape Enterprise Server 6.1 (I  know, don’t laugh), ColdFusion 8,0,1,195765, and Java Version 1.6.0_04. Just about  the only good thing about running XP on our servers is that it matches  our development boxes, so we have almost mirrored environments for dev,  test, and production. We do NOT have the CF install with the J2EE configuration.
    The crazy thing is, on tech note 51180 (http://kb2.adobe.com/cps/511/cpsid_51180.html), it says that the fix for bug # 71787 (Fix for "Object Instantiation Exception" thrown when calling a Java object constructor or method with a null argument under JDK 1.6.) was added in cumulative hotfix 2. However we don’t see this problem until we go to hotfix 3 (or 4).
    I’ve also been reading that other people had this same problem, and that the CF 8 hotfix 3 was not compatible with certain versions of JDK, then when you read the Adobe site for CF 8.0.1 hotfix 3, it says “Added the updated cumulative hotfix to make it compatible with jdk 1.4.x, 1.5.x and 1.6.x.”, so that makes me think that Adobe was supposed to have fixed this CF 8.0.1 hotfix 3 JDK incompatability issue - but unfortunately it's still not working for us. We have followed the instructions for removing the jar files and starting/restarting the CF server as directed, we’ve tried this 5-6 times, and still no luck.
    Recommendations? Seems like this is a ColdFusion bug to me – one that says is fixed on the Adobe site, but is not fixed in our environment. Please advise, thanks.

    For what it's worth, we had an MXUnit user describe a similar, though not identical, problem after installing the latest hotfixes. In his case, he's getting "NoSuchMethodExceptions".

  • Constructor can throw exception or Not ?

    Anybody please tell me if the constructor throws an exception or not ?
    Please reply soon
    Thanks
    Amitindia

    A constructor can throw an Exception. However I
    would suggest throwing the generic Throwable, Error,
    Exception or RuntimeException rather than a specific
    exception is bad practice and you should choose an
    appropirate exception to throw.All depends on wich kind of exception you are throwing,checked or unchecked. It's an even worse form to throw a RE, Error, or Throwable when you are throwing in fact a checked exception.
    Nevertheless, I do agree, you must always strive to not throw exceptions, of any kind, in your construtor code. Construtors should be simple and reliable. Unles you have a very compelling reason to not do it, try to isolate the risky parts of the code where they are called ofter object construction or class loading.
    May the code be with you.

  • MSSQL Server 2012. Error accessing reporting website. Not Found The requested URL /ReportServer1 was not found on this server. Unable to uninstall MSSQL 2008

    Hi all. I have recently installed MSSQL Server 2008, and was not able to access the URL when I clicked on it. It gave me a 404.
    When I installed 2012, I tried the same thing and it also throws me a 404 error. How should I go about solving this? What are the log files that you may need to help me solve this?
    At the same time, I have also tried to uninstall my 2008, but am always stuck at not being able to remove Client Connectivity Tools and some other components. Please let me know what log files you need and I will be happy to provide them. Thanks!
    The following is the log for the uninstallation.
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2068052368
      Exit facility code:            1212
      Exit error code:               1648
      Exit message:                  Failed: see details below
      Start time:                    2014-04-11 09:40:30
      End time:                      2014-04-11 09:41:37
      Requested action:              Uninstall
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
    Machine Properties:
      Machine name:                  ADC-PC
      Machine processor count:       8
      OS version:                    Windows 7
      OS service pack:               Service Pack 1
      OS region:                     Singapore
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      Sql Server 2008 R2                                                       Management Tools - Basic      
                                   Enterprise Edition   10.50.1617.0    No        
      Sql Server 2008 R2                                                       Management Tools - Complete    
                                  Enterprise Edition   10.50.1617.0    No        
      Sql Server 2008 R2                                                       Client Tools Connectivity      
                                  Enterprise Edition   10.50.1617.0    No        
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      SPLevel:                       0
      Installation edition:          EVAL
    User Input Settings:
      ACTION:                        Uninstall
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\ConfigurationFile.ini
      ENU:                           False
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      CONN,SSMS,ADV_SSMS,CE_TOOLS,BROWSER,WRITER
      HELP:                          False
      IACCEPTSQLSERVERLICENSETERMS:  False
      INDICATEPROGRESS:              False
      INSTANCEID:                    <empty>
      INSTANCENAME:                  <empty>
      PASSPHRASE:                    *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\ConfigurationFile.ini
    Detailed results:
      Feature:                       SQL Writer
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       SQL Browser
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       SQL Compact Edition Tools
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Client Tools Connectivity
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Failed: see logs for details
      MSI status:                    Failed: see details below
      MSI error code:                0x1648
      MSI log file location:         C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\sql_tools_Cpu64_1.log
      MSI error description:         
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140411_093720\SystemConfigurationCheck_Report.htm

    Strange, but finally the procedure below did solve my problem.
    # Go to Control Panel > Add or Remove Programs and look for '''Anti Phishing Domain Advisor'''.
    # If you click on ''Click here for support information'' you'll see it is a Panda program.
    # Uninstall '''Anti Phishing Domain Advisor''' program...
    # This did solve my problem
    See also [https://support.mozilla.com/en-US/questions/811399#answer-205531 Can't open mail. Get this message: 404 Not Found nginx/0.6.32]

  • Performance Point Dashboard - Show Details - Export to Excel - 404 FILE NOT FOUND

    We are receiving an error when we want to drill down to the details of a report. We see the details but when we try to Export to Excel we get a file not found error.
    Both the aspx files are there in the 15/_Layouts folder.
    http://MySharepointServer/sites/PerformancePoint/_layouts/15/PPSWebParts/DrillThrough.aspx works. I see the details here and export to excel option
    When I click export to Excel I get to below page and get the file not found error
    http://MySharepointServer/_layouts/15/PPSWebParts/DrillThroughOfficeExport.aspx
    See Attached Screenshots using the link below
    https://www.evernote.com/shard/s433/sh/a6b7e4f7-babb-457b-addd-4c4fc7f57cc9/a6681814ad2ff11d21a45fd3f2bd8b08
    Thanks in advance.
    Sunhil

    Hi! Rebecca,
    Thanks for helping out. Please see the error details
    System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
        at Microsoft.SharePoint.Utilities.SPUtilityInternal.Send404(HttpContext context) 
        at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnPreInit(EventArgs e) 
        at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnPreInit(EventArgs e) 
        at Microsoft.PerformancePoint.Scorecards.WebControls.DrillThrough15.OnPreInit(EventArgs e) 
        at System.Web.UI.Page.PerformPreInit() 
    Exception trying get context compatibility level: System.IO.FileNotFoundException: The site http://MySharepointServer:80/_layouts/15/PPSWebParts/DrillThroughOfficeExport.aspx could not be found in the Web application SPWebApplication Name=SharePoint - 80. 
        at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId,
    Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String&
    appSiteDomainId, Uri& primaryUri) 
        at Microsoft.SharePoint.ApplicationRuntim...
    Thanks,
    Sunhil
    Sunhil

  • Command exception :field not found

                                                           FieldId fld61 = repositorySchema.getFieldId("Phone_Numbers", "Sequence_Number");
                                  System.out.println("fieldId"+fld61);
                                  ResultDefinition rd_qual1 = new ResultDefinition(repositorySchema.getTableId("Phone_Numbers"));
                                       rd_qual1.addSelectField(fld61);
                                LinkedHashMap map = new LinkedHashMap();
                                  FieldId field_Contact1 = (FieldId)repositorySchema.getFieldId("Customers","Phone_Numbers");
                                  com.sap.mdm.valuetypes.MdmValue mVal1 =SourceRecord .getFieldValue(field_Contact);
                                  com.sap.mdm.valuetypes.QualifiedLookupValue qval1 = null;
                                  //boolean canValueBeSet = false;
                                  QualDataValue = (QualifiedLookupValue)SourceRecord.getFieldValue(repositorySchema.getFieldId("Customers","Phone_Numbers"));
                                  System.out.println("QualDataValue"+QualDataValue);
                                  RetrieveRecordsByIdCommand retrieveRecordsByIDCmd = new RetrieveRecordsByIdCommand(ConnectionStr);
                                  if(!mVal.equals(null))
                                             qval =     (com.sap.mdm.valuetypes.QualifiedLookupValue) mVal;
                                            int count1 =qval.getValuesCount();
                                            System.out.println(count);
                                            System.out.println("done mval");
                                  for(int i=0;i<QualDataValue.getValuesCount();i++){
                                       MdmValue nqVal = qval.getValue(i);
                                       System.out.println("nqVal"+nqVal);
                                       System.out.println("LookupId = " + QualDataValue.getLookupId(i).getString());
                                                           if(nqVal != null)
                                                                     retrieveRecordsByIDCmd.setResultDefinition(rd_qual1);
                                                                     retrieveRecordsByIDCmd.setSession(SessionId);
                                                                     retrieveRecordsByIDCmd.setIds(new RecordId[] {qval.getLookupId(i)});
                                                                     retrieveRecordsByIDCmd.execute();
                             Record[] PhoneNumRec1 = retrieveRecordsByIDCmd.getRecords().getRecords();      
                             for(int hh =0;hh<PhoneNumRec1.length;hh++){
                                          String SequenceNum = PhoneNumRec1[hh].getLookupDisplayValue(fld61);
    //                                      String Dist = salesDataRec1[hh].getLookupDisplayValue(fld52);
    //                                      String Div = salesDataRec1[hh].getLookupDisplayValue(fld53);
                                          System.out.println("index :" + hh);
                                          System.out.println("SequenceNum = " +hh +SequenceNum);
    //                                      System.out.println("Dist = " + hh+ Dist);
    //                                      System.out.println("Div = " + hh+Div);     
                             if(bean.getTelephoneNo()!=null&&bean.getTelephoneNo().length()>0)
    //                                             qval.setQualifierFieldValue(i,(FieldId)repositorySchema.getFieldId("Phone_Numbers", "Telephone"),new StringValue(bean.getTelephoneNo()));
    //                                             System.out.println("Done Phone numbers"+qval);
                                                 StringValue strVal = null;
                                                 strVal =new StringValue(bean.getTermsOfPaymentKey());
                                                 System.out.println(repositorySchema.getFieldId("Phone_Numbers","Telephone").getString());
                                                 map.put(repositorySchema.getFieldId("Phone_Numbers","Telephone"), strVal);
                                                 System.out.println("map"+map);
    //                                             LookupValue strVal = null;
    //                                                                      strVal =
    //                                                                      new LookupValue(
    //                                                                      this.GetLookupRecId(
    //                                                                      "New_Code7",
    //                                                                      "New_Code",
    //                                                                      bean.getTelephoneNo()));     
    //                                                                      qval.setQualifierFieldValue(i,(FieldId)repositorySchema.getFieldId("Phone_Numbers","Telephone"),strVal);
                                  custRecord.setFieldValue(repositorySchema.getFieldId("Customers","Phone_Numbers"),qval);
                                  System.out.println("Done custRecord numbers"+custRecord);
    i'm using above code to update the field but its throwing Command exception :field not found

    Hi Revathy,
    Possible cause here is that you are trying to put value into the main table but you are using the field Id of some other table to put this value. E.g: You want to update Country field in main table but while putting the value in hashmap, you are putting the value against some Lookup Table field.
    Please check.
    Hope this helsp!!
    Cheers,
    Arafat

  • SSAS Cube - Throws "attribute key not found" when the key exists

    Hi,
    I created a cube with 2 fact tables ( CabecNF and ItensNF ) and with some dimensions, in this case Cliente.
    When I proccess the cube it throws this error:
    Internal error: The operation terminated unsuccessfully.
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
    Errors in the OLAP storage engine: An error occurred while processing the 'ITENSNF' partition of the 'ITENSNF' measure group for the 'SCA' cube from the SCA_Cube_ database.
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.
    Server: The operation has been cancelled.
    Errors in the OLAP storage engine: An error occurred while processing the 'CABECNF' partition of the 'CABECNF' measure group for the 'SCA' cube from the SCA_Cube_ database.
    Errors in the OLAP storage engine: The attribute key cannot be found when processing: Table: 'dbo_CLIENTE', Column: 'CODIGO', Value: '6571'. The attribute is 'CLIENTEID'.
    Errors in the OLAP storage engine: The attribute key was converted to an unknown member because the attribute key was not found. Attribute CLIENTEID of Dimension: CLIENTE from Database: SCA_Cube_, Cube: SCA, Measure Group: ITENSNF, Partition: ITENSNF, Record: 152957.
    I understand that is not finding the ClienteID 6571. But I've checked on my database and he exists, and he has itens in the CabecNF wich has itens on ItensNF.
    I've already customized the error configuration on the dimensions, but it didn't solve the problem.
    What could be causing this behavior?
    Thanks.
     

    i did nt get what are trying say by this:
    "First the Cliente dimension reported 500 rows skipped due to having the same name(even the name not being a key), so I changed the dimension and set the "name" property as not aggregable. Re-processed the dimension, and this time no skipped rows"
    1.) were u able to do a full process of the dimension successfully?
    if yes can you go and check the view or data source query that is making this dimension  have the value for the column 'CODIGO' 6571
    Yes, the process of the dimension was successful. At first successful with warnings, and then successful without warnings.
    But I found the problem: The Cliente dimension has relathionship with the Seguimento dimension, and the Cliente 6571 had NULL at that relationship. I fixed that and the cube was processed successfully.
    It was a bit hard to find the problem because the error didn't mentioned anything about the Seguimento dimension.
    Thanks for all your help guys!

Maybe you are looking for