Solved

SharePoint Error when uploading a document

Posted on 2010-08-22
6
2,384 Views
Last Modified: 2012-05-10
Hi all

Really hope someone can help me here

We have a WSS 3.0 server here that has worked fine up until Friday last week. Basically when attempting to upload a document to a repository it throws the following error

"The URL 'Documents/ECDR Errors.doc' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.   at Microsoft.SharePoint.Library.SPRequestInternalClass.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
   at Microsoft.SharePoint.Library.SPRequest.PutFile(String bstrUrl, String bstrWebRelativeUrl, Object varFile, PutFileOpt PutFileOpt, String bstrCreatedBy, String bstrModifiedBy, Int32 iCreatedByID, Int32 iModifiedByID, Object varTimeCreated, Object varTimeLastModified, Object varProperties, String bstrCheckinComment, UInt32& pdwVirusCheckStatus, String& pVirusCheckMessage)
Troubleshoot issues with Windows SharePoint Services. "

Does anyone have any ideas about this one??

Thanks heaps
0
Comment
Question by:joseph_altman
  • 3
  • 2
6 Comments
 
LVL 2

Assisted Solution

by:Larso76
Larso76 earned 250 total points
ID: 33499208
It seems the error is being thrown when the virus check runs. If you use a virus scanner turn it off temporarely and try again.

Other than that check if you have any event receivers running that are trying to do things to the uploaded document that causes an error to be thrown.
0
 
LVL 10

Assisted Solution

by:Minesh Shah
Minesh Shah earned 250 total points
ID: 33499308
0
 

Author Comment

by:joseph_altman
ID: 33506726
Thanks for the replies!

Larso76 - I turned off the Virus scanner on both workstation and server - No luck

MineSharePoint - Mate do you know what schema.xml I need to modify?
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:joseph_altman
ID: 33506740
MineSharePoint - Sorry mate - Mixed up between 2 thing - Didnt mean schema.xml - Meant to say which aspx page requires the change?
0
 
LVL 10

Expert Comment

by:Minesh Shah
ID: 33508689
in feature.xml

This error will occur when activating a feature containing a module if you prefix the "Url" attribute value of the "Module" element with a slash:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <Module Url="/_cts/FOLDER" Name="Modules">
    <File Path="ModulesTemplate.dotx" Url="Template.dotx" />
  </Module>
</Elements>

 
 
0
 

Accepted Solution

by:
joseph_altman earned 0 total points
ID: 33554898
Sorry guys its been a hectic week - So the issue ended up being a corrupted SQL Log file - I backed up the db and truncated the log file - All errors went away ;)

Thanks for your help guys!!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
There is one common problem that all we SharePoint developers share: custom solution deployment. This topic can't be covered fully in this short article, so all I want to do in this one is to review it from a development-to-operations perspectiv…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question