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


Top 5 Contributors of the Month
Abhijit
Post New Web Links

Cannot delete an item from my Document Library

Posted By:      Posted Date: November 16, 2010    Points: 0   Category :SharePoint
 

I have a document library which has multiple content types. I created one document of one the content type now when i try to delete the item it says Sorry! You cannot change items which You are not owner of!

But i created the item and i am the site collection administrator of the whole site. I have full control to the library.

If i sign in as Farm Administrator then i can delete it else it always gives me this error Sorry! You cannot change items which You are not owner of!

Any ideas anyone


kukdai


View Complete Post


More Related Resource Links

Creating a new document in Document Library from custom menu item (in the ECB)

  
Hello! I created a custom menu item in the ECB for a document library. I'd like for this to create a new document from this menu item. Additionally, I'd like to create a workflow where the Title of the document from which the menu action originates is inserted into a custom textfield in the new document that is created. Is this possible using SharePoint Designer?

Item/Document permissions affect Library/List permissions

  
When I change the permissions on a item/document in a library/list the permissions are also changed on the library/list even though I stopped inheritance.  When I change the permissions on the library/list it also changes permissions on items/documents in that list even if inheritance is removed.

Customizing Send To Other Location Functionality for a document library item in Moss 2007

  
Hi All i have a requirment to customize the Send To Other Location funtionality. while using OOTB Send to Other Location option for a document library item we have  selection like Prompt the author to send out updates when the document is checked in? <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateYes" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes">Yes</label> <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo" checked="checked" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateNo" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo">No</label> how we can set this option in my custom coding based on the user selection. i am not able to understand the functionality of the above option. can any one please explain the above option and let me know how to set this option programmtically in my custom code.   Thanks in Advance  muthu

Multiline text field in document library and item update from Word trouble

  
Hi I have faced a bit of odd problem. Here is the scenario: I have document library with text columns (multiple lines of text) that are set to unlimited length. I have a workflow that runs with Word documents (.docx) that stores information in XML to this field. Everything works perfectly until document is edited in Word and saved back to document library. After Word saves my document in document library, the multiline text field is "cutted", only 7 rows of text is saved to my field. I have tried hiding my text field, making it sealed or readonly, but still Word breaks my field. Funniest thing is that when editing document in Word, this field should not have any changes (meaning that I dont show my "long text field" in document information panel back in Word). I have tried also creating event handler to handle itemupdating event in document library where I switch spweb.parserenabled property to false and in itemupdated event I switch it back on. Also I have tried to remove all line changes from XML with no luck. This XML saving to long text field works perfectly with many other places but in this one environment this does not seem to work :( I am looking forward to any suggestions what to try next. I have been wondering about using the eventhandlers and trying to "protect" my text field with some logic but that is still just a thought.   T

document library item viewer

  
Hi all, How we can make a document library item viewer? More like the document viewer. I have several file extension in a document library: eml, doc, and tiff. I want to put the viewer in the search result page. so when a user click 1 row it will show the item preview, no matter the extension.Best regards, -- Pingkan --

Document Library and Data View - New Item

  

I want to add a Data View WebPart to upload a new document to a SharePoint Document Library.

What I'm aiming to do is to have a list item displayed on a page and then upload related files to a document library rather as list item "attachments".  So the user would come on to the page, see the list item and have an upload box underneath with all the document's metadata next to the upload  Can this be done using SPD?

I've had a quick look around and I'm suspecting the answer to this is "NO" but I thought I'd ask anyway.

(I'm thinking custom webpart)


how to do checkin,checkout,undocheckout,delete operations for sharepoint 2007 document library file

  

i hope your understood my problem...

please suuggest me with your coading skills.....

thanks & regards

jilani

 


Delete document library throws "Exception from HRESULT: 0x80040E14" error

  

I am running WSS 3.0 SP2 running the Feb 2010 cumulative update. I have a particular document library I am attempting to delete. When I click on delete in the GUI, I get a page that says "Exception from HRESULT: 0x80040E14". Everything I've found so far on the web says this is caused by a SQL server that is out of space. That is not the problem in my case.

Additionally, I have looked at the logs in Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\LOGS and found the root cause. When I try to delete this document library, two errors are added to the log. They are

  • 06/16/2010 09:45:55.72     w3wp.exe (0x1798)                           0x0D44    Windows SharePoint Services       Database                          6f8g    Unexpected    Unexpected query execution failure, error code 8144. Additional error information from SQL Server is included below. "Procedure or function proc_SecGetI

How to hide/remove "Alert Me" action menu item from Custom List/Document Library?

  

Hi All,

 

I am using Sharepoint 2007 (MOSS).

I want to hide/remove "Alert Me" action menu item from Custom List/Document Library for my Sharepoint site.

 

any help will be appreciated.

 

Thanks...


Efficiently delete documents from large document library

  
I am using the SPWeb ProcessBatchData method (plus disabling the recycle bin while it runs) to delete all documents from a document library, but it still seems painfully slow to me. A document library with 5,300 documents and 2.7 GB took roughly 3 hrs & 40 min to delete all documents. I'm running SQL Server on a Xeon CPU 3.06 GHz, 4.75 GB RAM and SAN storage. Do you know if this performance is in the expected range for this delete operation? Or, if not, do you have any ideas what might be causing the bottleneck?

Delete document from document Library Using Document ID.

  

Dear All,

I have enable Document Id feature in my SharePoint 2010 site. I want to delete document from document library using document ID.

Can you please tell how I can achive this functionality?

 


Thanks, Sachin Jagtap

SharePoint infopath item url in document library

  

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check

SharePoint infopath item url in document library

  

I am in big problem which is very simple I believe for you. Hope someone will help me out.

I have a site in 3 environments. DEV, Staging, Production. I have a document library which has the infopath form template enabled in it and user has 3 infopath tempaltes in new button of library toolbar. User selects the template and save the infopath to the document library. A workflow is added on the library when a new item is added and it will trigger and fired on the item.

In the workflow I am writing some description and infopath url in it. In staging when I check the url, it is sending as below:

http://sharepoint/praveen/PHX10-SC130/_layouts/FormServer.aspx?XmlLocation=/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml&OpenIn=browser

The above is the format I actually needed to open infopath form in browser instead of client application.

But, when I check for the url in the mail from any other environment like dev or production, it is sending as below:

http://sharepointsite.com/praveen/PHX10-SC130/ProjectReports/Released/Report%202010-10-28.xml

But, this is opening the item sometimes in Infopath client and some times it is prompting for open, save and save as option in browser.

All environments are having the same site and configuration. I have check

How to insert item in document library along with document

  
HI,

  I have a Document library, i want to upload the document along with other column information, can any one help me with code how to insert a item to document library along with document.

Event receiver while item adding in a document library in SharePoint2010

  

Hi,

In my SP site i have various document sets.while i adding a new doc in the document set,i have to find the document belongs to which document set.I want to do it an event receiver..Please help me.


Site Admin Can't Delete Content In Document Library

  

Hello,

I am the admin of a site and need to delete a version of a document someone else uploaded into a document library. In other libraries, when I hover over the document, I get the drop-down which contains the "Edit Item, Open In... and Delete". In the particular library, I don't get that menu. Any ideas why?

 


Event receiver while item adding in a document library in SharePoint2010

  

Hi,

In my SP site i have various document sets.while i adding a new doc in the document set,i have to find the document belongs to which document set.I want to do it an event receiver..Please help me.


Categories: 
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