Environment -
GSP v 2.1.3162
Server - IIS 6 on Windows Server 2003
When I try to upload a photo, sometimes I get the following error:
Code:
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 10/28/2009
Time: 8:22:57 AM
User: N/A
Computer: MDECDWWW2
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/28/2009 8:22:57 AM
Event time (UTC): 10/28/2009 1:22:57 PM
Event ID: e4f56b18c30144dca91794ce77e1f409
Event sequence: 461
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/4/Root/gallery-6-129012096974036930
Trust level: Full
Application Virtual Path: /gallery
Application Path: E:\Intranet\gallery\
Machine name: MDECDWWW2
Process information:
Process ID: 3952
Process name: w3wp.exe
Account name: MDECDWWW2\webmaster
Exception information:
Exception type: IOException
Exception message: The process cannot access the file 'E:\Intranet\gallery\App_Data\_Temp\200910280822561818_396363317_Cockies feeding time 2.jpg' because it is being used by another process.
Request information:
Request URL: http://intranet.mississippi.org/gallery/task/addobjects.aspx?aid=26
Request path: /gallery/task/addobjects.aspx
User host address: 10.240.2.114
User: webmaster
Is authenticated: True
Authentication Type: Forms
Thread account name: MDECDWWW2\webmaster
Thread information:
Thread ID: 7
Thread account name: MDECDWWW2\webmaster
Is impersonating: False
Stack trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at GalleryServerPro.Web.task.addobjects.AddUploadedFilesForFullTrust(UploadedFileInfoCollection files)
at GalleryServerPro.Web.task.addobjects.Upload1_Uploaded(Object sender, UploadUploadedEventArgs e)
at ComponentArt.Web.UI.Upload.OnUploaded(UploadUploadedEventArgs e)
at ComponentArt.Web.UI.Upload.OnLoad(EventArgs args)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The photo is uploaded to the media directory, and if I then synchronize the album, it appears in the album listing. When I check the App_Data\_Temp the file is not there. Then when I go back to the Add media files page, and try to upload another file, a pup up box appears titled "Message from webpage" with the mesage "Upload error: Upload credentials expired."
I then went back to the GSP home page, entered the album again, selected "Add Object", and the upload worked perfectly.
Any suggestions?
Thanks