Error with push in json object

Hey i am using json to store my data in js app
but problem is that when i am using javaScript push method to add json object then it's working successfully but some extra null element also adding with it.
<script>
jsonArray=
"element1":[{"first":"raj"}]
var item={};
item["first"]="deepak";
jsonArray.element1.push(item);
</script>
Result:
jsonArray={"element1":[{"first":"raj"},{"first":"deepak"},{},{}]}
Deepak

Hi,
I cannot reproduce. When I run the codes above, the jsonArray result is below:
Best Wishes!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

Similar Messages

  • Error with executable using ActiveX object in ver 7

    I have a top-level VI (version 7 in WindowsXP) that contains an ActiveX control. This ActiveX object further calls several DLL’s, one of which controls the serial port. SubVIs in the top-level VI call this ActiveX object via Invoke Node and Property Node. Everything works in the LabVIEW development environment. The ActiveX object is registered using the “regsvr32” command and is made with Visual C++.
    When I try to build an application of the top-level VI, the executable doesn’t work (giving the error “The server threw an exception.” Error -2147417851). I’ve narrowed the problem down to the ActiveX calls. I’ve tried embedding the ActiveX object and the DLL’s in the executable as support files. I’ve also tried changing the Execution property of the top-level VI from “same as caller” (default) to “standard” (no change) and “user interface” (crashes executable). The application setting “Enable ActiveX server” is checked. I still get the error. Any suggestions?

    I'm not exactly sure what is going wrong, but I have some information that might help. As has been mentioned in some of the referenced posts, Windows has completely different ways of finding DLLs depending on the technology being used.
    When dealing with a COM library, LabVIEW calls CoCreateInstance - a COM method provided by Microsoft to create the object. This method looks in the registery to find the absolute path to the ActiveX DLL. Thus it doesn't matter where your DLL (versus your LV application) is located.
    HOWEVER - If that ActiveX DLL then uses other DLLs via a normal C interface, the rules change. If the ActiveX DLL just links normally (using a .LIB) with these dependent DLLs, then that ActiveX DLL relies on the PATH environment variable to find the DLLs (which typically includes the current directory - and is probably how Chris' app started working). The ActiveX DLL can also call LoadLibrary() directly, and thus can provide an absolute or relative path - raising all sorts of possibilities.
    ACTION ITEM
    Here is my suggestion. Go to www.sysinternals.com and download the File Monitor (http://www.sysinternals.com/Utilities/Filemon.html). Set the filter on the monitor to the name of the EXE (either LabVIEW.exe or your built application). Then run the app. You'll see a lot of entries, but you can then search for the various DLLs in question. Don't be surprised to see FILE_NOT_FOUND errors, you'll get that as Windows probes around the various directories trying to find the DLLs.
    You can do this in both LV and your built app and see the difference in how it searches. That should give you some idea as to what is going wrong. Please feel free to post a follow-up with more questions once you've done this.
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • Communication Error with Host and Remote Object

    Hi,
    I was executing my RMI program in a Linux Grid Network environment and the communication was no problem and the code did work.
    However I have switched to the same code to another network with linux machines and when try to execute the code I get the Error:
    java.rmi.ConnectIOException: Exception creating connection to: 136.186.14.96; nested exception is: java.net.NoRouteToHostException: No route to host
    136.186.14.96 is the place where the registry is running and Server Object is bound
    Client Locate the Registry as below
    LocateRegistry.getRegistry("136.186.14.96",1099);
    ACTUAL CODE:
    +//Pass The Remote Reference+
    +try {+
    oClient.registry = LocateRegistry.getRegistry(oClient.o_RegistryReference,oClient.i_Port);
    oClient.server = (ART_Interface) oClient.registry.lookup("Server_Obj");
    oClient.server.clientRegister(oClient.i_ClientID, oClient);
    System.out.println("SEQUENCE <1>  Client [" iID + "] Request to Register");+
    +} catch (Exception e) {+
    System.out.println("Client [" oClient.i_ClientID + "]Registration Error: " + e);+
    +}+
    Client Code Execution....
    +#ART_CLIENT <HOST> <PORT> <Client ID> <slavesPerClient>+
    java -cp /home/research/mbcooray/network/mercury/GRID/ -Djava.rmi.server.codebase=file:/home/research/mbcooray/network/mercury/GRID/ -Djava.security.policy=/home/research/mbcooray/network/mercury/GRID/Policy.txt ART_Client 136.186.14.96 1099 0 1 &

    No for multiple instances of clients communicating (Reporting) to Server, wouldn't server have a dedicated port for them?No. A remote object is exported on port X, the client forms an inbound (from the server's point of view) connection to it, an accepted-socket is created, also on X. netstat -an will show you that: X LISTENING and zero or more X ESTABLISHED. A TCP connection consists of the tuple {TCP, client-address, client-port, server-address, server-port}. Here 'server-port' is X, 'client-port' is allocated by the system. So there can exist multiple inbound connections to X, and the server-port number is always X.
    For Call backs I guess JVM gets hold of a random free portFor all outbound connections, TCP gets hold of a random free port.
    as it is running on a separate thread (I assume)Threads have nothing to do with it.
    Is this done by using socketfactory? Forget it. You don't want to do this, for the reasons I have. You probably don't need to do it, and if you do need to do it you should shoot the netadmin instead.
    Yes, the server exports the object and binds it in the local registryThat's not the same thing as exporting it on port 1099. You can specify a port number when exporting, or when calling super() if your remote objects extend UnicastRemoteObject. If you are using LocateRegistry.createRegistry(), port 1099 will get reused automatically for all subsequently-exported remote objects unless you are using a socket factory, which you aren't. If you are using a separate Registry you should specify the export port number yourself, and you can't re-use 1099.
    The background to this is that firewalls often contain rule configurations about what remote port numbers may be connected to, which corresponds to the reality that Internet services have fixed port numbers, so you can decide e.g. to allow your users to connect to HTTP servers (80,443,8080,8443) and SSH (22) but not for example Telnet (23). However by symmetry they often also allow similar rules for outbound port numbers, which are completely useless as they do not correspond to any reality whatsoever. If you have a netadmin who is enforcing outbound port number rules, just tell him to stop it.

  • Error in creating a simple table with JSON object in SAPUI5

    The error is :  SCRIPT1006: Expected ')' 
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
    <TITLE>Your Title Here</TITLE>
    <META http-equiv="X-UA-Compatible" content="IE=edge">
    <META http-equiv='cache-control' content='no-cache'>
    <META http-equiv='expires' content='0'>
    <META http-equiv='pragma' content='no-cache'>
    <script src="resources/sap-ui-core.js"
    id="sap-ui-bootstrap"
    data-sap-ui-libs="sap.ui.commons,sap.ui.table "
    data-sap-ui-theme="sap_goldreflection">
    //themes : sap_platinum, sap_goldreflection
    </script>
    <script>
    // create some local data using JSON
    var aData = [
    {Applications: "WVL BOD 9212", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/23/2014" },
    {Applications: "WVL BOD 9211", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/24/2014" },
    {Applications: "WVL BOD 3303", PercentComplete: "75", Date_Due: "6/16/2016", Testing_Due: "6/25/2014" },
    {Applications: "ETW BOD 3304", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/26/2014" },
    {Applications: "CLE BOD 1902", PercentComplete: "75", Date_Due: "6/16/2014", Testing_Due: "6/27/2014" },
    {Applications: "ISO HAZ", PercentComplete: "80", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
    {Applications: "ISO CWO", PercentComplete: "80", Date_Due: "6/01/2014", Testing_Due: "6/8/2014" },
    {Applications: "WVL 3 Stream ", PercentComplete: "60", Date_Due: "6/29/2014", Testing_Due: "" },
    {Applications: "ISO Integration", PercentComplete: "10", Date_Due: "6/1/2014", Testing_Due: "6/8/2014" },
    {Applications: "WVL 7 QM Charts", PercentComplete: "15", Date_Due: "6/15/2014", Testing_Due: "" },
    {Applications: "SCB PCO", PercentComplete: "100", Date_Due: "?", Testing_Due: "" },
    {Applications: "SCB Top Chart ", PercentComplete: "10", Date_Due: "5/20/2014", Testing_Due: "" },
    {Applications: "Project Status", PercentComplete: "25", Date_Due: "7/25/2014", Testing_Due: "" },
    {Applications: "WVL LOI", PercentComplete: "100", Date_Due: "4/20/2014", Testing_Due: ""},
    {Applications: "DSS (HTML5)", PercentComplete: "100", Date_Due: "3/31/2013", Testing_Due: ""},
    {Applications: "ETW 3304 BOD Pilot",PercentComplete: "100", Date_Due: "11/16/2013", Testing_Due: ""},
    {Applications: "HTMl 5 Table Tools",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
    {Applications: "ISO JAX",PercentComplete: "100", Date_Due: "7/31/2013", Testing_Due: ""},
    {Applications: "ISO FEN",PercentComplete: "100", Date_Due: "1/10/2014", Testing_Due: ""},
    {Applications: "WVL QM Display",PercentComplete: "100", Date_Due: "2/12/2014", Testing_Due: ""},
    // Define a table [Note: you must include the table library to make the Table class work]
    var oTable = new sap.ui.table.Table({
        title: "Projects Status", // Displayed as the heading of the table
        visibleRowCount: 4, // How much rows you want to display in the table
        selectionMode: sap.ui.table.SelectionMode.Single, //Use Singe or Multi
        navigationMode: sap.ui.table.NavigationMode.Paginator, //Paginator or Scrollbar
        fixedColumnCount: 4, // Freezes the number of columns
    enableColumnReordering:true,       // Allows you to drag and drop the column and reorder the position of the column
    width:"1024px" // width of the table
    // Use the Object defined for table to add new column into the table
        oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Applications"}), // Creates an Header with value defined for the text attribute   <<<<<<<SCRIPT1006: Expected ')'
        template: new sap.ui.commons.TextField().bindProperty("value", "Applications"), // binds the value into the text field defined using JSON
        sortProperty: "Applications",        // enables sorting on the column
        filterProperty: "Applications", // enables set filter on the column
        width: "125px" // width of the column
        oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "PercentComplete"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "PercentComplete"),
        sortProperty: "PercentComplete",
        filterProperty: "PercentComplete",
        width: "125px"
    oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Date_Due"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "Date_Due"),
        sortProperty: "Date_Due",
        filterProperty: "Date_Due",
        width: "125px"
    oTable.addColumn(new
        label: new sap.ui.commons.Label({text: "Testing_Due"}),
        template: new sap.ui.commons.TextField().bindProperty("value", "Testing_Due"),
        sortProperty: "Testing_Due",
        filterProperty: "Testing_Due",
        width: "125px"
    //Create a model and bind the table rows to this model
    var oModel = new sap.ui.model.json.JSONModel();  // created a JSON model     
    oModel.setData({modelData: aData});      // Set the data to the model using the JSON object defined already
    oTable.setModel(oModel);
    oTable.bindRows("/modelData");    // binding all the rows into the model
    //Initially sort the table
    oTable.sort(oTable.getColumns()[0]);   
    // finally place the Table into the UI
    oTable.placeAt("content1");
      </script>
    </HEAD>
    <BODY>
    <div id='content1'></div>
    </BODY>
    </HTML>

    Hi Amr
    Here is an example on how to addColumn
    Example
    -D

  • How to resolve error with code: 0xe7210001 cannot load powrprof, object:cls

    Hello there
    Doses anybody know how to resolve the error with code: 0xe7210001, message: cannot load powrprof, object:clsd-not-found;
    OR: Fingerprintsoftware error OR: THotkey.exe message window multiplicates and computer freezes
    Scanned maleware and viruses, also in safe mode, found no infection, reinstalled fingerprint driver but nothing changed.
    grateful for help!

    Hello
    > message: cannot load powrprof, object:clsd-not-found;
    In my opinion this would mean that there is a problem with Toshiba Power Saver
    What Toshiba notebook you have exactly?
    Maybe reinstalling Power Saver could help. You can find it on official Toshiba website.

  • Error in push sccm client CcmSetup failed with error code 0x80070643 ccmsetup sccm 2012

    i want to push sccm client for all computer i enable automatic side-wide client installation 
     some computer get error code 0x80070643
    ccmsetup sccm 2012 this 
    when i tray manual installation get same error and ccmsetup.exe stopped 

    Duplicate of
    https://social.technet.microsoft.com/Forums/en-US/3bac4677-46b0-4d96-b63d-a819efcc7f35/error-in-push-sccm-client-ccmsetup-failed-with-error-code-0x80070643-ccmsetup-sccm-2012?forum=configmgrgeneral
    Please don't double post.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Error when attempting to IMPORT object "TS_CHECK".

    When using in BI SAP NetWeaver 2004s (700 - SP 15) the transaction ST04old -> Detail analysis menu -> Summary report
    The following short dump occurs:
    Runtime Errors         CONNE_IMPORT_WRONG_COMP_TYPE
    Except.                CX_SY_IMPORT_MISMATCH_ERROR
    Date and Time          19.11.2008 15:14:08
    Short text
    Error when attempting to IMPORT object "TS_CHECK".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLSTD4" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_IMPORT_MISMATCH_ERROR', was
    not caught in
    procedure "DB02_ORA_FILL_TS_CHECK__CRITOB" "(FUNCTION)", nor was it propagated
    by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    When importing the object "TS_CHECK", the component no. 4 in the
    dataset has a different type from the corresponding component
    of the target object in the program "SAPLSTD4".
    The data type is "I" in the dataset, but "N" in the program.
    Missing RAISING Clause in Interface
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     1
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Trigger Location of Exception
    Program                                 SAPLSTD4
    Include                                 LSTD4U03
    Row                                     51
    Module type                             (FUNCTION)
    Module Name                             DB02_ORA_FILL_TS_CHECK__CRITOB
    Source Code Extract
    Line
    SourceCde
    21
    DATA: BEGIN OF TD110.
    22
    INCLUDE STRUCTURE TD110_STRU.
    23
    DATA: END OF TD110.
    24
    25
    CURR_TIME = SY-UZEIT.
    26
    CURR_DATE = SY-DATUM.
    27
    28
    CALL FUNCTION 'GET_DB_ORA_RELEASE'
    29
    IMPORTING
    30
    ORACLE_RELEASE = ORA_REL.
    31
    32
    IF FLAG_REFRESH = 'y'.  FLAG_REFRESH = 'Y'. ENDIF.
    33
    flag_refresh = 'Y': Es soll in jedem Fall auf die DB zugegriffen werd.
    34
    35
    CLEAR TS_CHECK. REFRESH TS_CHECK.
    36
    CLEAR CRITOBJ. REFRESH CRITOBJ.
    37
    CLEAR NR_CRIT_OBJ.
    38
    39
    IF FLAG_REFRESH <> 'Y'.
    40
    41
    Suche zunächst im Arbeitsspeicher !
    42
    CLEAR TS_CHECK_CACHE. READ TABLE TS_CHECK_CACHE.
    43
    IF NOT ( TS_CHECK_CACHE IS INITIAL ) .
    44
    TS_CHECK[] = TS_CHECK_CACHE[].
    45
    CRITOBJ[] = CRITOBJ_CACHE[].
    46
    OK_1 = 'Y'.
    47
    48
    Suche danach in 'MONI' !
    49
    ELSE.
    50
    PERFORM PREPARE_MONIKEY USING 2.
    >>>>>
    IMPORT TS_CHECK CRITOBJ FROM DATABASE MONI(DB) ID MONIKEY.
    52
    53
    IF SY-SUBRC = 0.
    54
    OK_1 = 'Y'.
    55
    TS_CHECK_CACHE[] = TS_CHECK[].
    56
    CRITOBJ_CACHE[] = CRITOBJ[].
    57
    ENDIF.
    58
    ENDIF.
    59
    60
    'Same procedure' für datetime:
    61
    IF NOT ( TD110_CACHE IS INITIAL ).
    62
    DATETIME-MONI_DATE = TD110_CACHE-DATUM.
    63
    DATETIME-MONI_TIME = TD110_CACHE-UZEIT.
    64
    ELSE.
    65
    PERFORM PREPARE_MONIKEY USING 3.
    66
    IMPORT TD110 FROM DATABASE MONI(DB) ID MONIKEY.
    67
    IF SY-SUBRC = 0.
    68
    DATETIME-MONI_DATE = TD110-DATUM.
    69
    DATETIME-MONI_TIME = TD110-UZEIT.
    70
    TD110_CACHE = TD110.
    Only related SDN post is following, but solved by changing permissions for saposcol.
    Only related SAP Note is SAP Note Number 597743 "DB02: Poor entries for critical objects list", but not applicable for current SAP version.
    For me strange is that this issue occurs on the development system, but not on the acceptance and production system.
    Thanks in advance for any assistance.
    KR
    Gidion

    Received the solution from SAP Active Global Support:
    This error occurs due a corruption in the table MONI.
    For solving this issue you need to clean the records of this table via the following path :
    1. Call transaction ST03
    2. With GOTO -> Performance database -> Content of database
    3. Push button Delete data group
    4. Enter ID DB
    5. Continue
    6. Confirm the delete
    If you wish to backup the data before deleting the entry please follow the steps in the note 1000275 "DB02: history data backup procedure".
    Regards,
    Gidion

  • Reader Hive query - Cannot deserialize the current JSON object

    Hi all,
    I am trying to run a Reader module in MLStudio with a Hive query but it fails with Error 0000: Internal error.
    In the output log I see this error:
    [ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'Newtonsoft.Json.Linq.JToken' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
    [ModuleOutput] To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
    [ModuleOutput] Path 'FileStatus.length', line 3, position 14.
    But I don't see any configuration to change any JSON settings.
    What am I doing wrong? Can anyone help me?
    Thanks,
    Csaba
    PS: Using the Hive Editor I can select from my table without any problems.

    Can you let us know if you are still encountering this error? It doesn't look the error is due to user error.

  • How to pass JSON object for a PUT operation of restful

    Hi,
    I am trying to proxy restful call through an OSB proxy and I would like to know how I can pass json object via OSB proxy to an external rest service for a PUT operation? I am using Oracle 11g.
    I have created a business service, that point to the external rest service and created a proxy service that route to the business service. I thought it automatically takes the JSON, which is the data need to be send to the rest service, but didn't work, I get 405 error in the osb access log. is that how it works, or there is something else I need to do? if so, can you please help and tell me how?
    appreciate any kind of help.
    thanks
    Marwa.

    Hi Anju,
    Most of the example I see is dealing with data being pass either as query-string or html form. We are passing JSON object from the UI and rest services are configured to take JSON. therefore, in the PUT and POST data are passed either as an attachment or part of the request object. Do you know or have an example how to do it? I don't need to any kind of transformation of data because I need JSON on both end and I am trying to use the OSB proxy in between my UI and rest services to take advantage of monitoring capability of the OSB.
    appreciate any help, my deadline is getting close and I kind stuck.
    Thanks
    M.

  • Using OLAP as a data source and create a JSON object

    Hi All,
    I have a question.
    I am working on an hospital assessment project which is being developed using AngularJs and MVC WEBAPI. We are using "HIGHCHARTS" for developing the required dashboards and charts by providing JSON objects which are developed using  MVC WEB-API
    (from normal SQL procedures). 
    Problem is raised when we are trying to build a chart using a table with around 1.2 million records. we are facing severe performance issue while generating the data set. Now, Here is my question "Can
    we generate a JSON object using an SSAS cube accessed using MVC"? If it can be done please help me out with some valuable procedure that can be done.
    Thanks In Advance.
    Regards
    Sunil Kumar 
    Please mark as answer if it is helpful. Thank You

    Hi,
    Here is another way of doing it using MDX code. I do not know whether this helps you but... Following MDX query produces the Sales Amount per Sub Category.
    SELECT {[Measures].[Sales Amount]} ON COLUMNS,
    NON EMPTY{[Product].[Subcategory].[Subcategory].MEMBERS} ON ROWS
    FROM [Adventure Works]
    Following MDX generates the Output As JSON object array.
    WITH MEMBER [Measures].[JSON Object_] AS "{""ProductSubCategories"":[" + Chr(13) +
    GENERATE
    NONEMPTY
    [Product].[Subcategory].[Subcategory].MEMBERS,
    [Measures].[Sales Amount]
    ), Space(10) + "{""SubCategoryName"":""" + [Product].[Subcategory].CurrentMember.Member_Name + """, ""SalesAmount"":""" + CStr([Measures].[Sales Amount]) + """}," + Chr(13)
    MEMBER [Measures].[JSON Object] AS LEFT([Measures].[JSON Object_], LEN([Measures].[JSON Object_]) -2) + Chr(13) + "]}"
    SELECT {[Measures].[JSON Object]} ON COLUMNS
    FROM
    SELECT {[Measures].[Sales Amount]} ON COLUMNS
    FROM [Adventure Works]
    WHERE {([Product].[Subcategory].[Subcategory].MEMBERS)}
    Following is the JSON Object OutPut of the above query.
    {"ProductSubCategories":[
    {"SubCategoryName":"Bib-Shorts", "SalesAmount":"166739.7086"},
    {"SubCategoryName":"Bike Racks", "SalesAmount":"237096.156"},
    {"SubCategoryName":"Bike Stands", "SalesAmount":"39591"},
    {"SubCategoryName":"Bottles and Cages", "SalesAmount":"64274.793600001"},
    {"SubCategoryName":"Bottom Brackets", "SalesAmount":"51826.374"},
    {"SubCategoryName":"Brakes", "SalesAmount":"66018.711"},
    {"SubCategoryName":"Caps", "SalesAmount":"51229.4461000002"},
    {"SubCategoryName":"Chains", "SalesAmount":"9377.7102"},
    {"SubCategoryName":"Cleaners", "SalesAmount":"18406.9725"},
    {"SubCategoryName":"Cranksets", "SalesAmount":"203942.6182"},
    {"SubCategoryName":"Derailleurs", "SalesAmount":"70209.4958"},
    {"SubCategoryName":"Fenders", "SalesAmount":"46619.5799999995"},
    {"SubCategoryName":"Forks", "SalesAmount":"77931.6896"},
    {"SubCategoryName":"Gloves", "SalesAmount":"242795.874200003"},
    {"SubCategoryName":"Handlebars", "SalesAmount":"170591.3209"},
    {"SubCategoryName":"Headsets", "SalesAmount":"60942.1984"},
    {"SubCategoryName":"Helmets", "SalesAmount":"484048.532299996"},
    {"SubCategoryName":"Hydration Packs", "SalesAmount":"105826.4185"},
    {"SubCategoryName":"Jerseys", "SalesAmount":"752259.388399975"},
    {"SubCategoryName":"Locks", "SalesAmount":"16225.22"},
    {"SubCategoryName":"Mountain Bikes", "SalesAmount":"36445443.9409015"},
    {"SubCategoryName":"Mountain Frames", "SalesAmount":"4713672.1469"},
    {"SubCategoryName":"Pedals", "SalesAmount":"147483.9098"},
    {"SubCategoryName":"Pumps", "SalesAmount":"13514.6873"},
    {"SubCategoryName":"Road Bikes", "SalesAmount":"43878790.9970001"},
    {"SubCategoryName":"Road Frames", "SalesAmount":"3849853.3438"},
    {"SubCategoryName":"Saddles", "SalesAmount":"55829.3882"},
    {"SubCategoryName":"Shorts", "SalesAmount":"413522.526999996"},
    {"SubCategoryName":"Socks", "SalesAmount":"29745.1280999999"},
    {"SubCategoryName":"Tights", "SalesAmount":"201833.006"},
    {"SubCategoryName":"Tires and Tubes", "SalesAmount":"246454.527600005"},
    {"SubCategoryName":"Touring Bikes", "SalesAmount":"14296291.2698"},
    {"SubCategoryName":"Touring Frames", "SalesAmount":"1642327.6862"},
    {"SubCategoryName":"Vests", "SalesAmount":"259488.3707"},
    {"SubCategoryName":"Wheels", "SalesAmount":"679070.065399999"}
    Best regards...
    Chandima Lakmal Fonseka

  • Problem with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?

    Hello,
    my problem is with importing saved .json backup file in fresh installed firefox 3.6.8? Message "unable to process the backup file", when i choosed option "Restore" from menu "organize your bookmarks" !?
    Normally that i followed all instructions from your support site, and that i tried many things, but nothing helped :( !?
    my .json file isn't corrupted cause it was saved on another partition before formatting my OS.
    Please don't tell me that my bookmarks are lost :( cause i had many important things in that bookmarks, on 100.s pages :( ....
    Thanks in advance!
    Sincerely,
    hoho33

    "
    Can you restore that JSON backup in a new profile?
    Did you make sure that it is really a JSON backup and that there is no missing or hidden other file extension?
    A JSON backup starts with: {"title":"","id":1,"dateAdded"
    A HTML backup starts with: <!DOCTYPE NETSCAPE-Bookmark-file-1>
    You can try if you can restore that JSON backup in a new profile.
    Create a new profile as a test to check if your current profile is causing the problems
    See Basic Troubleshooting: Make a new profile
    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    Please for administration of this support site, make possibility to quote someone's answer, on this way is dificult to answer somebody who wrote some suggestion!
    No, i can't restore JSON backup in new profile, even on fresh installed OS XP SP3, with fresh installation of latest version of firefox!
    MAN I TOLD YOU 10X IT'S 200 % JSON BACKUP FILE!!! I'M NOT IN IT FROM YESTERDAY, I WORK IN IT 12 YEARS!!!
    I tried restoring json backup in new profile, but nothing, i couldn't restore, cause that stupid error from screen shot which i posted again appears !
    Man i'm not totally noob i repeat 2nd time here, and normally that i know to create new profile, and that i tried that, but that didn't help!
    I can't believe that FIREFOX has not good support team, and doesn't care for yours users, this will not give me more reason to use in future firefox
    like borwser, if i don't have good support, and when i have problem like this, to loose all my very important bookmarks and passwords on them, and
    firefox support won't to help me to solve my problem!
    If somebody from firefox support team read this, i can give you Remote desktop access to my computer to try solve this problem, like other serious company
    like HP, Dell , etc. give remote desktop support to their users!
    Corel are you from firefox support team? Please don't write same suggestions, cause i know to read, and i understand well if you write once some suggestion!
    Greetzz

  • Error With Export/Print from Crystal Report Viewer

    Hello there,
    I've searched through the web and SAP discussion boards with not much luck with this issue.
    After working through this for some days now I've decided to look here for help.
    Environment:
    I have created a web Crystal Report viewer application(Developed with SBOP BI Platform 4.0 SP06 .NET SDK Runtime) that communicates with a managed Cyrstal Server 2011 SP4 (Product 14.0)
    I am able to connect and authenticate with the server, retrieve a token for communication and display reports in the Crystal report Viewer successfully.
    Problem:
    When I attempt to export, I receive the prompt to select format and pages.
    When I click export after selections most times I receive an error with the text
    Unable to cast COM object of type 'System.__ComObject' to interface type 'CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{74EEBC42-6C5D-11D3-9172-00902741EE7C}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    Other times the page simply refreshes on export.
    When I click to print, no print dialog is displayed the page always refreshes and no error is displayed.
    No Print or Export document is ever created.
    As many print/export issues seems to be related, I'm guessing this two issues are as well.
    Notes:
    I am utilizing the ReportClientDocument model
    I am storing this in session to use as the crystal report viewer report source on postbacks
    I am assigning a subset of export formats to the crystal report viewer
    I am setting particular parameters as well on the report source
    At this point I would appreciate every assistance I may receive on this issue
    Thanks in advance,
    Below is the pertinent code
    Code:
    <aspx>
       <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
       AutoDataBind="true" EnableDatabaseLogonPrompt="False"
       BestFitPage="False" ReuseParameterValuesOnRefresh="True"
      CssClass="reportFrame" Height="1000px" Width="1100px" EnableDrillDown="False"
      ToolPanelView="None" PrintMode="Pdf"/>
    <Codebehind>
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using CrystalDecisions.Enterprise;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.Shared;
    namespace ClassicInternalReportPage
        public partial class Reports : System.Web.UI.Page
            protected override void OnInit(EventArgs e)
                base.OnInit(e);
                if (!String.IsNullOrEmpty(Convert.ToString(Session["LogonToken"])) && !IsPostBack)
                    SessionMgr sessionMgr = new SessionMgr();
                    EnterpriseSession enterpriseSession = sessionMgr.LogonWithToken(Session["LogonToken"].ToString());
                    EnterpriseService reportService = enterpriseSession.GetService("RASReportFactory");
                    InfoStore infoStore = new InfoStore(enterpriseSession.GetService("InfoStore"));
                    if (reportService != null)
                        string queryString = String.Format("Select SI_ID, SI_NAME, SI_PARENTID From CI_INFOOBJECTS "
                           + "Where SI_PROGID='CrystalEnterprise.Report' "
                           + "And SI_ID = {0} "
                           + "And SI_INSTANCE = 0", Request.QueryString["rId"]);
                        InfoObjects infoObjects = infoStore.Query(queryString);
                        ReportAppFactory reportFactory = (ReportAppFactory)reportService.Interface;
                        if (infoObjects != null && infoObjects.Count > 0)
                            ISCDReportClientDocument reportSource = reportFactory.OpenDocument(infoObjects[1].ID, 0);
                            Session["ReportClDocument"] = AssignReportParameters(reportSource) ? reportSource : null;
                            CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                            CrystalReportViewer1.DataBind();
                //Viewer options
                // Don't enable prompting for Live and Custom
                CrystalReportViewer1.EnableParameterPrompt = !(Request.QueryString["t"] == "1" || Request.QueryString["t"] == "4");
                CrystalReportViewer1.HasToggleParameterPanelButton = CrystalReportViewer1.EnableParameterPrompt;
                CrystalReportViewer1.AllowedExportFormats = (int)(ViewerExportFormats.PdfFormat | ViewerExportFormats.ExcelFormat | ViewerExportFormats.XLSXFormat | ViewerExportFormats.CsvFormat);
            protected void Page_Load(object sender, EventArgs e)
                if (IsPostBack && CrystalReportViewer1.ReportSource == null)
                    CrystalReportViewer1.ReportSource = Session["ReportClDocument"];
                    CrystalReportViewer1.DataBind();
            private bool AssignReportParameters(ISCDReportClientDocument reportSource)
                bool success = true;
                if (Request.QueryString["t"] == "1" || Request.QueryString["t"] == "2" || Request.QueryString["t"] == "4" )
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "STORE", Session["storeParam"]);
                    if (Request.QueryString["t"] == "2")
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "FromDate", Request.QueryString["fromdate"]);
                        reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "ToDate", Request.QueryString["todate"]);
                else if (Request.QueryString["t"] == "3")
                    reportSource.DataDefController.ParameterFieldController.SetCurrentValue("", "SKU", Request.QueryString["sku"]);
                else
                    //Unknown report type alert
                    success = false;
                return success;

    Thanks Don for your response,
    I'm new to the SCN spaces and my content has been moved a couple of times already.
    In response to your questions
    The runtime is installed on the web application server, if by that you mean the machine hosting the created .NET SDK application.
    My question was whether it was also required on the Crystal Server 2011 (I.E. the main enterprise server with CMS and Report management and I guess RAS and all that). I figured this would remain untouched and queries would simply be made against it to retrieve/view reports e.t.c
    If install of the SDK on Crystal Server 2011 is indeed required should I expect any interruption to any of the core services after a restart. I.E. I'm hoping that none of the SDK objects would interfere with the existing server objects (in SAP Business Objects)Reason I ask is I note that much of the SDK install directories are similar to the existing Crystal Enterprise Server 2011 (Product 14.0.0)
    Is this temp folder to be manually created/configured or is it created by the application automatically to perform tasks. Or are you referring to the default C:\Windows\Temp directory and so saying that the application would try to use this for print and export tasks?Once I'm sure which I'd give the app pool user permission
    Printing is to be client side but I figured by default (with the Crystal Report Viewer) it would simply pool and print from the user's printer. This is how it works with the previously used URL reporting approach (viewrpt.cwr). Therefore a user can print the document from wherever they are with their own printer.We don't intend on printing from the server machine, but are you suggesting that a printer must be installed on server (which one web or enterprise server) for any client side printing to work.
    App pool is running in 32 bit mode
    Initially didn't get anything useful from fiddler but I'd try and look closer on your suggestion.
    It's also possible that some of my questions are a misunderstanding of APP vs RAS vs WEB, so please feel free to clarify. Currently I see the Web server as simply the created .NET SDK Application and RAS (Crystal Server 2011 e.t.c) as the existing fully established Application server which I simply pool for information.
    Thank you for your patience and advice,

  • After upgrade to 4.1 from 3.2, admin logon page error with "done error load

    Hello all,
    Just upgraded 3.2 to 4.1. ran @apexins.sql sysaux sysaux temp /i/. Installation was successful and upgrade completed with no errors. When trying to log on to admin page, url changes to admin workarea but with IE we get "done error loading pages" and logon screen doesn't appear. All objects are compiled, accounts are unlocked and valid. Same thing happens when attempting to logon to the applicaiton. Any help would be appreciated. Open SR with oracle support, but no reply since yesterday.
    inital url: https://xxxxxxxx.xxx.com:8443/pls/apex/apex_admin
    ending url: https://xxxxxxxx.xxx.com:8443/pls/apex/f?p=4550:10:903647939084101
    "done error loading pages"
    Edited by: user12128153 on May 18, 2012 2:21 AM

    Hi user12128153 (a real name would be nice),
    a few questions for you.
    Do you experience the same errors with firefox? If so install firebug (if you don't have it already) and see if the errors have to do with missing css etc.
    What application server do you use, OHS/Apex Listener etc?
    Kofi

  • HELP! Run-time Error with this code.

    I'm having problem with the code below. But if I were to remove the writer class and instances of it (writeman), then there are no problems. Can some1 pls tell me why the writer class is giving problems. Btw, no compilation errors, only errors at run-time..........
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.MouseListener;
    import java.awt.event.*;
    public class HelloWorld extends Applet
    public static String MyString = new String("Hello");
    Graphics f;
    public void init()
    Changer Changer1 = new Changer();
    writer writeman = new writer();
    setBackground(Color.red);
    setForeground(Color.green);
    addMouseListener(Changer1);
    writeman.paintit(f);
    public void paint(Graphics g)
    g.drawString(MyString,10 ,10);
    public class Changer implements MouseListener
    public void mouseEntered(MouseEvent e)
    setBackground(Color.blue);
    MyString = "HI";
    paint(f);
    repaint();
    public void mouseExited(MouseEvent e)
    setBackground(Color.red);
    repaint();
    public void mousePressed(MouseEvent e){};
    public void mouseReleased(MouseEvent e){};
    public void mouseClicked(MouseEvent e){};
    public class writer
    public void paintit(Graphics brush)
    brush.drawString("can u see me", 20, 20);

    I assume the exception you are getting is a NullPointerException...
    When you applet is loaded, it is initialised with a call to init... the following will then occur...
    HelloWorld.init()
    writeman.paintit(f)
    // f has not been initialised, so is null
    brush.drawString("can u see me", 20, 20)
    // brush == f == null, accessing a null object causes a NullPointerException!
    The simplest way to rectify this is to not maintain your own reference to the Graphics object. Move the writer.paintit(f) method to the HelloWorld.paint(g) method, and pass in the given Graphics object. Also, change the paint(f) call in Changer to repaint(), which will cause the paint method to be called with a valid Graphics object - which will then be passed correctly to writer.
    Hope this helps,
    -Troy

  • Error while creating Vacancy requisition object (NB) after upgrading EHP4

    Hi All,
    We had alreay E-Rec system with EHP2 and using last 1 year. Now based on Client requirement, we have upgrdaed to EHP4. After completing EHP4 upgradation, we are getting error while creating vacancy requisition object after all level of approval.
    Can any body help how to resolve this issue?
    Thanks in advance.
    Regards,
    Sreelatha

    Hi
    Hope SAP Note 1241014 will be useful to you.
    Best Regards
    Reddy

Maybe you are looking for

  • What is the best way to create fields at runtime in the database using JPA?

    We use Oracle ADF platform to build web applications and extend to webcenter portal application. The current expectation from Java developers team is to change our development approach/method, so that adding some fields in the application should not

  • Conditional hyperlinks to cells in Numbers spreadsheet

    I'm working on a project that consists of multiple spreadsheets for Excel, LibreOffice Calc and Numbers. The ones for Calc and Numbers are based on the Excel one because I have the biggest experience in it. So one of the main functions that I use is

  • Error 0xE8000001, why can't I synch my iPhone 4s?

    I used to synch my Iphone both wirless and via USB, with no problem at all, but this past week I've been trying to transfer some apps, which sometimes doesn't work wirelessly and I keep getting this error, I plug it in and it starts going crazy like

  • Local variable accessed within inner class

    Hey everybody, My program keeps telling me that it wont work because one of my methods is calling a local variable inside an inner class. Does anyone know what this means and how to fix it? Heres the code: public class SliderExample extends JPanel{ i

  • Applying PSU - catbundle.sql and recompile view

    I am planning to apply the 11.1.0.7.12 PSU on a 11.1.0.7.0 ORACLE_HOME. There is already an instance running on this ORACLE_HOME and I am planning to create an additional/new instance on it. For the existing instance, I understand that I need to run