GetRatingAverageOnUrl function of socialdataservice.asmx return an error if current user haven't rated that item

I have an issue while reading rating data from a SharePoint list using
socialdataservice.asmx. In particular I am trying to get average rating from a remote site using GetRatingAverageOnUrl() method. The issue is, while trying to use this method it return average rating for a particular list item only if current
user have previously rated that particular item  else it shows an “object reference not set to instance of an object” error.
While digging in deeper I found that this is actually the case with almost all the rating related functions of
socialdataservice web service (viz. CountRatingsOnUrl, GetRatingsOnUrl, GetRatingAverageOnUrl etc.)
Girish Kumar p Meena
SharePoint Developer || Blog

Having similar issues. Ever find out what is going on with GetRatingAverageOnUrl?

Similar Messages

  • Error msg: Current user does not have privileges to perform product Activation

    I am running Adobe Photoshop CS 8.0 on Windows Home Vista platform.
    I keep getting this error message when I try to open Photoshop:
    Current user does not have privileges to perform product activation. Run this application from a user account with administrative privileges or contact your system administrator.
    I am the only owner & user of this software. I have re-installed the SW once (full install), and the error message went away for a while.
    Now it's come back.
    What do I do now?

    2 options:
    Either disable UAC (User Access Controls) or run the application with Administrator rights.

  • Error when other user want to change list item with rejected status

    Hi All,
    I have list with Content Approval option.
    One of users edits one of the items, which are being rejected. After that, other user wants to edit same item. Second user doesn't see rejected changes from other users, he changes some field in this item and want to save changes.
    Unfortunately, SP shows error and doesn't save changes. Content Approval is still Rejected.
    Why SP doesn't allow other users to change this item ?

    Hi,
    According to your post, my understanding is that second user get an error and can’t save changes when one user and the second user are editing the same item in a list at the same time.
    I do this test in my environment, and the result is the same as you get.
    In SharePoint, the system enables you and your colleagues to view the same item in a list at the same time.  
    However, it’s by design that the system can’t allow both you and your colleagues to save the their corresponding changes when they are editing the same item in a list at the same time whether this list enable the Content Approval option, the Content Approval
    status of the current item or not.
    If one user first click on the “Save” button to save the modified item, he can save the changes back, and all the late users will get the error and can’t save their modified item when they click on the “Save” button.
    For more information, you can refer to:
    http://blog.ciber.com/2014/say-goodbye-to-save-conflicts-co-authoring-and-real-time-communication-for-sharepoint-forms-with-signalr/
    http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
    Best Regards,
    Yumi Fu

  • Thunderbird keeps returning an error "no such user" when I try to send from some email addresses even though I know that is false.

    emails will not send from @protranscript.net domain addresses, even though they receive just fine. The program keeps saying that the server says there is no such user, even when I try and email myself!

    "An error occurred while sending mail. The mail server responded: <[email protected]> No such user here. Please check the message recipient [email protected] and try again." I know for a fact that email exists because it is the one your reply came to, lol.

  • Tabular: Row filter on USERNAME() still returns all rows if current user is NOT matched in table??

    I have a table (basically the same setup in the various dynamic security in tabular blogs) where the table contains WindowsUserName stored as domain\username.
    I have a Row Filter on the table: SecurityTable has a filter of =SecurityTable[WindowsUserName]=USERNAME()
    When a user connects to the tabular model AND their name is matched in one of the rows they return JUST the rows with their match.  Which makes sense.
    However, if a user connects and their Windows user name is NOT in a row in that table....they return ALL rows???
    That makes no sense to me.
    It behaves almost as if it is doing a check and if it DOESN'T find a match it just returns all values.
    What am I missing?
    --------------EDIT-----------
    Found the issue: that use was (unknown to me) a domain admin, so... admin rights trump all :)

    Resolved:
    User had admin rights, didn't realize this at the time.

  • How to return an error code to DOS at the end of a java batch

    Hi,
    I have a batch file which launch my java program.
    At the end of the program, I would like to give my batch file an error code.
    Do you know how to do that?
    Does the main function is able to return an error code?
    Does the bat file is able to recover it?
    Thanks in advance for your help!
    Nicolas

    Hi,
    No, the variable ERRORLEVEL will hold the status code of the "command" last executed. E.g.
    java -cp "%CLASSPATH%" tets.BatchRetour
    IF ERRORLEVEL 1 goto HandleError
    For more info see
    http://home.att.net/~gobruen/progs/dos_batch/dos_batch.html
    /Kaj

  • ASMX web service and The remote server returned an error: (500) Internal Server Error issue

    i have developed a very small web service and which is hosted along with our web site. our webservice url is
    http://www.bba-reman.com/Search/SearchDataIndex.asmx
    web service code
    namespace WebSearchIndex
    #region SearchDataIndex
    /// <summary>
    /// SearchDataIndex is web service which will call function exist in another library for part data indexing
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class SearchDataIndex : System.Web.Services.WebService
    //public AuthHeader ServiceAuth=null;
    public class AuthHeader : SoapHeader
    public string Username;
    public string Password;
    #region StartIndex
    /// <summary>
    /// this function will invoke CreateIndex function of SiteSearch module to reindex the data
    /// </summary>
    [WebMethod]
    public string StartIndex(AuthHeader auth)
    string strRetVal = "";
    if (auth.Username == "Admin" && auth.Password == "Admin")
    strRetVal = SiteSearch.CreateIndex(false);
    else
    SoapException se = new SoapException("Failed : Invalid credentials",
    SoapException.ClientFaultCode,Context.Request.Url.AbsoluteUri,new Exception("Invalid credentials"));
    throw se;
    return strRetVal;
    #endregion
    #endregion
    when i was calling that web service from my win apps using
    HttpWebRequest
    class then getting error The remote server returned an error: (500) Internal Server Error
    here is code of my win apps from where i am calling web service
    string strXml = "";
    strXml = "<s:Envelope xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'><s:Body><StartIndex xmlns='http://tempuri.org/' xmlns:i='http://www.w3.org/2001/XMLSchema-instance'><auth><Username>joy</Username><Password>joy</Password></auth></StartIndex></s:Body></s:Envelope>";
    string url = "http://www.bba-reman.com/Search/SearchDataIndex.asmx";
    HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
    req.Method = "POST";
    req.ContentType = "text/xml";
    req.KeepAlive = false;
    req.ContentLength = strXml.Length;
    StreamWriter streamOut = new StreamWriter(req.GetRequestStream(), System.Text.Encoding.ASCII);
    streamOut.Write(strXml);
    streamOut.Close();
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    string strResponse = streamIn.ReadToEnd();
    streamIn.Close();
    i am just not being able to understand when this line execute
    StreamReader streamIn = new StreamReader(req.GetResponse().GetResponseStream());
    then getting the error The remote server returned an error: (500) Internal Server Error
    not being able to understand where i made the mistake. mistake is in the code of web service end or in calling code?
    help me to fix this issue. thanks

    Hi Mou,
    I just tried your win app code about calling web service, but failed. I got the 500 error after I called your service:
    The error message I quoted from Fiddler:
    <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>System.Web.Services.Protocols.SoapException: Failed : Invalid credentials ---&gt; System.Exception: Invalid credentials
    --- End of inner exception stack trace ---
    at BBAReman.WebSearchIndex.SearchDataIndex.StartIndex(AuthHeader auth)</faultstring><faultactor>http://www.bba-reman.com/Search/SearchDataIndex.asmx</faultactor><detail /></soap:Fault></soap:Body></soap:Envelope>
    I am not totally sure that error occurred by the authentication. But I suggest you can try to add this service into your project using this method below:
    1.right click the Reference and select Add Service Reference
    2.input your service link and click "Go"
    And you can use this service as the following:
    private async void callService()
    ServiceReference1.SearchDataIndexSoapClient client =new ServiceReference1.SearchDataIndexSoapClient();
    var Str= await client.StartIndexAsync(new ServiceReference1.AuthHeader { Username = "Admin", Password = "Admin" });
    Please try it.
    Regards,
    Will
    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.
    Click
    HERE to participate the survey.

  • The value returned from the load function is not of type numeric  errors after migration to Coldfusion 11

    I am currently testing our website with CF11. It is currently working with CF8 however after migrating it to a new server running CF11 I have encountered the following error.
    The value returned from the load function is not of type numeric.
    The error occurred in
    D:/Applications/CFusion/CustomTags/nec/com/objects/address.cfc: line 263
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/contact.cfc: line 331
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 510
    Called from D:/Applications/CFusion/CustomTags/nec/com/objects/user.cfc: line 1675
    Called from D:/website/NECPhase2/action.validate.cfm: line 54
    261 : <cfif isNumeric(get.idCountry)>
    262 : <cfset rc = this.objCountry.setID(get.idCountry)>
    263 : <cfset rc = this.objCountry.load()>
    264 : </cfif>
    265 : <cfset this.sPostcode = get.sPostcode>
    Have there been any changes between CF8 and CF11 that could  cause this error?
    Does anyone have ideas?

    This is the code in file object file country.cfc (nec.com.objects.country):
    <cfcomponent displayname="Country object" hint="This is a Country object, it allows you to access and set values in the Country.">
    <!---
    // Construct this object
    --->
    <cfset this.objFunctions = CreateObject( 'component', 'nec.com.system.functions' )>
    <cfscript>
      this.idCountryID = 0;
      this.sCountryName = "";
      this.sISOCode = "";
      this.sDHLCode = "";
      this.iErrorID = "";
    </cfscript>
    <!---
    // The following functions are the setters and getters. offering us a better way to get
    // at the contents of the object
    --->
    <!---
    // Getters
    --->
    <cffunction name="getID" displayname="Get ID" returntype="numeric" output="false" hint="This returns the ID of the current item.">
      <cfreturn this.idCountryID>
    </cffunction>
    <cffunction name="getsCountryName" displayname="Get sCountryName" returntype="string" output="false" hint="This gets the sCountryName value of this item.">
      <cfreturn this.sCountryName>
    </cffunction>
    <cffunction name="getsISOCode" displayname="Get sISOCode" returntype="string" output="false" hint="This gets the sISOCode value of this item.">
      <cfreturn this.sISOCode>
    </cffunction>
    <cffunction name="getsDHLCode" displayname="Get sDHLCode" returntype="string" output="false" hint="This gets the sDHLCode value of this item.">
      <cfreturn this.sDHLCode>
    </cffunction>
    <cffunction name="iError" displayname="Get iError" returntype="numeric" output="false" hint="This returns the iError of the current item.">
      <cfreturn this.iError>
    </cffunction>
    <!---
    // Setters
    --->
    <cffunction name="setID" displayname="Set ID" returntype="boolean" output="false" hint="This sets the ID value of this item.">
      <cfargument name="idCountryID" required="true" type="numeric" displayname="ID" hint="The ID to use.">
      <cfset this.idCountryID = arguments.idCountryID>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsCountryName" displayname="Set sCountryName" returntype="boolean" output="false" hint="This sets the sCountryName value of this item.">
      <cfargument name="sCountryName" required="true" type="string" displayname="sCountryName" hint="The sCountryName to use.">
      <cfset this.sCountryName = arguments.sCountryName>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsISOCode" displayname="Set sISOCode" returntype="boolean" output="false" hint="This sets the sISOCode value of this item.">
      <cfargument name="sISOCode" required="true" type="string" displayname="sISOCode" hint="The sISOCode to use.">
      <cfset this.sISOCode = arguments.sISOCode>
      <cfreturn true>
    </cffunction>
    <cffunction name="setsDHLCode" displayname="Set sDHLCode" returntype="boolean" output="false" hint="This sets the sDHLCode value of this item.">
      <cfargument name="sDHLCode" required="true" type="string" displayname="sDHLCode" hint="The sDHLCode to use.">
      <cfset this.sDHLCode = arguments.sDHLCode>
      <cfreturn true>
    </cffunction>
    <!---
    // Clear, to empty out the contents of this object
    --->
    <cffunction name="clear" displayname="Clear items Details" returntype="boolean" output="false" hint="Clears out all of the items details.">
      <cfscript>
       this.sCountryName = "";
       this.sISOCode = "";
       this.sDHLCode = "";
       this.iErrorID = "";
      </cfscript>
      <cfreturn true>
    </cffunction>
    <!---
    // The following functions deal with the load, save and deleting of objects
    --->
    <!---
    // Load
    --->
    <cffunction name="load" displayname="Load items details" returntype="numeric" output="false" hint="This loads in all the information about an item.">
      <cfset rc = this.clear()>
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Check to see if it exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: checkID: '#this.idCountryID#' #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         if(isDefined("session.afr")){
          whichOne = "#session.afr.getsAFRNumber()#";
         } else {
          whichOne = "";
         iErrorID = objError.addError("A Country with that id doesn't exists.[#this.idCountryID#][#whichOne#]");
        </cfscript>
       <cfset this.iErrorID = iErrorID>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // If we got past all then then load in the details
      --->
      <cftry>
       <cfquery name="get" datasource="#sDatasource#">
        SELECT idCountryID, RTRIM(sCountryName) as sCountryName, RTRIM(sISOCode) as sISOCode, RTRIM(sDHLCode) as sDHLCode
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("load: get: #cfcatch.detail#");
        </cfscript>
        <cfset this.iErrorID = iErrorID>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfset this.idCountryID = get.idCountryID>
      <cfset this.sCountryName = get.sCountryName>
      <cfset this.sISOCode = get.sISOCode>
      <cfset this.sDHLCode = get.sDHLCode>
      <cfset this.iErrorID = "">
      <cfreturn true>
    </cffunction>
    <!---
    // Save
    --->
    <cffunction name="save" displayname="Save items Details" returntype="numeric" output="false" hint="Saves (to some source) the current details for the ID of the item.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("save: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <!---
      // If it doesn't exist, then add the record, otherwise update the record
      --->
      <cfif not checkID.recordCount>
       <cfreturn this.add()>
      <cfelse>
       <cfreturn this.update()>
      </cfif>
    </cffunction>
    <!---
    // Add
    --->
    <cffunction name="add" displayname="Add Country" returntype="numeric" output="false" hint="This adds a Country.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#'
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that name or ISO code already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <cftry>
       <cfquery name="add" datasource="#sDatasource#">
        SET nocount on
        INSERT INTO tblCountry(sCountryName, sISOCode, sDHLCode)
        VALUES('#this.objFunctions.scrubText(this.sCountryName)#','#this.objFunctions.scrubText(t his.sISOCode)#','#this.objFunctions.scrubText(this.sDHLCode)#')
        SELECT @@identity as autoID
        SET nocount off  
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("add: add: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn add.autoID>
    </cffunction>
    <!---
    // Update
    --->
    <cffunction name="update" displayname="Update Country" returntype="numeric" output="false" hint="This updates a Country record.">
      <!---
      // Check to see if that a different item isn't already using the same unique details
      --->
      <cftry>
       <cfquery name="checkUnique" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE (sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#'
        OR sISOCOde = '#this.objFunctions.scrubText(this.sISOcode)#')
        AND idCountryID <> #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: checkUnique: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkUnique.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("Another Country with that name already exists. idCountryID=#checkUnique.idCountryID#");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Attempt to update the record to the datasource
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="update" datasource="#sDatasource#">
        UPDATE tblCountry
        SET sCountryName = '#this.objFunctions.scrubText(this.sCountryName)#',
        sISOCode = '#this.objFunctions.scrubText(this.sISOCode)#',
        sDHLCode = '#this.objFunctions.scrubText(this.sDHLCode)#'
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("update: update: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID> 
    </cffunction>
    <!---
    // Delete
    --->
    <cffunction name="delete" displayname="Delete Country" returntype="numeric" output="false" hint="This deletes a Country record.">
      <!---
      // First of all we need to get the name of the data source we are going to be using
      --->
      <cfscript>
      objDS = CreateObject("component","nec.com.system.settings");
      sDatasource = objDS.getDatasource();
    </cfscript>
      <!---
      // Now check to see if ithat ID exists
      --->
      <cftry>
       <cfquery name="checkID" datasource="#sDatasource#">
        SELECT idCountryID
        FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkID: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif not checkID.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("A Country with that id doesn't exists, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now check to see if there are any dependancies, if so we can't delete the item
      --->
      <cftry>
       <cfquery name="checkDependancies" datasource="#sDatasource#">
        SELECT idCountry
        FROM tblAddress
        WHERE idCountry = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: checkDependancies: idCountry: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfif checkDependancies.recordCount>
       <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("That Country is being used by an address, delete failed.");
        </cfscript>
       <cfreturn iErrorID>
      </cfif>
      <!---
      // Now attempt to remove the record.
      // if this fails for any reason then we submit an error message
      // to the error component and return the ID of the error
      --->
      <cftry>
       <cfquery name="delete" datasource="#sDatasource#">
        DELETE FROM tblCountry
        WHERE idCountryID = #this.idCountryID#
       </cfquery>
       <cfcatch>
        <cfscript>
         objError = CreateObject("component","nec.com.system.errors");
         iErrorID = objError.addError("delete: delete: #cfcatch.detail#");
        </cfscript>
        <cfreturn iErrorID>
       </cfcatch>
      </cftry>
      <cfreturn this.idCountryID>
    </cffunction>
    </cfcomponent>

  • Application builder Error: Windows SDK function returned an error. (Error code -12) *** End Error Report

     try to create an installer in Labview 8.6.  The build fail and I got this message.
    CDK_CreateNewWizard_Invoke.vi.ProxyCaller >> CDK_CreateNewWizard_Invoke.vi >> CDK_InstallerConfiguration_Editor.vi 
    >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI LabVIEW 8.6.1 Datalogging and Supervisory Control Module' from: 
    D:\software\application\LabView\NI.LABVIEW\NI-Labview 8.6.1 DSC Module\ to: C:\Documents and Settings\Lidaoling\桌面
    \Builds\generate waveform\My Installer\
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    Validating...
    Copying files...
    Updating files...
    Creating merged database...
    *** Error: Windows SDK function returned an error. (Error code -12)
    *** End Error Report
    Done building deployment 

    Solution

  • The remote server returned an error: (401) Unauthorized. + Web Service userprofileservice.asmx

    Hi Community,
    I need you assistance on an issue I'm facing.
    The remote server returned an error: (401) Unauthorized.
    The remote server returned an error: (401) Unauthorized.)
    I'm connecting to a web service (userprofileservice.asmx) to auto populate email address in an Info Path form. It was working fine Friday/Monday. Open the form today and I received error:5566
    It's populating in preview but when I open the form in the browser (info path web part) that's when I receive error:5566
    I need your help guys please, this is doing my head in.
    Cheers Matt
     

    Not sure how you do that?
    I'm using SOAP UI to test I can connect to the web service and check the envelope request
    details. Before it was giving me 401 error until I granted my account permission to that asmx on the web server.
    It's strange because I can connect to the web service by soap UI and see all the information.
    I can connect to the web service by using the URL.
    Works fine in preview mode. 
    Was working fine on the production environment until yesterday and now I have error 5566.
    All the configuration on the web server is the same.
    I'm at a brick wall.. Help

  • DB13 error -- Function DB6_PLAN_DELETE_BATCH failed with return code = Job

    hello All,
    when I try to delete or edit any DBA Job in transaction DB13 the following error is displayed:
    An error occurred when processing system
    Function DB6_PLAN_DELETE_BATCH failed with return code = Job error
    How can I fix this error and delete or change my DBA jobs?
    My syste is SAP ECC 6.0 SR3 - Solaris 10 - Oracle 10.2.0.4.0
    Thanks
    Hernando

    Hello Hernando,
    Let's see what this SAP Note says,
    Note 1093883 - ORACLE: Function module DB6_PLAN_ADD_BATCH fails
    Edit: However, 'valid release' makes confusion
    Regards
    Subbarao
    Edited by: subbarao chinta on Oct 8, 2009 9:00 PM

  • ORA 28817 PLSQL function returned an error . when Access instance apex 4 2

    Hello,
    I have just upgraded from apex 4.1 to apex 4.2. Everything is fine except for this error that I get when I try to access Instance Setting on the Admin App (localhost/apex/apex_admin)
    ORA-28817: PL/SQL function returned an errorWhat could be the problem ?? How can we fix it ..
    I am working on Win server 2012 machine .. apex 4.2 with apex listener 2 deployed on Glassfish 3.1.2.
    Best Regards,
    Fateh

    Hello Fateh,
    we are already aware of that problem, although it is not yet present on our Known Issues webpage. The reason for this error is that the new installation overwrites an instance-wide encryption key. Values in the instance preferences that were encrypted with the old value (the SMTP password and the wallet password) are invalid after the upgrade and decryption causes this error. As a work around, you can use the apex_instance_admin package to overwrite the invalid passwords.
    The following code shows how decryption throws ORA-28817:
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual
    ERROR at line 1:
    ORA-28817: PL/SQL function returned an error.
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
    ORA-06512: at "SYS.DBMS_CRYPTO", line 44
    ORA-06512: at "APEX_040200.WWV_FLOW_CRYPTO", line 89
    ORA-06512: at "APEX_040200.WWV_FLOW_INSTANCE_ADMIN", line 239You can fix this by entering new passwords:
    SYS@a411> exec apex_instance_admin.set_parameter('SMTP_PASSWORD','my smtp password');
    PL/SQL procedure successfully completed.
    SYS@a411> exec apex_instance_admin.set_parameter('WALLET_PWD','my wallet password');
    PL/SQL procedure successfully completed.
    SYS@a411> select apex_instance_admin.get_parameter('SMTP_PASSWORD') from dual;
    APEX_INSTANCE_ADMIN.GET_PARAMETER('SMTP_PASSWORD')
    my smtp password
    1 row selected.Regards,
    Christian

  • Error: Windows SDK function returned an error. (Error code -12)

    I receive this error when attempting to build an installer for my Labview application.
    CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_CopyItem.vi
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Copying distribution 'NI-DAQ 8.0.1' from: D:\ to: C:\DARTS\ATS_TE_Project\DARTS_NI-DAQ_HP3561A_Dynamic_Signal_Analyzer\Installer\
    *** Error: Windows SDK function returned an error. (Error code -12)
    The system cannot find the file specified.
    *** End Error Report
    Done building deployment

    I was able to get the install builder to build an installer for my
    Application today 6/6/07. These are the steps I performed along with good amounts of trail and error.
    1) I attempted to re-install the NI-DAQ 8.0.1 drivers however I didn't
    perform this because it said it remove NI products which I didn't want
    removed. But it didn't tell me what it would remove.
    2) Instead, I copied the entire NI-DAQ 8.0.1 distribution to a directory on my hard drive.
    3) I set the NI-DAQ 8.3 install build type to FULL in install builder.
    4) In install builder when prompted for the components from the NI-DAQ
    8.0.1 I browsed to the NI-DAQ 8.0.1 directory on the hard drive and
    also un-checked the cache box.
    5) It through another error this time saying it couldn't find
    C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker71\LVBroker71Deu.mst (and,
    LVBroker71Fra.mst, LVBroker71jpn.mst, LVBroker1071Deu,
    LVBroker1071Fra.mst, LVBroker1071jpn.mst). It also could not find the
    LVBroker1071 files in the
    C:\NI-DAQ8_0_1\8.0.1\Products\LabVIEW_Broker1071 directory either.
    6) I performed a search for these files and they did not exist in the
    NI-DAQ 8.0.1 directory on my hard drive or the 8.0.1 CD I have.
    7) These files DID exist in my NI-DAQ 8.3 directory located on my hard drive.
    8) I copied the LVBrokerxxxx.mst (listed in 5 above) files from the
    NI-DAQ 8.3 directory on my hard drive to the corresponding location in
    the NI-8.0.1 directory on my hard drive.
    9) This time when I rebuilt the installer for my application the build was successful.
    Additional information:
    When I built my application I only selected English for language
    support. In Install builder in "Dialog Information I also selected
    English.
    I haven't attempted to try the installer on my target yet so I'm not
    quite sure how successful I really was but at least I have a installer.
    Let me know if this also works for you.
    Rich...

  • Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error

    Hi team,
    I have issue with "SAP_COLLECTOR_FOR_PERFMONITOR" Job .it has been Finished but in Job Log I get error as below:
    Job started
    Step 001 started (program RSCOLL00, variant , user ID DDIC)
    Clean_Plan:Cleanup of DB13 Plannings
    Clean_Plan:started by RSDBPREV                       on server sapqas01
    Clean_Plan:Cleaning up jobs of system QAS
    Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error
    Clean_Plan:terminated with error
    REASON=Job error
    Database system not supported
    Reorganization of the database started
    Reorganization of the database ended
    Job finished
    I have alredy reschedule this Job in 000 with DDIC User.
    Please help me ,
    Thanks
    Vijay

    Hello Vijay,
    The "Database system not supported" error you see, suggests that your TCOLL table is not setup correctly. You probably have a report scheduled in your TCOLL which is for a different DB then the one you run.
    If the collector canels all the time, then this is probably a report which is scheduled to run every hour in your TCOLL. If it only cancels sometimes, then it should be easier to identify which report is causing it in your TCOLL.
    The bottom line is to ensure your TCOLL is setup correctly and that you are not running DB reports there that are for a different DB than the one you use. The SAP note you follow to setup your TCOLL table depends on your SAP system version:
    12103 - Contents of the TCOLL table
    970449 - Contents of TCOLL table in SAP_BASIS 640
    966309 - Contents of table TCOLL in SAP_BASIS 700
    966631 - Contents of TCOLL table in SAP_BASIS 710
    Regards,
    Brendan

  • FormatDate function returning #MULTIVALUE error

    I need to display the raw date returned by a Universe Element in DD-MMM-YYYY format into a cell positioned in the Page Header.
    So used the below formula, which is returning "#MULTIVALUE" error to the cell.
    =FormatDate([Bank Business Date]; "dd-MMM-yyyy"), where [Bank Business Date] is the Date element from the Universe whose data type is "date time"
    However, I am not facing this issue in another report where the data type of the Universe Element is "date"
    Any guidance is appreciated to address my above issue

    Hi Rajeswarudu
    Is this error arising in Webi  or Universe ?
    Make sure the dates should be not overlapped with the same values in a single cell

Maybe you are looking for

  • Most keyboard shortcuts dont work

    hello, most of the editing keyboard short cuts like crtl + c and so on dont work. however the shortcuts work for undo and save, set inpoint etc. i dont understand, they are all marked correctly in the commands list..anyone??

  • Linking Business Patner to Customer but a separate reconciliation

    Hi I am handling the inter-company loan through interest rate instruments. The situationis like this - Copany A and B are interelated and Company A give loan to Company B. Both these companies are also regular customer and vendor in each others compa

  • How to write settings into xml

    I?ve got a small class that returns the names of each JInternalFrame. The code is below; I have an xml file where I am saving various settings. In the xml file I have created a tag and in that tag I want to write all the name of the JInternalFrames.

  • Cannot enable flashback database??

    I am using 10gR2 10.2.0.1 Under EM Home: it shows under " High Availability ": Last Backup Apr 14, 2007 8:03:33 PM Usable Flash Recovery Area (%) 92.35 Flashback Logging Disabled When I get to the "recovery settings", I have make sure I have turned o

  • Iphone not opening web login

    Hi i wondered if anyone could anser my question as to why if i am somewhere logging into internet on my computer and click the wifi i want to use that it opens a login screens to put user name and password in no problem and connects to internet but m