Error message when Uploading file checked out by other user
WSS 3.0: Hi all, I'm wondering about the Sharepoint behavior when you Upload a file that's checked out by someone else....I guess as it should Sharepoint blocks the user from finishing the Upload when another user has the file Checked out. But I'm curious why it throws such a nasty looking site error when doing so and not something more user friendly? My users think they've really broken something.... Am I going to have to create a custom coded error page? ERROR The file XXXXX.doc has been checked out by USER2 on 4/23/2010 10:54 AM. at Microsoft.SharePoint.ApplicationPages.UploadPage.UploadFile(String& leafName, SPVirusCheckStatus& checkStatus, String& virusMessage) at Microsoft.SharePoint.ApplicationPages.UploadPage.UploadFile() at Microsoft.SharePoint.ApplicationPages.UploadPage.OnSubmit(Object o, EventArgs e) at System.Web.UI.HtmlControls.HtmlInputButton.OnServerClick(EventArgs e) at System.Web.UI.HtmlControls.HtmlInputButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.HtmlControls.HtmlInputButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
April 23rd, 2010 8:57pm

Hi DTGrayston, I think we both agreed that it should be threw errors for your scenario. But in my side, the error is as follows: Error The file Test.docx has been checked out by <UserName> on 4/26/2010 1:26 AM. It would not contain the trace information, I suppose you disabled the custom errors in the web.config file, could you please claify it? Sincerely, Lambert Qin Posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
April 26th, 2010 11:29am

*sigh* @Lambert - Yes that was basically it. You remind me that a few months back I turned on full errors so I could tbshoot a customization on our Sharepoint sites. In web.config reset: customErrors mode="On" & CallStack="false" To stop the detailed error messages. Thank you. David
April 29th, 2010 10:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics