Solved

SharePoint Error when uploading a document

Posted on 2010-08-22
6
2,411 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

622 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