Solved

SharePoint Error when uploading a document

Posted on 2010-08-22
6
2,356 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have just recently built a new SharePoint 2007 farm on a complete Windows 2008 R2 server platform and part of my standard build procedure is to implement a warm up routine, usually in the form of a script that is scheduled every morning to launch …
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
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.

746 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

10 Experts available now in Live!

Get 1:1 Help Now