Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1984
  • Last Modified:

Cannot upload large PDF files to sharepoint document directory

I have been trying to upload 5 large PDF files into a new SharePoint site.  That site is a sub-site of our main site.  The files in question are already in the shared documents directory of the main site.  So I know the files were uploaded at one time successfully.  This was done prior to my taking over.

I'm fairly new to SharePoint but I know how to search the web for answers (or I thought I did)

Anyway, I've increased the max file size via the Central Admin console.  I've edited the registry as one post suggested.  I've edited the web.config file.

Everytime I try to use Windows Explorer view to move the file from the main site to the sub-site I get an error telling me "Could not find this item.  This is no longer located in C:\user\username\hold. Verify the item's location and try again."

By way of information I have been able to open each file in it's original location on the main site and do a save as to my user directory on my PC.  

So it doesn't seem to matter whether the file is on my PC or in the library of the share documents folder of the main site it gives me the same error.

I've been working on this for two days now and just can't figure it out...HELP Please!

To explain, I need to move files from the main site to a new site in an effort to organize things and meet US Government compliance requirements to limit access.  Please don't respond by telling me I can set the permissions on a file by file basis, I know that but my company has their own requirements and I have to do what they want not what I'd like to do.  Thanks.
0
tjlannon
Asked:
tjlannon
  • 13
  • 6
  • 2
2 Solutions
 
Justin SmithSr. System EngineerCommented:
How large?
0
 
Rainer JeschorCommented:
Hi,
which Sharepoint version and which edition?
Does the target site has configured quotas?

Thanks.

KR
Rainer
0
 
tjlannonAuthor Commented:
Hi Rainer,

Windows SharePoint Services 3.0 in an SBS 2008 server.  No, we don't have the quota option set.

Thanks,

TJ
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
tjlannonAuthor Commented:
Ach1lles,

The first file is 59.9 meg.  I have SharePoint Central Admin option for file size set to 150 meg files.
0
 
Rainer JeschorCommented:
Hi,
which changes did you made in the web.config?
Did you follow any MS kb entries?
Thanks.
KR
Rainer
0
 
tjlannonAuthor Commented:
Rainer,

The changes I made were in response to another Google search and were done in an effort to get a more robust error message.  I changed Call stack from False to True, CustomErrors from on to off and debug from true to false.  

I didn't get much better error messages and have since set those setting back.

One more note;

When I am in the new site and attempt to use the "Upload a File" setting I can browse to the file located on my PC and click go.  The system waits for a minute then fails and goes to an IE window displaying a 404 error.  This window has an option to return to previous window and I do so.
0
 
tjlannonAuthor Commented:
I'm sorry, I change debug from false to true in web.config.
0
 
Rainer JeschorCommented:
Hi,
OK. This could be just a timeout.
Please verify and follow the steps here
http://support.microsoft.com/kb/925083

Especially the part of "More information" which seems to be exactly your situation.

HTH
Rainer
0
 
tjlannonAuthor Commented:
Ok Rainer, I adjusted the maxruntime execution setting and reran the upload with the same failing results.

While I was in IIS 7 I decided to link to the sharepoint site and try the file copy again.  I can see the file name and size actually appear in the new site share folder while the upload is being attempted but again I get the message that the file is not found and the transfer fails.  As soon as I close out the error message the file disappears from the folder.  Strange, very strange.

Is there something to do with different ?DAV files or Processes?  I see something dealing wiht DAVWWWROOT\ but not the entire line.
0
 
Justin SmithSr. System EngineerCommented:
Do you have WebDav deployed manually on your IIS server (that you know of)?  If so, it can cause conflict with SharePoint sites.

http://learn.iis.net/page.aspx/350/installing-and-configuring-webdav-on-iis/#003
0
 
Rainer JeschorCommented:
Could you perhaps attach the web.config of your SharePoint application?
0
 
tjlannonAuthor Commented:
Ach1lles,
How can I check to find out if I have webdav active.  I never pro-actively did anything with it.

Raainerj,

Sure, I have the web.config attached for your review.
0
 
tjlannonAuthor Commented:
Sorry, here is the web.config
web.config
0
 
Rainer JeschorCommented:
Hi,
you missed this section to add:
  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="52428800"/>
      </requestFiltering>
    </security>
  </system.webServer>

Open in new window


Attached the modified config.

HTH
Rainer
web.config.updated.txt
0
 
tjlannonAuthor Commented:
I guess that section isn't in my config file.  So let me give it a shot with the one you've included and we'll see what happens.

Thank you,

TJ
0
 
tjlannonAuthor Commented:
Rainer,

I just used the new web.config and was able to open explorer view and attempt to upload the file.  It failed again and I have included a screen shot of the results with the error message.

Funny thing is that you can see the file information entered into the target folder but it just never accepts it.  After I click cancel the file is removed and I get an empty folder.
Results.jpg
0
 
tjlannonAuthor Commented:
This is still a problem and the latest message just tells me there is a problem with the web server.  It must be some setting I have that I just haven't found yet.  All suggestions are welcome.
0
 
Rainer JeschorCommented:
Hi,
could you please verify:
Open IIS Manager. Select your virtual server -> Click on properties -> Open the tab "Web site"

What is the value under "Connections" for "Connection time-out"?

(sorry I have currently no IIS7 running - else I would have attached a screenshot)

Thanks
Rainer
0
 
tjlannonAuthor Commented:
That's OK, I don't have any "virtual" servers to click on and get properties.  I've read this approach in some of the MS documentation but I just have our main server and there is no menu item for properties in IIS 7.0 when I right click the server name in the left column.  

I did install the WebDav tool and it said it installed successfully but it never appears in the listing of http items as shown in the screen shot provided by MS.  I'm doing something wrong somewhere.
0
 
tjlannonAuthor Commented:
FIGURED IT OUT!

http://support.microsoft.com/kb/944981

Microsoft has a kb file out there that address this specific issue and has you edit the web.config file.  My issue has been two fold; first I don't have any "virtual servers" and cannot use IIS 7.0 to edit the properties of such a server.  I am however able to right click my related website under sites in IIS 7.0 and edit the related web.config file.  In that file there is no section for: see more after this section...
 <system.net>
<defaultProxy>
<proxy autoDetect="true" />
</defaultProxy>
</system.net>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/>
</requestFiltering>
</security>
</system.webServer>
</configuration>

more... so I simply found the section for <requestLimits maxAllowedContentLength="52428800"/> and edited it making it 124¿288¿000 bytes which gives me 108 meg.  

This simple step worked like a champ and I have now been able to move those large files from the main site to my sub site.

Thank you to all who tried to help and I hope my explanation here will help someone else out there who doesn't have a virtual setup.
0
 
tjlannonAuthor Commented:
Just awarding 100 points for a partial solution.
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 13
  • 6
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now