OS = Windows 2003 Server
At the end of upload this happens. I believe the problem is when it attempts to save the file because everything seems to work fine until the end then it starts retrying...
This happens with all types of files.
<%@ Page Language="C#" MasterPageFile="~/Infonog.Master" AutoEventWireup="true" CodeBehind="Uploader.aspx.cs" Inherits="Infonog.Uploader" Title="Infonog" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Body" runat="server">
<script src="../iuembed.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
var bitBucket = 0;
var desktop = 1;
var myComputer = 2;
var myDocuments = 3;
var myMusic = 4;
var myPictures = 5;
var myVideo = 6;
var network = 7;
function changeView(view){
getImageUploader("ImageUploader1").setFolderView(view);
}
//Check if appropriate special folder (My Documents, Desktop, etc) exists.
//If some of these folder is missing, hide appropriate button.
function checkButton(name, folderId){
if (getImageUploader("ImageUploader1").CanGoToFolder(folderId)){
document.getElementById(name + "Holder").style.display = "block";
}
}
//window.onload = function(){
function FullPageLoad(){
checkButton("Desktop", desktop);
checkButton("MyDocuments", myDocuments);
checkButton("MyComputer", myComputer);
checkButton("MyPictures", myPictures);
checkButton("MyVideo", myVideo);
checkButton("Network", network);
}
//]]>
</script>
<br />
<br />
<table border="0" cellpadding="0" cellspacing="3" bgcolor="#202020" style="padding-right: 20px; padding-bottom: 20px">
<tr>
<td align="left" colspan="1" width="10">
</td>
<td align="left" colspan="2" style="padding-left: 10px; font-size: 20pt; padding-bottom: 10px;
color: #4682b4; padding-top: 10px; font-family: Arial; padding-right: 20px;">
File Uploader
<button class="Button" onclick="getImageUploader('ImageUploader1').SelectAll();"
title="Select All" type="button" style="width: 100px; height: 33px">Select All</button>
<button class="Button" onclick="getImageUploader('ImageUploader1').Send();" title="Upload"
type="button" style="width: 94px; height: 33px; font-weight: bold; font-size: 12pt;">Upload</button>
<button class="Button" title="Close" type="button" style="width: 70px; height: 33px" id="Close" onserverclick="Close_ServerClick" runat="server">
Close</button></td>
</tr>
<tr>
<td align="right">
</td>
<td align="right" style="padding-right: 10px;">
<span style="color: whitesmoke; font-family: Arial">
Look in:</span></td>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed ShellComboBox to the page.z
var sc = new ShellComboBoxWriter("ShellComboBox1", 420, 24);
//For ActiveX control full path to CAB file (including file name) should be specified.
//sc.activeXControlCodeBase = "../ImageUploader5.cab";
//sc.activeXControlVersion = "5,5,1,0";
//For Java applet only path to directory with JAR files should be specified (without file name).
//sc.javaAppletCodeBase = "../";
//sc.javaAppletCached = true;
//sc.javaAppletVersion = "5.5.1.0";
//Configure appearance.
sc.addParam("BackgroundColor", "#303030");
//Link ShellComboBox with ImageUploader
sc.addParam("AdditionalFolderNavigator", "ImageUploader1");
//Tell the ShellComboBox writer object to generate all necessary HTML code to embed
//it to the page.
sc.writeHtml();
//]]>
</script>
</td>
<td align="right">
<button class="SmallButton" onclick="getImageUploader('ImageUploader1').GoToPreviousFolder();"
title="Back" type="button">
<img alt="Back" class="Icon" src="Images/Icons/Back.gif" /></button>
<button class="SmallButton" onclick="getImageUploader('ImageUploader1').GoToParentFolder();"
title="Up" type="button"><img alt="Up" class="Icon" src="Images/Icons/Up.gif" /></button>
<button class="SmallButton" onclick="changeView(0);" title="Thumbnails" type="button"><img alt="Thumbnails" class="Icon" src="Images/Icons/Thumbnails.gif" /></button>
<button class="SmallButton" onclick="changeView(3);" title="Details" type="button"><img alt="Details" class="Icon" src="Images/Icons/Details.gif" /></button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
</td>
<td class="LeftPanel" valign="top">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="ShortcutPanel" valign="top">
<table>
<tr id="DesktopHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(desktop);"
title="Desktop" type="button">
<img alt="Desktop" class="Icon" src="Images/Icons/Desktop.gif" /><br />
Desktop</button>
</td>
</tr>
<tr id="MyComputerHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myComputer);"
title="My Computer" type="button">
<img alt="My Computer" class="Icon" src="Images/Icons/MyComputer.gif" /><br />
My Computer</button>
</td>
</tr>
<tr id="MyDocumentsHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myDocuments);"
title="My Documents" type="button">
<img alt="My Documents" class="Icon" src="Images/Icons/MyDocuments.gif" /><br />
My Documents</button>
</td>
</tr>
<tr id="MyPicturesHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myPictures);"
title="My Pictures" type="button">
<img alt="My Pictures" class="Icon" src="Images/Icons/MyPictures.gif" /><br />
My Pictures</button>
</td>
</tr>
<tr id="MyVideoHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myVideo);"
title="My Video" type="button">
<img alt="My Video" class="Icon" src="Images/Icons/MyVideo.gif" /><br />
My Video</button>
</td>
</tr>
<tr id="NetworkHolder">
<td>
<button class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(network);"
title="Network" type="button">
<img alt="Network" class="Icon" src="Images/Icons/Network.gif" /><br />
Network</button>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td style="padding-bottom: 20px">
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 550, 450);
//For ActiveX control full path to CAB file (including file name) should be specified.
//iu.activeXControlCodeBase = sc.activeXControlCodeBase;
//iu.activeXControlVersion = sc.activeXControlVersion;
//For Java applet only path to directory with JAR files should be specified (without file name).
//iu.javaAppletJarFileName = sc.javaAppletJarFileName;
//iu.javaAppletCodeBase = sc.javaAppletCodeBase;
//iu.javaAppletCached = sc.javaAppletCached;
//iu.javaAppletVersion = sc.javaAppletVersion;
iu.showNonemptyResponse = "off";
//Configure appearance and behaviour.
iu.addParam("PaneLayout", "TwoPanes");
iu.addParam("FolderView", "Thumbnails");
iu.addParam("UploadView", "Details");
iu.addParam("PreviewThumbnailSize", "100");
iu.addParam("ShowButtons", "false");
iu.addParam("ShowSubfolders", "true");
iu.addParam("ShowDescriptions", "false");
iu.addParam("ShowContextMenu", "false");
iu.addParam("ShowDebugWindow", "false");
iu.addParam("ShowUploadCompleteMessage", "false");
// Not working
iu.addParam("CheckFilesBySelectAllButton", "true");
iu.addParam("ShowDebugWindow", "true");
// TODO: uploaded originals not rotated.
// Allow image rotate
iu.addParam("AllowRotate", "true");
iu.addParam("AllowMultipleRotate", "true");
iu.addParam("AllowAutoRotate", "true");
//Configure colors.
iu.addParam("PaneBackgroundColor", "#ffffff");
iu.addParam("BackgroundColor", "#ffffff");
iu.addParam("PreviewThumbnailActiveColor", "#f8b330");
iu.addParam("PreviewThumbnailInactiveColor", "#eeeeee");
//Hide tree pane.
iu.addParam("TreePaneWidth", "-1");
//Allow upload not only files, but also entire folders.
iu.addParam("AllowFolderUpload", "true");
//Single or multiple file selection.
//iu.addParam("AllowMultipleSelection", "false");
//Link ImageUploader with ShellComboBox.
iu.addParam("AdditionalFolderNavigator", "ImageUploader1");
//Configure file mask to display images only.
//iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tif;*.tiff;*.psd");
//Configure thumbnail settings.
iu.addParam("UploadThumbnail1FitMode", "Fit");
iu.addParam("UploadThumbnail1Width", "128");
iu.addParam("UploadThumbnail1Height", "128");
iu.addParam("UploadThumbnail1JpegQuality", "80");
//Configure upload settings.
iu.addParam("Action", "FileUpload.aspx?T=0");
iu.addParam("FilesPerOnePackageCount", "1");
iu.addParam("AutoRecoverMaxTriesCount", "3");
iu.addParam("AutoRecoverTimeOut", "10000");
//Configure URL where to redirect after upload.
iu.addParam("RedirectUrl", "AdvanceView.aspx?F=Documents");
iu.fullPageLoadListenerName = "FullPageLoad";
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
//]]>
</script>
</td>
</tr>
</table>
</asp:Content>