Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
allang68  
#1 Posted : Sunday, August 31, 2008 2:56:46 PM(UTC)
allang68

Rank: Newbie

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 2

v5.5 and FireFox 3.0

I keep getting the Waiting to Retry message...

Works fine in IE 7 and Safari 3.
Dmitry  
#2 Posted : Sunday, August 31, 2008 10:31:57 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Could you explain the problem with Image Uploader Java in more detail?
  • What operation system you use?
  • On what phase you experience the problem? When applet starts or when you walk through the folders, etc?
  • Could you give me client script used to embed Image Uploader?
  • What size of images and how many of them you try to upload?
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
allang68  
#3 Posted : Monday, September 1, 2008 4:05:05 AM(UTC)
allang68

Rank: Newbie

Groups: Member
Joined: 2/5/2008(UTC)
Posts: 2

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 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
&nbsp;
<button class="Button" onclick="getImageUploader('ImageUploader1').SelectAll();"
title="Select All" type="button" style="width: 100px; height: 33px">Select All</button>
&nbsp; &nbsp;
<button class="Button" onclick="getImageUploader('ImageUploader1').Send();" title="Upload"
type="button" style="width: 94px; height: 33px; font-weight: bold; font-size: 12pt;">Upload</button>
&nbsp;&nbsp;&nbsp;&nbsp;<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>
Dmitry  
#4 Posted : Tuesday, September 2, 2008 9:34:51 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Thank you.

Could you copy here the content of Java Console also? Please, read Using Java Console for reference.

Edited by user Tuesday, October 28, 2008 8:30:56 PM(UTC)  | Reason: Not specified

Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.