.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

how to fix invalid index HRESULT:0x80070585 in a discussion list

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :SharePoint



I just have the problem that one of the discussion lists cannot be viewed, it always gives back Invalid index. Exception from HRESULT:080070585.


Does anyone know how to fix this?

View Complete Post

More Related Resource Links

Invalid data has been used to update the list Item.(List definition)

<nativehr>0x80070057</nativehr><nativestack></nativestack>Invalid data has been used to update the list item. The field you are trying to update may be read only. I have created a list definition and into that i have created lookup column when i am trying to add any item into the list then it gives me an error as above. Can anyone help me.? I made the readonly attributes to false for lookup columns.  

Invalid URL error on InfoPath Form Publish on an External List

I am using SP2010 Enterprise on Windows 7 and SPD 2010 & InfoPath 2010 all on the same machine in test.  I create an External List based on a ECT and Click on the 'Design Forms in InfoPath' icon and 'Item' which drops down from it.  That launches InfoPath Designer 2010 & downloads the form from http://<site>/lists/<mylistname>/Item/template.xsn and sets you up in an edit session.  I can make changes on the form but when I publish via File | Publish | External List (Publish Form To An External List) I get a save prompt for local copy & then an error: The following URL is not valid: http://<site>/lists/<mylistname>/Item/template.xsn  (same URL as it started with during the initial download). I took screen shots of the messages to make sure. Some things I have tried & observations: If I change to an internal Custom List the publish step (to list not external of course) works just fine. I also ran this test launching SPD as Administrator with no difference.  I stopped the System Event Notification service per http://serena-yeoh.blogspot.com/2006/08/infopathformurlnotvalid.html  'net stop sens' with no difference Any ideas are welcome. BTW I notice that this step of launching the InfoPath designer does change the form on the list in Sharepoint albeit slightly -

Invalid data has been used to update the list item in sharepoint 2010.

I have created a custom list definition with one lookup field <      Field ID="{865CD714-7DF6-4F65-9DBC-5FE910B10BC5}" Name="CompanyName" DisplayName="Company Name" Group="Custom contents" Description="Select Company" Type="Lookup" ShowField="CompanyName" Required="FALSE" FieldRef="CompanyName" List="Lists/LookupListDefinition-ListInstance1" ReadOnly="FALSE"></Field>   <nativehr>0x80070057</nativehr><nativestack></nativestack>Invalid data has been used to update the list item. The field you are trying to update may be read only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. My solution is perfectly get deployed on site. I can see the list instance created on site its also appears on quicklaunch. When i am trying to add the item into the custom list using UI then i am getting the input form correctly i can see the lookup values in dropdown list but when i click on save button then its give me an error as mention above. For debugging purpose i have created the event reciver class for list item adding event. In that i have check the column status and

Create discussion list item from another (non-discussion) list item ?

I am looking at creating a custom list to track bugs. I would like to have a comments/description field that either embeds or links to a discussion. is there a way to automate the creation of a discussion item from the bug list item or is the process 1) create bug list item 2) create discussion item 3) paste URL of discussion list item in 2) to the comments field/column in 1) All opinions/thoughts/advice appreciated regards, Counie

Workflow - automatically create discussion item using title field of of custom list item as its subj

Anyone any ideas as to how I can configure SharePoint to create a discussion item using the title of a list item. e.g. user creates list item on a custom list - SP automatically creates a Discussion thread for this list item in the discussions list. I'm guessing this can't be down OOTB . would I be looking at SPD or a coded solution ? regards, Counie

How to get text value of dropdown list box by passing index value


how to get text value of dropdown list box by its index.

i want to read the ddlproject.selectedindex = 0's text and assign it to a variable strProject.


Thank you very much for the helpful info.

'Dropdownlist' has a SelectedValue which is invalid because it does not exist in the list of items


I have a dropdown list that has a bind on it and I get this error. Why am I getting this error and what can I do to fix it. here is the code for the dropdown I currently have:


 <asp:DropDownList  ID="DDLPreferred" AppendDataBoundItems="true" SelectedValue='<%# Bind("PREFERRED_COMMUNICATION") %>'  runat="server" TabIndex="15">
                <asp:ListItem Text="none" Value=""></asp:ListItem>

				<asp:ListItem>Home Phone</asp:ListItem>
				<asp:ListItem>Work Phone</asp:ListItem>
				<asp:ListItem>Cell Phone</asp:ListItem>


'DropDownList6' has a SelectedValue which is invalid because it does not exist in the list of item


In my asp.net page I have a formview.  In the formview's InsertItemTemplate I declare a dropdown list as below:

                                    <asp:DropDownList ID="DropDownList6" runat="server" text='<%# Bind("District") %>'
                                    DataSourceID="SqlDataSource6" DataTextField="District"

Dropdownlist error: SelectedValue which is invalid because it does not exist in the list of items.


I have a dropdownlist in a detailsview edit Item template. Also I have two tables - Employee and Main. In the Employee table I have column EmpId and AssignedTo. In the main table I have EmpId which is connected to the Employee table. 

The detailsView has a label which shows the AssignedTo name for a particular record and it works fine. But if I click the edit button to shwo the dropdownlist in the editItemTemplate it is givig me the above error.

The code is:

<asp:DetailsView ID="dtvAssign" runat="server" AutoGenerateRows

Invalid postback or callback argument (using Cascading dropdown list controls)



i use cascading dropdown lists (in a user registration form) and when the user hits the submit button i get the error:

"Invalid postback or callback argument"


I've seen on the net that this is a problem dating back many years but still haven't found a solution to this.

 I've read about changing EnableEventValidation to false, but this poses a security risk.


Anyone knows a good solution to this? (i'm coding in c#)




Removing the extra Link from quick launch which redirects to Discussion list template?



  I have added the discussion list to my site definition as follws

get the guid =List.add(Name ,Title andListTemplateID.discussion)

I have customized the quicklaunch menu by adding the links

in NavigationCollection .

bu I get the additional link in quick launch  which redirects to _layouts/viewlist /ListemplateId=108And basetypeId=0

How to remove this extra link from quick launch

I tried by NavColl.Delete(Quicklauch[0]) th Item

and web.update.

But its not working


Index (zero based) must be greater than or equal to zero and less than the size of the argument list

Hi, I have installed German and French language packs on my SharePoint 2010 server. After I change the Language settings to be able to select both the languahges as alternate language, I get this error:

Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

It is now not letting me change back the properties back to English only or opening the home page of the site.

Any idea, why this is happening and how can I disable this language pack option from this site collection only so that it works normally as before applying language packs? Do I have to unisnatll language pack for that?

Please guide.


Creating item in discussion list via Workflow.

I have a custom list that starts a workflow when a new item is created.  This workflow creates a new item in a discussion list.

When you click on the new item in the discussion list it displays the page with the Edit Item link at the top.  You do not get the discussion board looking view.  If you attempt to reply, a new top level item is created with "(no title)"and the "Replies" count stays at zero for the parent item.

If you create the discussion manually by clicking "Add new discussion" everything looks and functions as expected.

Any help is greatly appreciated!


When I use the Action "Create item in list" it's using the content type of "Message" when it should be "Discussion."

How do I specify the content type?  Im using Sharepoint Designer to create the workflow.  Yes "Discussion" is the default content type in the list.

Dropdown List in Gridview - While saving the record in gridview the droppdown selected index are cha



I am developing page for maintaing employee record using Visual Studio 2008, MS SQL server 2005.

I am able to fetch and display all the employee information in gridview, the gridview have the dropdown list to display the employee type [ Part Time, Full Time, Permanent , Contract ], in the item template i am having dropdown list. IN the dropdown list i am displaying this.

But While saving the record in gridview the droppdown selected index are changed to 0 of other dropdown list.

the user may be change the dropdown value from permanent to contract, or so. but while click on the save button in gridview, all the previous selection are gone, and always showing the first record of dropdown list. I know this is happening because we are doing dropdown list bind on onRowDataBound.

But i want to retain all the user selection in gridview, please help me how to do this.

thanks in advance.

Discussion List and SP List



I have a sharepoint List Item and discussion List

On creation of the Item in the Sharepoint List I want to create an Item in Discussion List also (Which i can do it with the Workflow - No Probs)

Now On the FLat.aspx I am suppose to show the details of the SP List item.

Any ideas how can i achieve the same??



List Item Update Exception from HRESULT: 0x80040E2F Unexpected query execution failure, error code 3


A thread somewhat simliar to this has been posted before as well, but i just wanted to detail out the issue and circumstances

We have a list with 53 columns and 2600 items(and growing. I know its rubbish, but thats the way it is at the moment). The list was created using SharePoint GUI  on a test server, saved as a template with data, and was then imported to the production environment. I can post the list columns and type if it helps.

Every one in a while, on updating an item, SharePoint throws up the very not so helpful error page with "Exception from HRESULT: 0x80040E2F".

We looked into the logs and found that for each suc error, there was a Database level error logged as well.

The error starts with Unexpected query execution failure, error code 3621. Additional error information from SQL Server is included below. "The statement has been terminated." Query text (if available): "BEGIN TRAN;DECLARE... and runs for many lines so i wont post the entire blurb here.

Each time, the item update is successful, despite this error. The list also has an Item Updated event handler attached to it. Every time the update error occurs, the event handler does not seem to be firing.

Anybody can shed light on what is happening. We have tried exporting the list template to another site and everything seemed to work

SharePoint team discussion list question



In my "Team discussion" list we ask user to select "Departments" from the drop down. Now, I'm creating view for each department so that they can only see their own discussions. But, When I add "Team discussion" list in a web part, I don't get my custom views in "Select View" drop down list. I'm getting only "Subject" view ,

You may refer my question here with screen shot  : http://stackoverflow.com/questions/4076312/sharepoint-team-discussion-list-question


ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend