Solved

SharePoint Error when uploading a document

Posted on 2010-08-22
6
2,368 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now