.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

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

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

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

    View Complete Post

More Related Resource Links

Error adding a document library to a site



I am receiving the error "Cannot complete this action.  Please try again"  when trying to add a document library to one of the sites.  This is Sharepoint 2007 SP1.  I seem to be able to do it thru designer but not the web interface.

Does anyone know how to fix this?

HTTP 400 Bad Request Error when uploading to document library


I am running MOSS 3007 Standard on Windows 2003. When trying to upload files larger than about 29Mb, I am getting an HTTP 400 Bad request error. The error states "HTTP Error 400 - Request is badly formed." I am able to successfully upload a 28Mb file. Sharepoint is configured to accept files up to 75Mb.

I have done a fair amount of research on this, but none of the solutions seem to apply to our environment. The two most likely candidates do not apply, for example we are NOT running URLScan (there are a variety of solutions suggesting this could be an issue with uploads of 30Mb or more), and we are on 2003 with IIS6, so again the issue relating to 2008 and IIS7 do not apply.

The "Request is badly formed" part of the request is particularly confusing as most issues I have come across where this error is the symptom point to errors in custom code that is trying to talk to SharePoint. We have done none of our own custom coding and this error is occurring when attempting a simple upload to a document library.

Trying to drag and drop the file across when the document library is open in windows explorer also fails.

I did come across someone saying they had a similar problem which was caused by a damaged content database, however in this case, it is occuring regardless of which content database I use, so either they are all corrupt

"This document could not be checked out" error in IE with SP2010 doc library

We created a document library in Sharepoint 2010 and configured it to require checkout. Via Internet Explorer, users click on a document in the library and choose "Check Out and Edit". They get the error message "This document could not be checked out. You may not have permission to check out the document or it is already checked out or locked for editing by another user". We confirm that the document is not checked out to anyone else. The user is able to open the document Read Only from IE and then check it out in the application (for example, they can click the Check Out button in Word 2007 successfully), so the problem seems to be IE related. We have tried adding the Sharepoint site in the Trusted Sites and Local Intranet zones in IE, but it doesn't make a difference.Any suggestions?Thanks.

Uploading a file to a document library produces access denied error, but only on first try.

Hi I have a task which uses a custom form which is part of a custom workflow.  The form incorporates an asp fileUpload control to allow a user to browse for a local file which they can then select and it will be upload a file to a folder in a document library.  The first time this action is performed the folder in the document library will not exist so the code creates a folder and then uploads the file to it. The problem I have is, the first time users try and upload a file the directory is created in the document library as expected, but then the user gets redirected to the standard SharePoint Access Denied page.  If the user goes back to the task list, then loads the task web page again, selects the same file and hits upload, then the file is uploaded fine. All subsequent file uploads work fine after that for all users. Users have Contribute permissions on the document library. The code to do the upload is as follows.  The task has a "CR Number" associated with it, which the directory in the doc library should be called.  It uploads the file to a stream.  Then gets the url of the web and works out the file url and uploads it.  The creation and checking of the folder in the doc library happens in the getDirUrl method. /// <summary> /// Processes an uploaded file. /// </summary> /// <param name="

ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error

RE: ASP:Upload control . Uploading into a SharePoint Document Library Subfolder and FILE NOT FOUND error Two Issues, apparently unrelated. I have subfolders like this /ApplicantDocuments/20 and /ApplicantDocuments/21 (where 20 and 21 are my subfolders and ApplicantDocuments is my library. 1. The below function is erroring with file not found, but I confirmed I'm sending the fully qualify path (i.e c:\test.txt) to System.IO.FileStream content = System.IO.File.Open(documentFileName, System.IO.FileMode.Open); 2. Even if it worked, looking at the code, I'm not using argument foldername.  I'm passing 20 to the argument. How can I make sure it uploads into subfolder 20 of ApplicantDocuments? Thank you.     Just testing in test environment. Will tighten code once it works.   public void UploadDocumentToSite(string foldername, string documentFileName) {      SPSite siteCollection = new SPSite("https://xxxxxx");      SPWeb web = siteCollection.OpenWeb();      //SPSite.AllowUnsafeUpdates = true;      //Web.AllowUnsafeUpdates = true;      string Lib = "ApplicantDocuments";      SPFolder destFolder = web.GetFolder(Lib);      sendmail(documentFileName+" "+foldername);  

Currency and number column error with office 2007 document formats in SharePoint 2010 library

Hi there,



The following error occurred within a SharePoint 2010 document library:

As I tried to test out the new SharePoint 2010 environment I changed the metadata from a few documents within a document library. I noticed that the data from the currency und number field was incorrect from a few documents. The numbers looked like that the decimal separator were ignored. For an example: 123.456,78 was saved as 12.345.678.

At first I thought it could be a language incompabilty but if that would be the case: Why would there be other documents which show the correct number?


I created another document library to recreate this error. And there I noticed the real reason: Every time I changed these fields from a document which was saved in the office 2007 format the error occurred. The metadata from the documents in the office 2003 format were correct.


Has anyone a similar problem or got an idea how to solve this problem?


System Specs:

Frontend: Windows Server 2008 SP2 ent

Error while downloading and uploading Documents from document library



We have a set of documents in a document library, which we are trying to download. if i click on the document and try to download, it takes a lot of time and then reports a error message.

Exception from HRESULT: 0x80041050

Now when we also try to upload documents, it does not allow us to upload the documents and reports a exception.

We tried to research through through the error, it gaves us while downloading the document, it is somewhat related to the Antivirus issues and looks like a document that is infected. This is only related to some documents and not all documents.


Let us know if there is any where to work around this issue and allow users to upload and download documents or how to tackle the antivirus issue.


It looks like the SharePoint antivirus has flagged off some of the so-called infected documents with some non-zero values, the resolution to this as suggested by microsoft is to re-run the anti-virus, so that the document value can be set to zero again and have the file downloaded.

Your help will be highly appreciated in this regards.







Getting error msg while trying to upload a document inot the document library using the form which i


I have designed an upload form with the columns that have to be filled in while uploading a document into the document library.The form is designed in .net.

I get "Error Access Denied" message when i try to upload the document using that upload form.When i go back to site,the document is uploaded in that particular document library.But this problem doesnot exist when i upload the document as admin.There is no " Error Access Denied" message.I have checked the document library permissions.The problem is not with the permission to that particular document library.

Can someone help me out in this issue?

Restore a previous version of a document in a document library - error

  When I try to restore a previous version of a document in a document library, I get this error message:

"Updates are currently disallowed on GET requests. To allow updates on a GET, set the AllowUnsafeUpdates' property on SPWeb"

I am NOT running any custom code anywhere on my SharePoint site 

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



delete document button in ribbon gives javascript error: g is not a function



We have a default SharePoint 2010 installation. So an out of the box site template, out of the box document libraries/lists etc, out of the box theme (default one) etc.

When we check the checkbox next to a document in the shared documents library, the tab in the ribbon automatically switches to the document tab. In this tab there is a button "delete document". When I click that I get a confirmation request, I click OK, and then I get a little yellow box in the upper right corner that tells me SharePoint is deleting the document, and then nothing happens.

The document stays where it is, no refresh of the page as SharePoint should do...

I have a javascript error, and in FireFox it tells me "g is not a function" on line 2 of the file inplview.js?rev=AohvE9XEf%2FI78tuaw1TGAA
Line 2 contains like 100 javascript functions on the same line, so it's impossible to find out which function or command throws the error.
This is not a file created by me, so I guess it comes with SharePoint and that I should not touch it.

So what do I do now?
I have another server that we use for SharePoint testing, and there the button works as it should, so it's not SharePoint either...
Problem is that we use this server to give basic SharePoint trainings to our employees, so it's not a very good start

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

WebResource.axd error on Document library with group by display



I'm currently experiencing an error when accessing our SharePoint Extranet site.  When accessing it on a public network and browsing to this document library, when trying to expand the group by categories, IE spits out an error that reads:

Errors on this webpage might cause it to work incorrectly.

Access is denied
Line: 85 Char:9 Code:0
URI: url path to our external address, followed by WebResource.axd+numbers/letters

This error does not occur when hitting the site internally.  Any guesses on what is causing this and what can be done to correct it?


Site Admin Can't Delete Content In Document Library



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?


Creating a new document library - Unknown error


when creating a new document library on our site, we get an unknown error

the libraries create fine on the subsites just not on the top level sites.

Sharepoint Customiser

Cannot delete an item from my Document Library


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

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