locked
Not enough storage is available to complete this operation javascript error RRS feed

  • Question

  • Hello Everyone !!!

    In my CRM application there are 30000 account present. for each account using JavaScript Ajax call I am generating the geocode.  

    Ajax URL is like below https://dev.virtualearth.net/REST/v1/Locations?q=addressdetails&output=json&key=mybingmapkey&jsonp=?

    Ajax call is working fine and getting the geocode for that address. However it is appending response script in page after each Ajax call . Below is my sample code. this script contains the response from my ajax call.

     $.ajax({ async: false,
            url: url,
            dataType: 'json',
            cache: false, 
            success: function (result) {
                if (result.resourceSets.length > 0 && result.resourceSets[0].estimatedTotal >= 1)
                {
                      \\code for processing further) 
                }
                  
            },
            error: ErrorHandler
        });

    There are lots of records so for each Ajax call Loction script is getting added in my page. After processing around 10000 records  I am getting JavaScript error in my code while retrieving the account Not enough storage is available to complete this operation.

    How to remove this injected script after each Ajax call. Please guide.

     

     

     

     

     

     

     

     

     

    Tuesday, June 18, 2013 9:12 AM