Welcome :Guest
Congratulations!!!

Top 5 Contributors of the Month
Manish

Hi,

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.

http://support.microsoft.com/?id=928169

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.

Regards

Ram

&n

### Uploading Large files via Web Service | HTTP Error 413 - Request Entity Too Large.

Hello all -

I am trying to implement a Web Service, which accepts a binary file as a byte array for one of its parameters.  It's workings are based on this article:

Anyhow, the size of the file can be significant as the types of files being uploaded through the service are MP4 Video files.  The service works on my WinXP SP2 localhost, but when I implement it onto a 2003 Server and try to consume the service, I get the following error back from the web service:
The request failed with HTTP status 413: Request Entity Too Large.

I do a little searching around and find a few articles indicating that I need to adjust my "MaxReadAheadLength" property in IIS.  A good example of one of those articles is here:

The suggestion from the article is to execute the following command on the web server:

FYI, the adsutil.vbs is in your IIS's AdminScripts directory.  I'm guessing that the /1/ part of the command is th

### Error adding a document library to a site

Hi,

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?

hi, While uploading a document , it says 'unknown error' after loading long time. while checking in log file, no entry with respect to this. How to find the cause of this Issue. Please Guide me

### "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.

### List data validation failed error checking in dockument and uploading to library.

If I upload a document to the "vanilla" Document Library at the root site (I have not created sub sites yet, we are in the testing phase), the document does get uploaded but the following error appears: Error List data validation failed.   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 0928c39a-f2d7-4ce6-8057-62cc01c6a951 Date and Time: 6/16/2010 5:27:58 PM Go back to site -------------------------------------------------------------------------- The doc has uploaded but is automatically checked out to me I am logged on as the ADMINISTRATOR Account Now if I try and discard the check out, it will fail as there is no original checked in version. If I try and click Check in, then the same error appears Help

Hi all, I want to upload the doc file into SharePoint document library using the FileUpload control. For that I am created a new document library in my SharePoint site. But I am not getting the path of Document library where I want to upload the file. Waiting for your valuable response. Regards,-Kaustubh

### ASP.NET 4.0 FormsAuthentication Transition (HTTP Error 400 - Bad Request.)

Hi everyone, I have been developing a webapp with vs2008 with .net 3.5 and yesterday moved to vs2010 and .net 4.0. I moved the solution folder to my new computer with vs2010 and it began the process of converting it for .net 4. After this everything appears to work fine but now when i use the login page i get a HTTP Error 400 - Bad Request when redirected to the client area page when i succesfully login, i dont know why this is happening. If I have take out the %2f from the url and replaced it with / the pages loads fine? why has this suddenly stopped working? Any ideas as to why has sudddenly started happening?!

### Programmatically Uploading a Documents into a Document Library using web part ?

Hii, Can anyone can help me how to upload the documents to the document library in sharepoint foundation using customization for what our deafult upload.aspx will do !!!!! Thanks in advance !!!! Rgrds//Praveen

### WCF HTTP POST - The remote server returned an error: (400) Bad Request. - URGENT

client & sever code below-------------------------------------------- [ServiceContract(Namespace = "http://test.mydomain.com")] public interface IMyService{[WebInvoke(UriTemplate = "", BodyStyle = WebMessageBodyStyle.Bare, Method = "POST")] Stream SaveXML(Stream input); } ----------------------[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] [ServiceBehavior(Namespace = "http://test.mydomain.com")] public class MyService : IMyService{ ÃÂ public Stream SaveXML(Stream input)ÃÂ ÃÂ  { ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  StreamReader streamReader = new StreamReader(input);ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  string rawString = streamReader.ReadToEnd();ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  streamReader.Dispose(); ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  // here need to save the input stream to xml format fileÃÂ  ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  //ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  Encoding encoding = Encoding.GetEncoding("ISO-8859-1");ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  WebOperationContext.Current.OutgoingResponse.ContentType = "text/xml";ÃÂ  ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  byte[] returnBytes = encoding.GetBytes(rawString);ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  return new MemoryStream(returnBytes);ÃÂ ÃÂ  } } --------------------------------------------------Client Code ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  string postData = GetXmlString("d:\\text.xml"); // user functionÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  WebRequest request = WebRequest.Create("http://test.mydomain.com/myservice.svc");ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  request.Method = "POST";ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ ÃÂ  byte[] byteArray = Encoding.UTF8.GetBytes(p

Hi i am writing a event receiver to get the file creation date after the document is uploaded to the document library.

When a document library is uploaded to a document library the created date is overwriten by the uploaded date.

issues 1) i am not getting the folder path to get the filecreation date for system.io.file.getcreation() method

  public override void ItemAdded(SPItemEventProperties properties)
{
try
{

properties.ListItem["Created"] =CreationTime(date);
properties.ListItem["Title"] = itemurl;
properties.ListItem.Update();

}
catch (Exception ex)
{

}

}

public CreationTime(SPItemEventProperties properties) {

try
{

using (SPSite site = new SPSite("http://test"))
{

SPWeb oWebsiteSrc = site.OpenWeb();

SPFileCollection fileCollection = oWebsiteSrc.Files ;

//get the filelocation of the current document library
string filepath = fileCollection.Web.Lists["test"].Folders.ToString();

SPList oList = site.AllWebs["jtest"].Lists["test"];
SPFolder folder=oWebsiteSrc.Files.Folder;

SPListItem fileitems =oWebsiteSrc.Lists["test"].Items[0] ;


### 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

### 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

### 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
 Categories:
 ASP.Net Windows Application .NET Framework C# VB.Net ADO.Net Sql Server SharePoint Silverlight Others All