Value does not fall within expected range in client object model SharePoint online

Hi,
I might be missing something, at least i hope so because I don't see it anymore.
Yes, I used the search, and yes many had the same error, but I think my problem has to be something else.
It is not size related but more context related i think.
I've build a function to break inheritance on folders and libraries for several document librarys to implement a crud matrix.
The thing is, it works sort of. The function takes a list and foldername. If the foldername is null the
inheritance on the list is broken and the group is given the roles as provided.
If a foldername is given, i retrieve the folder, break the inheritance and set the new permissions for the given group.
The problem is: The second time the function is called with a foldername it breaks on the getItems for querying the folder.
It is not folder related, becaus changing the folder order gives the same problem on another folder.
I already tried creating a new clientcontext and a new list variable but i cant get it to work.
I cant get into the server logs because im querying SharePoint Online.
var list = GetList(clientContext, "Listx");
AddPermission(list, null, company_Groups.Beheerder, RoleType.Contributor, clientContext);
AddPermission(list, null, company_Groups.Projectleider, RoleType.Contributor, clientContext);
AddPermission(list, null, company_Groups.Constructeur, RoleType.Reader, clientContext);
AddPermission(list, null, company_Groups.Tekenaar, RoleType.Contributor, clientContext);
//Montagepartner
AddPermission(list, "Folder2", company_Groups.Montagepartner, RoleType.None, clientContext);
AddPermission(list, "Folder1", company_Groups.Montagepartner, RoleType.None, clientContext);         <----- is where it breaks
AddPermission(list, "Folder3", company_Groups.Montagepartner, RoleType.None, clientContext);
AddPermission(list, "Folder4", company_Groups.Montagepartner, RoleType.None, clientContext);
private void AddPermission(List list, string folderName, company_Groups group, RoleType roleType, ClientContext clientContext)
//MsOnlineClaimsHelper claimsHelper = new MsOnlineClaimsHelper();
//using (ClientContext clientContext = new ClientContext(ctx.Url))
//clientContext.ExecutingWebRequest += claimsHelper.clientContext_ExecutingWebRequest;
//clientContext.RequestTimeout = timeOut;
if (!list.HasUniqueRoleAssignments)
list.BreakRoleInheritance(false, true);
list.Update();
var principal = GetPrincipal(clientContext, group.ToString());
var role = GetRole(clientContext, roleType);
// Add the role to the collection.
//var collRdb = new RoleDefinitionBindingCollection(clientContext) { role };
if (folderName != null)
var query = new CamlQuery();
query.ViewXml = "<View Scope=\"RecursiveAll\"> " +
 "<Query>" +
  "<Where>" +
  "<And>" +
"<Eq>" +
  "<FieldRef Name=\"FSObjType\" />" +
  "<Value Type=\"Integer\">1</Value>" +
"</Eq>" +
"<Eq>" +
  "<FieldRef Name=\"Title\"/>" +
  "<Value Type=\"Text\">" + folderName + "</Value>" +
"</Eq>" +
  "</And>" +
  "</Where>" +
  "</Query>" +
  "</View>";
// query.FolderServerRelativeUrl = Path.Combine(list.RootFolder.ServerRelativeUrl, folderName);
///This is where it breaks, the second time the function executes on a list with another folder name
var folderItems = list.GetItems(query);    <----- is where it breaks 
clientContext.Load(folderItems);
clientContext.ExecuteQuery();
ListItem folder = null;
if (folderItems.Count > 0)
folder = folderItems[0];
folder = list.GetItemById(folder.Id);
//if (!folder.HasUniqueRoleAssignments)
folder.BreakRoleInheritance(true, true);
folder.Update();
RoleDefinition roledef = clientContext.Web.RoleDefinitions.GetByType(roleType);
RoleDefinitionBindingCollection roleDefCol = new RoleDefinitionBindingCollection(clientContext);
// .Add(roledef);
roleDefCol.Add(roledef);
folder.RoleAssignments.Add(principal, roleDefCol);
folder.Update();
else
RoleDefinition roledef = clientContext.Web.RoleDefinitions.GetByType(roleType);
RoleDefinitionBindingCollection roleDefCol = new RoleDefinitionBindingCollection(clientContext);
// .Add(roledef);
roleDefCol.Add(roledef);
list.RoleAssignments.Add(principal, roleDefCol);
list.Update();
clientContext.ExecuteQuery();

Hi,                                                             
What if you execute the AddPermission method once a time, will the error still occur or can your code works out the expected result?
As the program breaks in the GetItems() method, to narrow down this issue, I suggest to comment the other lines of code which has no relationship with the items retrieving, then debug your project to see whether the error will
still occur.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • Value does not fall within the expected range in my itemupdated eventreceiver while accessing a splist column on the root site collection

    hi,
     I am performing the below operations:
    1) Itemupdated event handler when a document is uploaded into the document library
    2) Now amreading another list which is in the root  site level so, i used spsite, spweb again and accessed that splist and trying to read single line of text column and user or group column.
    Now when i am reading this, i am getting the error "Value does not fall within the expected range".
    I went to resource throttling under central admin -->my current web appln and changed that value to 20  from 8
    even after performing the above, i am getting the same error.
    pls help anyone has faced this issue before.
    Accessing a splist which is under root site collection within the itemupdated eventreceiver is allowed in SP ?

    hello sir,
     as per my requirement i have to access a  splist which is residing in the ROOT SITE COLLECTION OF THIS WEB APPLICATION. the event receiver i have written is residing in one of the few document libraries within the sub site. there are hundreds
    of sub sites exist in this site collection. I need to access the root site collection within the itemevent receiver and access thatperson column from that splist. why i ahve kept this list at the root site collection level [
    http://server1:2020/ ] , because this  splist is the UI for customer's sp admin for performing  weekly tasks. like adding few items in the splist and my event receiver fires and check this column- person /group
    column ]  and apply permissions on the  document.
    so my doubt is it possible to access the root site collection from my event receiver code.
    spweb from properties web is just the subsite url and not the site collection. i want to get the root sitec ollection url's splist.
    also am already running this code under runwithelevatedprivileges.

  • Value does not fall within the expected range while passing a spfieldlookupvalue in a caml QUERY

    i have to pass a column from master list -single line of text - and this will be the lookup of another column in another list
    splist1---> column1 [ free text]
    splist2--> column2  [ lookup column of the above list -splist1]
    now am writing a  caml query :
       objDisciNodeQuery.Query =
                                          string.Format(
                                       "<OrderBy>" +
                                         "<FieldRef Name='ID' />"
    +
                                      "</OrderBy>" +
                                       "<Where>" +
                                        "<And>" +
                                          "<Eq>" +
                                             "<FieldRef
    Name='somecolumn' />" +
                                             "<Value
    Type='Text'>{0}</Value>" +
                                          "</Eq>" +
                                          "<Eq>" +
                                             "<FieldRef
    Name='column2' LookupId='TRUE' />" +
                                             "<Value
    Type='Lookup'>{1}</Value>" +
                                          "</Eq>" +
                                         "</And>" +
                                       "</Where>", valueofsomecolumn, lookupidvalueofcolumn2);
                                        SPListItemCollection splistItemAssocCollec
    = null;
                                        splistItemAssocCollec = splist2.GetItems(objDisciNodeQuery);
    here it throws Value does not fall within the expected range
    Anyone has idea why i am getting this error, .
    any ideas  are appreciated.

    We can use lookup column in caml query link this
    <Where>
    <Eq>
    <FieldRef Name=’Departments’ LookupId=’TRUE’ />
    <Value Type=’Lookup’>10</Value>
    </Eq>
    </Where>
    Multi lookup column reference 
    http://naimmurati.wordpress.com/2013/12/03/multi-lookup-fields-in-caml-queries-eq-vs-contains/

  • Soap:Server was unable to process request. --- Value does not fall within the expected range

    Brand spanking new Sharepoint 2010 RTM and Designer 2010 RTM install. Unable to edit any page whatsoever even when checking out. Error in SP Designer: soap:Server was unable to process request. ---> Value does not fall within the expected range.
    Like I said, this is a brand new RTM install with nothing altered yet. Why can't I edit any pages? I am using the highest credentials so there should be no permission issues. There isn't anything that is helping me on the Web for this.
    Why would I encounter a problem like this out of the box? This is not the beta - it is RTM!

    Go to :
    Site Collection Administration 
    SharePoint Designer Settings
    and Enable the following
    Enable Detaching Pages from the Site Definition
    Enable Customizing Master Pages and Page Layouts
    Enable Managing of the Web Site URL Structure
    This should resolve the SP Designer Edit Issues.

  • Sharepoint2010: ArgumentException: Value does not fall within the expected range

    I have a lookup column 'usertype' in one of my list, that is lookup for another list. and in my code when i try to access this column,
    item["usertype"]
    i get an error: ArgumentException: Value does not fall within the expected range.
    I tried with Lookup Resource Throttling in Central Administration. But still i am not able to access this field. And this field is not programmatically created.
    Any idea to solve this..
    Thanks in advance.

    Hi Hemendra,
    In the "Course " List there is a lookup field "CourseType"
    which is lookup to a list having two values "Internal" and "external"
    Here is my code:
    SPList Course = Helpers.GetList(web, "Course");
    SPListItemCollection Mycourse = Helpers.GetListItemsByField(Course, "Course_x0020_Code", "001");
    string CourseType=Mycourse[0]["CourseType"].ToString();
    "Helpers.GetListItemsByField" method will return proper result using CAML query. So Mycourse[0] will have all the fields except the one which i mentioned above. There are other Lookup fields in the same list and all works fine. (Assume Mycourse
    will always have exactly 1 row.)
    Regards,
    Vikas

  • REST API - Can't expand Title of lookup columns "System.ArgumentException : Value does not fall within the expected range"

    I have a list that has more than 12 columns of type lookup with more than 5000 items and I am using a date field as an indexed column so I can restrict the results to meet the list view threshold.  I am also using $select to restrict the columns to
    meet the lookup column threshold.
    If I run the query below it all works as expected:
    _api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Id&$expand=Lookup1
    If I run this query it does not work:
    _api/web/Lists/MyList/items/?$Filter=Created gt '2015-03-10T05:00:00.000Z' and Created lt '2015-03-17T18:25:00.712Z'&$select=Lookup1/Title&$expand=Lookup1
    Error:
    <m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <m:code>-2147024809, System.ArgumentException</m:code>
    <m:message xml:lang="en-US">Value does not fall within the expected range.</m:message>
    </m:error>
    The lookup column "Lookup1" is using Title as the column's information and this should be working.  What is interesting is that changing the lookup threshold has no effect on this but raising the list item view limit does make it work.  The
    date range is selecting less than 5000 items.  So what am I missing here? I just want the Title for the lookup column and my query has about 10 items in it.

    Looking through the logs the error is thrown due to the following error messages:
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    Fields 84h8
    High Field with internal name 'LookupFieldName_x005f_Title' already exists in the field cache
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    Fields ki9p
    High Unable to add join related fields to the Query.[Error 0x80070057]
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General xxpm
    High Unable to execute query: Error 0x80070057
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General 8e2s
    Medium Unknown SPRequest error occurred. More information: 0x80070057
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    03/19/2015 08:26:12.12 w3wp.exe (0x6D34)
    0x7F38 SharePoint Foundation
    General aix9j
    High SPRequest.GetListItemDataWithCallback2: UserPrincipalName=<removed>, AppPrincipalName= ,pSqlClient=<null> ,bstrUrl=siteUrl ,bstrListName=<removed> ,bstrViewName=<null> ,bstrViewXml=<View
    Scope="RecursiveAll"><Query><Where><Eq><FieldRef Name="ID" /><Value Type="Counter">5481</Value></Eq></Where></Query><ViewFields><FieldRef Name="LookupFieldName"
    LookupId="TRUE" /><FieldRef Name="LookupFieldName_x005f_Title" /></ViewFields><ProjectedFields><Field Name="LookupFieldName_x005f_Title" Type="Looku ,fSafeArrayFlags=SAFEARRAYFLAG_DATES_IN_UTC
    3446f49c-f2d2-d0a2-89f4-59dee19b2f45
    The very first message states that it is unable to add join related fields, what could be the possible cause of this?  As you can see rather than specifying a date range which I know contains less than 5000 items, even filtering based on ID gives the
    same result.

  • SSRS 2014 SharePoint integrated - getting error "Value does not fall within the expected range"

    Hi everyone,
    Note sure if this should be in the SharePoint forum instead, but here goes...
    I have got an SSRS report (SQL 2014) deployed to SharePoint 2013, and I am using a command line to call this report. The command line is...
    https://myserver/_vti_bin/reportserver?https://myserver/Reports/AdjustmentPlan.rdl&rs:Format=PDF&ParamActionGUID=B9B57C49-558B-471A-8BFD-2853673E8874
    This returns an error "Value does not fall within the expected range"
    If I remove the "&rs:Format=PDF" then the report appears on screen without problems...
    When I look in the sharepoint log files, I see the command line has changed to be 
    https://myserver/_vti_bin/reportserver?https://{machine_name}/Reports/AdjustmentPlan.rdl&rs:Format=PDF&ParamActionGUID=B9B57C49-558B-471A-8BFD-2853673E8874
    I'm not sure why this is happening, but if I can ensure the command line uses the correct SharePoint address, then I think this will fix the problem.
    Any questions or suggestions or solutions gratefully received.
    thanks
    David

    Thanks for the reply. I can probably explain easier than screenshots..
    The server name is "datacentre-cenet" for example
    But the address we use to access SharePoint is https://cenet (ie using the SharePoint Alternate Access mappings). So the command line to call the SSRS report uses the SharePoint name (CENET).
    But when I try to export SSRS to PDF, the command line get changed to
    https://datacentre-cenet which causes an error
    My thought is that somewhere SSRS is using the server name, rather than the correct URL which is
    https://cenet
    So if I could know where SSRS picks up the server name, I could configure that to fix this issue.
    Hope that's more clearer, thanks again,
    David

  • SharePoint Receive Location: Value does not fall within the expected range

    Hi,
    I setup a wss receive location in BizTalk 2013 (CU2 applied) to get documents from a SharePoint 2013 infoPath Form Library, the documents were checked out but not processed by WSS adapter and BizTalk logs following error in event log
    The host instance user has 'Full Control' permission on this form library
    (the same configuration is working in another environment with different BizTalk and SP instances)
    any help would be highly appreciated
    Usman Shaheen MCTS BizTalk Server http://usmanshaheen.wordpress.com

    Hi,
    I would recommend to create a new InfoPath form and publish it to SharePoint library to see
    if the issue still occurs.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/07438b97-2b25-431a-b94a-1ea8e08992d5/upgrade-sharepoint-2007-to-sharepoint-2010-info-path-pages-issues?forum=sharepointadminprevious
    If that doesnt fix the issue, you should go with this hotfix.
    Description of the SharePoint Foundation 2010 hotfix package (Wss-x-none.msp): July 2, 2012
    Description reads: 
    Assume that you use the metadata navigation and filter feature to filter a view of a document library. When you check in or check out a document through the menu on the ribbon, you receive the following error exception:
    System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPWeb.GetFile(String strUrl) at Microsoft.SharePoint.ApplicationPages.Checkin.get_File() at Microsoft.SharePoint.ApplicationPages.Checkin.OnPreInit(EventArgs
    e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Rachit

  • GetListItems() and "Value does not fall within the expected range"

    I have a sharepoint list (it's a task list).  I have the ID of the task - I can access the task like this :
     http://addr/EditForm.aspx?ID=<value>
    This works fine.  I would like to create a query so when I call GetListItems() from a web service, I can select this record.
    This is the code I'm using - when I set the ndQuery.innerxml to a blank string, it returns all records (correctly).  When I enable it, I get the wonderfully useful "Value does not fall within the expected range" error.  I have tried querying
    a number of different fields (besides ID) and every single one gives me that error.
            XmlDocument xmlDoc = new System.Xml.XmlDocument();
            XmlNode ndQuery = xmlDoc.CreateNode(XmlNodeType.Element, "Query", "");
            XmlNode ndViewFields = xmlDoc.CreateNode(XmlNodeType.Element, "ViewFields", "");
            XmlNode ndQueryOptions = xmlDoc.CreateNode(XmlNodeType.Element, "QueryOptions", "");
            ndQuery.InnerXml = "<Where><eq><FieldRef Name=\"ID\" />" + "<Value Type=\"Counter\">" + pTaskID.ToString() + "</Value></eq></Where>";
            ndViewFields.InnerXml = "<FieldRef Name=\"ID\" /><FieldRef Name=\"Title\" />";
            ndQueryOptions.InnerXml ="<IncludeMandatoryColumns>False</IncludeMandatoryColumns>";
            System.Xml.XmlNode nodes = listService.GetListItems(strListID, strViewID, ndQuery, ndViewFields, "3", ndQueryOptions, null);
    I dug into the server logs and this is the XML that I see :
    <?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>
     <GetListItems xmlns="http://schemas.microsoft.com/sharepoint/soap/">
       <listName>{61A69E7F-F515-456C-B075-CB80FA59AFED}</listName>
       <viewName>{BBEDC17F-9578-4226-B4FC-E4BE102E6BED}</viewName>
       <query><Query xmlns=""><Where><eq><FieldRef Name="ID" /><Value Type="Counter">87</Value></eq></Where></Query></query>
       <viewFields><ViewFields xmlns=""><FieldRef Name="ID" /><FieldRef Name="Title" /></ViewFields></viewFields>
       <rowLimit>3</rowLimit>
       <queryOptions><QueryOptions xmlns=""><IncludeMandatoryColumns>False</IncludeMandatoryColumns></QueryOptions></queryOptions>
     </GetListItems>
    </soap:Body>
    I don't like seeing two nested <query> tags but there is no way that I can see to remove them!  At this point - can anyone tell me, is there any way to tell WHAT value does not fall within the expected range?  Or WHAT the expected range is?

    Hi Chris,
    Per my understanding, there is an issue when calling GetListItems() from a web service.
    Please check if the “pTaskID” is valid and take the snippet below for a test in your environment:
    public static void getItems()
    var lists = new MyWebServiceDemo.Lists();
    lists.Url = "http://sharepoint/_vti_bin/Lists.asmx";
    lists.Credentials = System.Net.CredentialCache.DefaultCredentials;
    System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
    //displayName or GUID
    string listName = "List1";
    string viewName = "";
    string rowLimit = "150";
    System.Xml.XmlElement query = xmlDoc.CreateElement("Query");
    System.Xml.XmlElement viewFields = xmlDoc.CreateElement("ViewFields");
    System.Xml.XmlElement queryOptions = xmlDoc.CreateElement("QueryOptions");
    query.InnerXml = "<Where><Eq><FieldRef Name=\"ID\" /><Value Type=\"Counter\">1</Value></Eq></Where>";
    //query.InnerXml = "";
    viewFields.InnerXml = "<FieldRef Name=\"Title\" />";
    queryOptions.InnerXml = "";
    System.Xml.XmlNode nodeListItems = lists.GetListItems(listName, viewName, query, viewFields, rowLimit, queryOptions, null);
    foreach (XmlNode outerNode in nodeListItems.ChildNodes)
    if (outerNode.NodeType.Equals(System.Xml.XmlNodeType.Element))
    foreach (XmlNode node in outerNode.ChildNodes)
    if (node.NodeType.Equals(System.Xml.XmlNodeType.Element))
    XmlNode nameNode = node.Attributes.GetNamedItem("ows_Title");
    String wikiName = nameNode.InnerText;
    Console.WriteLine(wikiName);
    If it is an issue of the invalid item id, for avoiding this error, a workaround is that you can run a request to retrieve all the existing ids in the target list,
    then add a validation to ensure the “pTaskID” is valid.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for
    TechNet Support, contact [email protected].

  • Server Error in '/' Application. Value does not fall within the expected range

    Hi,
    I am getting this error when i am publishing my custom webpart in the UAT site, it is created in Visual studio 2008 and i have deployed it in MOSS 2007 site.
    I appreciate any help on this. Please see the below error.
    Source Error:
    Line 20: protected void getDivision(SPWeb web, string strList)
    Line 21: {
    Line 22: SPList list = web.Lists[strList];
    Line 23: ddlDivision.DataSource = list.Items;
    Line 24: ddlDivision.DataValueField = "Title"; // List field holding value - first column is called Title anyway!
    Thanks,
    Prachi

    Hi,
    I am receiving this error when i am publishing the web-part page. Web part was developed in visual studio 2008 and deployed in SharePoint 2007 site.
    While deployment i am getting any error, this error is occurring only when i am publishing the web-part page.
    I checked all the help links and made changes in the web.config file, restarted IIS, add n deleted web-part from the web-part Gallery, added n removed wsp files 2-3 times, everything i did.
    If anyone can help me resolving this issue then please send across solution.
    Thanks,
    Prachi

  • Trying to add RAD Descriptor but.... "New userdDN does not fall within any"

    I am trying to add a RAD descriptor, yet I get this error message:
    New userdDN does not fall within any search base: orclresourcename=test+orclresourcetypename=OracleDB, cn=Resource Access Descriptor,orclownerguid=3EAF439B3B0F46A7B17F93A6F672AFB2,cn=Extended Properties,cn=OracleContext,dc=iwif-internal,dc=com
    The dn: cn=Resource Access Descriptor,orclownerguid=3EAF439B3B0F46A7B17F93A6F672AFB2,cn=Extended Properties,cn=OracleContext,dc=iwif-internal,dc=com Does in fact exist! I even copied and pasted it from OID Manager to verify and sure enough, exact match!
    Note: I am using oid 10.1.4, so the cn=Resource Access Descriptor,orclownerguid=3EAF439B3B0F46A7B17F93A6F672AFB2,cn=Extended Properties,cn=OracleContext,dc=iwif-internal,dc=com is generated by default
    What might I be doing wrong to get this error...?
    here is my ldif file to add a raddescriptor:
    dn: orclresourcename=test+orclresourcetypename=OracleDB, cn=Resource Access Descriptor,orclownerguid=3EAF439B3B0F46A7B17F93A6F672AFB2,cn=Extended Properties,cn=OracleContext,dc=iwif-internal,dc=com
    orclusermodifiable: true
    orclresourcetypename: OracleDB
    orclflexattribute1: ourTestTNSname
    orcluseridattribute: ops$spiveyj
    orclownerguid: 3EAF439B3B0F46A7B17F93A6F672AFB2
    orclpasswordattribute: welcome2
    orclresourcename: test
    objectclass: top
    objectclass: orclresourcedescriptor
    Edited by: user8859423 on Mar 3, 2010 12:53 PM

    Solved:
    The problem was that I was using the bulk add option in the OID Manager as opposed to ldapadd!

  • PickList Update - Input values [...] does not match with expected class names

    Hi everybody!
    I try to update a picklist via b1if but I always get the following error-message:
    Exception : Input values '["3" , "3"]' does not match with expected class names '["com.sap.smb.sbo.api.ICompany" , "java.lang.Integer"]' for SBO object type '156'
    As you can see in the error-message I use object type 156 “PickLists”.
    Below you can see the message to the B1 Object – atom:
    <Payload id="atom1" Role="X">
        <System xmlns="">0010000100</System>
        <QueryParams xmlns="">
            <AbsoluteEntry>3</AbsoluteEntry>
        </QueryParams>
        <PickLists xmlns="">
            <row>
                <PickDate>20120914</PickDate>
            </row>
        </PickLists>
        <PickLists_Lines xmlns="">
            <row>
                <OrderEntry>248</OrderEntry>
                <OrderRowID>0</OrderRowID>
                <PickedQuantity>1</PickedQuantity>
            </row>
        </PickLists_Lines>
    </Payload>
    …and the result:
    <Payload status="success" id="atom2" Role="C" DImsg=" Exception :
    Input values '["3" , "3"]' does not match with expected class names
    '["com.sap.smb.sbo.api.ICompany" , "java.lang.Integer"]' for SBO object type '156'"
    DIresult="failure" keyvalue="3" keyname="AbsEntry" payload="atom1" objectid="156"
    method="Synchronous Update" b1login="Technical User" system="0010000100"/>
    I just can’t figure out meaning of the error-message…anyone can help?
    Thanks in advance!
    Best Regards
    Alex

    Hey Alex,
    I have a similar problem. I suppose you have solved your problem, because this post is very old. Perhaps you could share the solution?
    Best regards
    Benjamin

  • Reports 6i to 10g Migration (Value Does Not Match mask 'MM/DD/YYYY'

    Dear all,
    I am Migrating Oracle 6i Reports to 10g. I am just compiling the 6i Reports in 10g Reports Builder and giving the
    Report for Deployment after it got successfully ran in the report builder.
    In one of the Report Report Query i am checking date range like below
    WHERE lov_dte BETWEEN :L_FRM_DTE AND :L_TO_DTE
    L_FRM_DTE and L_TO_DTE input mask is MM/DD/YYYY
    i got the output in report builder and as well as from the application also but after the compiled the same report
    in 10g and tested in server ..
    i am getting the following error in server ..
    REP-546:Value does not match mask 'MM/DD/YYYY'
    ORA-01030:Date format picture ends before converting entire input string
    REP-0091:Invalid value for parameter L_FRM_DTE
    any body faced the same problem ...please help me to resolve this issue ..
    I Tried Changing the Query to
    WHERE lov_dte BETWEEN to_date(:L_FRM_DTE,'mm/dd/yyyy') AND to_date(:L_TO_DTE,'mm/dd/yyyy')
    but still no use because iam getting runtime error ORA-01858 NON NUMERIC CHARACTER WAS FOUND WHERE A NUMERICA CHAR WAS EXPECTED.
    Thank you all for Looking into my problem..
    Data Boy

    Dear all i found the document related to this problem in META LINK ..The Bug no is 5597464
    The base of this Bug is 4589885
    It is given that
    Fixed in Product Version 11.0
    but when i go to oracle site ..i cant find this version for Developer suite. can anyone please help in this
    there is only Oracle Developer Suite 10g (10.1.2.0.2).
    Thank you all for looking into my problem.

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • The publisher of the uploaded package does not match the expected publisher . The publisher for this app is expected

    I have a Windows Phone Silverlight 8.1 project that i am trying to publish
    The publisher in the uploaded package does not match the
    expected publisher. The expected publisher for this app is: "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
    I have the same Publisher Id set in the WMAppManifest file
    help me 
    thank you 

    Hi kadir u,
    >>The publisher in the uploaded package does not match the expected publisher. The expected publisher for this app is: "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
    Based on the error information, we can see that the publisher value does not have the correct one. So please try to open the Package.appxmanifest, then modify the Publisher as "CN=00000000-8F5B-44B4-BFC6-F16FB18F2358":
    <Identity Name="*******"
    Publisher="CN=00000000-8F5B-44B4-BFC6-F16FB18F2358"
    Version="1.0.0.0" />
    Best Regards,
    Amy Peng
    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.

Maybe you are looking for

  • Where did my ringtones go after I downloaded them from VCast tones?

    I just recently bought a LG Lucid.  This is my first smartphone, so it's a big change coming from a basic phone.  I recently purchased some ringtones from the VCast tones app on my phone, but now I can't find them anywhere.  When I go into my recent

  • Tools photoshop menu not working

    I just updated Photoshop CC and Bridge CC and Tools>Photoshop>Image processor is not working. Actually none of the submenus under Tools>Photoshop work. Any ideas? Thanks.

  • I guess my Apple TV is BRICKED!

    Hey! Big problem. my apple tv stopped working, with no warning! When I noticed that, I tried to restore and update it, ever since then it never passes the "Activating" screen. I tried restoring it numerous times, every time it finishes restoring and

  • Need earbud or adapter recommendations

    Can anyone suggest a good set of earbuds or an adapter with the mic and phone/play controls? I'm currently using the Bose earbuds and I absolutely love them. I added the Griffin adapter for the mic and control button but it makes the cord way too lon

  • IMovie Events backup

    I want to make space on my harddrive.  How do I burn Clips from my Events to DVD as a backup so that I can delete certain Events? Thanks