Solved

SharePoint Error when uploading a document

Posted on 2010-08-22
6
2,391 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Industry Leaders: 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!

 

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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