How to solve the "procedure has not been executed or has no result" error
Recently we are getting the "procedure has not been executed or has no result" error while executing Procedures and Dynamic SQL queries in our PowerBuilder 12.5 Application. Can anyone diagnose the cause of such error messages? Better still can someone help us in finding the resolution for this issue?
Thanks in advance!
The Database is SQL Server. Here follows the error details:
ERROR Code: -1
ERROR Text: procedure has not been executed or has no result
Row Count: 0
Terminating application-
I am not even sure if the error is from Database or from Powerbuilder itself. The code is a simple call to a procedure:
DECLARE setRequestStatus PROCEDURE FOR sRequestStatus
// parameters here
USING SQLCA;
EXECUTE setRequestStatus;
Similar Messages
-
I have tried to update the software on my ipad 2, 16GB, through itunes, but the update has not been completed and has frozen, what should I do?
Hey there alaili55,
Welcome to Apple Support Communities.
It sounds like you ran into an issue updating your iPad 2 with iTunes on your computer. Take a look at the article linked below and try the troubleshooting tips that it provides, which will resolve most issues updating iOS devices.
Resolve iOS update and restore errors in iTunes - Apple Support
Cheers,
-Jason -
Hi sir,
when I have try to fetch the value of project start date and finish date and some other field value , I have recived error message like The property or field 'StartDate' has not been initialized. It has not been requested or the request has not been
executed. It may need to be explicitly requested.
I have used client context for project server 2013.
I have also load and execute query.but fail to resolve it Please suggest me and provide solution.
vijayHi,
If you use the Include<TSource> Method in the Load method, we will retrieve only the ids of items in this query, so
the listItems.ListItemCollectionPosition will not be initialized.
You can use the <ViewFields> tag in CAML Query to specify the field values to return with each item instead.
Best regards
Patrick Liang
TechNet Community Support -
hi sir,
I have try to update task assignments using csom model.
erro message ::The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested
foreach (PublishedAssignment assignItem in item.Assignments)
Guid id =assignItem.Id;
cc.Load(assignItem, a => a.Resource,a=>a.PercentWorkComplete);
cc.ExecuteQuery();
EnterpriseResource er = cc.EnterpriseResources.GetByGuid(assignItem.Resource.Id);
cc.Load(item.Assignments,c=>c.Where(uu=>uu.Id==id).IncludeWithDefaultProperties( l=> l.Task.Assignments,l=>l.Work));
cc.ExecuteQuery();
er.Assignments.Single(ll => ll.Id == id).Work = "9";
cc.Load(er);
cc.ExecuteQuery();
StatusAssignmentCollection sac = er.Assignments;
sac.Update();
sac.SubmitAllStatusUpdates("hello vijay");
vijayHi Vijay,
You didn't load the 'er.Assignments' collection.
Make sure it's loaded and it should work
Hope this helps -
Hi,
i have a simple javascript which throws me the following error:
SCRIPT5022: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
I am using it under O365 inside an Content Editor WebPart. I have a list called "myTestList" with several items and one column called "points". I want to retrieve only the items which
i have created and sum the points to show it inside a div. This is my code.
<div id="myPoints" style="font-size: 50px;">0</div>
<script language="javascript" type="text/javascript">
SP.SOD.executeOrDelayUntilScriptLoaded(retrieveMyItems, "sp.js");
function retrieveMyItems() {
var clientContext = new SP.ClientContext.get_current();
var oList = clientContext.get_web().get_lists().getByTitle('myTestList');
var camlQuery = new SP.CamlQuery();
camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Author' /><Value Type='Integer'><UserID /></Value></Eq></Where></Query></View>");
this.collListItem = oList.getItems(camlQuery);
clientContext.load(collListItem, 'Include(points)');
clientContext.executeQueryAsync(Function.createDelegate(this, this.onMyItemsQuerySucceeded), Function.createDelegate(this, this.onMyItemsQueryFailed));
function onMyItemsQuerySucceeded(sender, args) {
var listItemInfo = 0;
var listItemEnumerator = collListItem.getEnumerator();
while (listItemEnumerator.moveNext()) {
var oListItem = listItemEnumerator.get_current();
listItemInfo = listItemInfo + parseInt(oListItem.get_item('points'));
var div = document.getElementById("myPoints");
div.innerHTML = listItemInfo;
function onMyItemsQueryFailed(sender, args) {
alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
</script>
Whats wrong here?
Best Regards
Bog
Developers Field Notes | www.bog1.deSolved!
The set_viewXml line must be:
camlQuery.set_viewXml("<View><Query><Where><Eq><FieldRef Name='Author' /><Value Type='Integer'><UserID Type='Integer'/></Value></Eq></Query></Where></View>");
Best Regards
Bog
Developers Field Notes | www.bog1.de -
Hi sir,
When I have get the value of project owner the error is occured
The property or field 'LoginName' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
vijayHi Vijay,
The owner details are not loaded by default when you load all projects.
You have to make sure the details of the project owner are loaded before you can access them:
foreach (PublishedProject pubProj in projContext.Projects){
User owner = pubProj.Owner;
projContext.Load(owner);
projContext.ExecuteQuery();
Console.WriteLine(owner.LoginName); -
Access has not been executed due to previous access
hi all,
when i am creating sales order(conditions tab) automatically tax condition record is not fetching. When i go and analysis button it is showing like -Access has not been executed due to previous access.
MeeraHi,
It means that the condition technique found the price on the basis of previous access of table. So there must be more than one table in the Access Seq. and the record is maintained for the first table.
please check it out
balu -
My iPad just went black and will not start. It has not been dropped, nor has it been wet. I am very careful with it. What do I do now?
Plug it into an electrical outlet let it sit a few minutes. Then try performing a hard reset, by holding the home button and the lock buttons at the same time until an apple logo appears.
-
On Word I was copying a sentence, but the command has not executed and the timing cursor has been circling for over 10 minutes. How do I get out of this?
You probably will need to force-quit Word. Go to the Apple menu, choose "Force Quit", locate and select Word in the list of applications and click the "Force Quit" button. You will of course most likely lose any changes you made to the document since you last saved it (or it was auto-saved, if you have that option turned on in Word).
Regards. -
where can I find the credit of £25 which I redeemed the other day.
I downloaded some music and film from iTunes yesterday but my card has been used and not my iTunes credit?where can I find the credit of £25 which I redeemed the other day.
I downloaded some music and film from iTunes yesterday but my card has been used and not my iTunes credit? -
After installed February
2015 CU for SharePoint 2013 appear error when click on 'Shared
With' in list item.
The screenshots see here: 1 and 2
Is this a bug?Yes, this is a known bug introduced with the November 2014 CU. There is no solution as of yet.
Trevor Seward
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Adding custom webpart throwing Javascript error -The collection has not been initialized.
Hi,
I created a Javascript CSOM visual webpart and added to page. In the IE developer tools console, I am getting an error as below:
"SCRIPT5022: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
SP.Runtime.js, line 2 character 35853".
My code is as below:
<script type="text/javascript" src="../../_layouts/15/MicrosoftAjax.js"></script>
<script type="text/javascript" src="../../_layouts/15/SP.Runtime.js"></script>
<script type="text/javascript" src="../_layouts/15/sp.js"></script>
<script type="text/javascript" src="../_layouts/15/sp.ui.controls.js"></script>
<script type="text/javascript" src="/_layouts/15/test/Scripts/jquery-1.8.2.js"></script>
<script type="text/javascript" src="/_layouts/15/test/Scripts/Rotator.js"></script>
<script type="text/javascript" src="/_layouts/15/test/Scripts/bjqs-1.3.js"></script>
<link rel="stylesheet" type="text/css" href="/_layouts/15/test/CSS/bjqs.css" />
<SharePoint:FormDigest ID="FormDigestRotator" runat="server">
</SharePoint:FormDigest>
<div id="banner-fade">
<ul id="carousel" class="bjqs">
</ul>
</div>
// In Rotator.js
$(document).ready(function () {
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadConfigData);
function loadConfigData() {
var clientcontext = new SP.ClientContext.get_current();
var oweb = clientcontext.get_site().get_rootWeb();
var olist = oweb.get_lists().getByTitle("LibName");
var configquery = SP.CamlQuery.createAllItemsQuery();
Allpictures = olist.getItems(configquery);
clientcontext.load(Allpictures, 'Include(Title,ImgSubURL)');
clientcontext.executeQueryAsync(Function.createDelegate(this, this.Configsuccess), Function.createDelegate(this, this.Configfailed));
How to fix this javascript error? Due to this, the "Check-in" option is not working.
Update: i believe the error is with "executeQueryAsync". How to fix this?
ThanksHi,
I suggest you create a simple demo first, once it works, then add other customization into your project gradually. It will be easier to composite the correct code.
Please apply the code below in your project for a try:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("callCSOM");
var clientContext;
var website;
var str="";
// Make sure the SharePoint script file 'sp.js' is loaded before your
// code runs.
function callCSOM()
//alert("call");
$("#Button1").click(function()
ExecuteOrDelayUntilScriptLoaded(sharePointReady, "sp.js");
// Create an instance of the current context.
function sharePointReady() {
clientContext = SP.ClientContext.get_current();
website = clientContext.get_web();
clientContext.load(website);
clientContext.executeQueryAsync(onRequestSucceeded, onRequestFailed);
function onRequestSucceeded() {
str="website.get_title(): "+website.get_title();
alert(str);
function onRequestFailed(sender, args) {
alert('Error: ' + args.get_message());
</script>
<input id="Button1" type="button" value="Run Code"/>
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
"The property or field has not been initialized" Error, when debbuging app
Hello,
I'm following the instructions of a dev book but I get the following error message when debugging the app.
"The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested."
The code:
var collListItems;
$(document).ready(function () {
getConfigValues();
function getConfigValues() {
var context = SP.ClientContext.get_current();
var configList = context.get_web().get_lists().getByTitle('Configuration Values');
var camlQuery = new SP.CamlQuery();
collListItems = configList.getItems(camlQuery);
context.load(collListItems);
context.executeQueryAsync(onGetConfigValuesSuccess, onGetConfigValuesFail);
function onGetConfigValuesSuccess() {
var OrgLogoUrl;
var OrgName;
var listItemEnumerator = collListItems.getEnumerator();
while (listItemEnumerator.moveNext()) {
var oListItem = listItemEnumerator.get_current();
var current = oListItem.get_item('Title');
switch (current) {
case 'OrganizationName':
OrgName = oListItem.get_item('Value');
break;
case 'OrganizationLogoUrl':
OrgLogoUrl = oListItem.get_item('Value');
break;
if (OrgName && OrgName.length > 0) {
$('#DeltaPlaceHolderPageTitleInTitleArea').html(OrgName);
$('.ms-siteicon-img').attr('title', OrgName);
if (OrgLogoUrl && OrgLogoUrl.length > 0)
$('.ms-siteicon-img').attr('src', OrgLogoUrl);
else
$('.ms-siteicon-img').attr('src', '../Images/AppLogo.png');
function onGetConfigValuesFail(sender, args) {
alert('Failed to get the Configuration Values. Error:' + args.get_message());
What it have to do is to replace the Title and Site logo, using the "Title" and "Value" fields of the "Configuration Values" list.
My dev environment: SharePoint online, Azure, VS2013 Ultimate (trial)
I've tried to reach the author of the book but it's being 4 days and no response, maybe somebody here can help me.
Thanks in advance.
JimmyJaydeep, I don't get the values, see the HTML code below.
<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%-- The markup and script in the following Content element will be placed in the <head> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
<script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.runtime.js"></script>
<script type="text/javascript" src="/_layouts/15/sp.js"></script>
<!-- Add your CSS styles to the following file -->
<link rel="Stylesheet" type="text/css" href="../Content/App.css" />
<!-- Add your JavaScript to the following file -->
<script type="text/javascript" src="../Scripts/App.js"></script>
</asp:Content>
<%-- The markup in the following Content element will be placed in the TitleArea of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
KA Online Klas
</asp:Content>
<%-- The markup and script in the following Content element will be placed in the <body> of the page --%>
<asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server">
<div id="menu">
<ul>
<li><a href="../Lists/Configuration Values">Site Configuration</a></li>
<li><a href="../Lists/Site Assets">Site Assets</a></li>
</ul>
</div>
</asp:Content> -
SLD system has not been assigned ? :-(
Hi Guys,
This is an easy question for SRM gurus =)
I need to send the PO in format XML to the vendors (using XI). When I try to send a PO I can see this error message in "Issue Purchase Order" option menu.
Information Date: 13.06.2006 Time: 10:19:38
Information Processing BBP_PO_SEND_XML Is Started
Error An SLD system has not been assigned to logical system SRDCLNT120
Error Action could not be successfully executed
Could anybody give me any help about this ? I have searched in sdn and oss without success =(
Thanks for your help !
Regards,
DiegoHi Christophe, my feedback:
A) In "Define backend system", I entered the XI alias name defined in tx: SLDAPICUST
B) Now the process doesnt throw any error in SRM, but the PO document is not arriving to XI neither =(
My questions are:
1. Should I put that alias in that field ? Or should I put the SLD server name? Should be an RFC conn name to XI?
2. Should I do anything additional to point 1? For example: in tx. SLBBP_RFCDEST the PO scenario is directed to "BBP_XML_PO". Should I made a change on this ?
Thanks for your help !
Best regrads,
Diego -
Error
When I launch Safari on my MacBook Pro
Safari 6.0 (v8536.25) has not been tested with the plugin SplashId.bundle (null) (v6.0.4(. As a precaution, it has not been loaded. Please contact the plugin developer for further information.
I am getting this message when I open Safari. How do I make it go away?
Thanks, Ed WilliamsTo Remove plug-in
1.) Open the SplashID desktop app
2.) Navigate from Menu bar "File" -> "Plugin for Safari" -> "Uninstall".
I could not find it in either Library/Internet Plug-ins nor ~/Library/Internet Plug-ins as others have suggested.
Cheers!
Maybe you are looking for
-
Product upload to R/3. (field z mapping to field standar)
Hi experts, I have a problem and i dont know how to solve it. I am uploading products from CRM to R/3. First I do a job calling a report based in a standar function: COM_PRODUCT_API_UPLOAD. This works perfectly, all the products i am uploading I can
-
hi sd gurus.. what r the tables used in creditmanagement......... and how can we see these tables in each area of Sd? regards vivek
-
Illustrator CS4 install error: Color EU settings
Hi everyone, I've been trying to install Illustrator CS4 for the past few days, I have updated my DirectX and all my VGA drivers in hopes of getting it to work. Every time I try, I end up with this error message: "Error: Error 1603. Error 1714.The ol
-
when i try to correct and reset the ID it sends the new pasword to the missspelled email address.
-
Patches of 4.7 and 6.0
hi kings I want to patches of 4.7 to 6.0. please let me know the upgarde patches of the same regards sri