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

Notification

Icon
Error

Options
Go to last post Go to first unread
gmoon0129  
#1 Posted : Thursday, February 01, 2007 11:55:16 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

I am using Image Uploader dual 4.1 and I am having trouble with Internet Explorer (Active X version only).

About 50% of the time we are getting the error message 'Some Unexpected Error Occurred'. I know the help file suggestions that this is related to a connection problem but that doesn't add up in our case. On the same computer the Java version work perfectly in Firefox. In addition, when I disable the ActiveX version and run Java in IE it also works flawlessly. This is in IE 6.

We have testing the extensively with at least 20 attempts using each method.

We also testing this with the online demo on the Aurigma site. It seemed to work ok there. We didn't receive any errors. Which makes me think it is something in our code. I will include it below.

Thank you for your help.

Code:
<script language="javascript">

// change view
function ImageUploader_ViewChange(){
    document.getElementById("selectView").selectedIndex =    window.ImageUploader.getFolderView();
}
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText) {
       if (Status == "COMPLETE"){
    //StatusText contains response from  <br>
    window.location="success.asp?filecount=" + StatusText;
		//window.location.href="success.asp?filecount=" + StatusText;

	}
}

var iu = new ImageUploaderWriter("ImageUploader",563,422);

//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = "ImageUploader4.cab";
iu.activeXControlVersion = "4,1,1,0";

//For Java applet only path to directory with JAR files should be specified (without file name).
//iu.javaAppletCodeBase = "";
iu.javaAppletCached = true;
iu.javaAppletVersion = "2.1.1.0";

iu.showNonemptyResponse = "off";

iu.addParam("Layout", "ThreePanes");
iu.addParam("FolderView", "Thumbnails");					
iu.addParam("UploadView", "Thumbnails");				
iu.addParam("PreviewThumbnailSize", "86");

iu.addParam("UploadThumbnail1FitMode", "fit");
iu.addParam("UploadThumbnail1Width", "87");
iu.addParam("UploadThumbnail1Height", "87");
iu.addParam("UploadThumbnail1JpegQuality", "70");
iu.addParam("UploadThumbnail2FitMode", "fit");
iu.addParam("UploadThumbnail2Width", "510");
iu.addParam("UploadThumbnail2Height", "510");
iu.addParam("UploadThumbnail2JpegQuality", "100");
iu.addParam("UploadThumbnail2ResizeQuality", "High");
iu.addParam("AllowRotate", "true");

iu.addParam("MaxFileSize", "10485760");
iu.addParam("MaxFileCount", "350");

iu.addParam("BackgroundColor", "#FFFFFF");
iu.addParam("PaneBackgroundColor", "#FFFFFF");

iu.addParam("ButtonAddAllToUploadListText", "False");
iu.addParam("ButtonAddToUploadListText", "False");
iu.addParam("ButtonRemoveAllFromUploadListText", "Remove All");
iu.addParam("ButtonRemoveFromUploadListText", "Remove");

iu.addParam("ShowFileNames", "False");
iu.addParam("ShowDescriptions", "False");

iu.addParam("ShowButtons", "False");
iu.addParam("ShowUploadListButtons", "False");
iu.addParam("ShowStatusPane", "False");

iu.addParam("ShowDebugWindow", "True");
iu.addParam("AdditionalFormName", "Form1");
iu.addParam("FilesPerOnePackageCount", 1);

iu.addParam("FileMask", "*.jpg;");
iu.addParam("TimeOut", "0");

iu.addParam("Action", "processUpload.asp?album=<% Response.Write(album) %>");

//iu.addParam("RedirectUrl", "");
iu.addEventListener("Progress", "ImageUploader_Progress");

iu.writeHtml();
</script>

Edited by user Wednesday, February 20, 2008 7:24:37 PM(UTC)  | Reason: Not specified

WayneBrantley  
#2 Posted : Friday, February 02, 2007 6:55:37 AM(UTC)
WayneBrantley

Rank: Member

Groups: Member
Joined: 1/26/2007(UTC)
Posts: 11

I have the exact same problem.....

I have been unable to get an answer/support. See my post with subject of "4.1 javascript error and upload error!"
Wayne
gmoon0129  
#3 Posted : Saturday, February 03, 2007 9:05:30 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

is anyone going to address this issue?
Alex Makhov  
#4 Posted : Sunday, February 04, 2007 2:28:20 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Image Uploader does not do any server-side work. It just uploads data in standard form to the server. Then this data block is processed with server-side upload processing script. There is a sample set in the Image Uploader installation package but these samples are just an example of upload processing.
Usually the reason of the server-side problem is some configuration problem such as too small timeout or allowed post data amount set. So read the Upload Problems and ASP Samples articles regarding your question.

P.S. I have checked your code and there is no potential problems in it except these two:
1)
Code:
document.getElementById("selectView").selectedIndex = window.ImageUploader.getFolderView();

Don’t use window.ImageUploader directly. More universal way is to use the following variant:
Code:
document.getElementById("selectView").selectedIndex = getImageUploader("ImageUploader").getFolderView();

2)
Code:
iu.addParam("ShowStatusPane", "False");

Status pane is not supported any more so you don’t have to set the value of non-existent property because it could make some problems (object does not support such property or so on).

Edited by user Wednesday, October 29, 2008 3:15:57 AM(UTC)  | Reason: Not specified

Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
WayneBrantley  
#5 Posted : Sunday, February 04, 2007 10:46:34 PM(UTC)
WayneBrantley

Rank: Member

Groups: Member
Joined: 1/26/2007(UTC)
Posts: 11

Why does the Java version work (using the same server side code and settings), yet the ActiveX one gives an error?
Wayne
George Ulyanov  
#6 Posted : Monday, February 05, 2007 2:11:11 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203

Quote:
WayneBrantley (2/5/2007)
Why does the Java version work (using the same server side code and settings), yet the ActiveX one gives an error?


Wayne,

We are checking this problem with the samples and the fixed versions of them will be available in next release.

Edited by user Wednesday, February 20, 2008 7:26:44 PM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
George Ulyanov  
#7 Posted : Tuesday, February 06, 2007 8:40:35 PM(UTC)
George Ulyanov

Rank: Advanced Member

Groups: Member
Joined: 7/26/2006(UTC)
Posts: 203

gmoon0129 and Wayne,

Well, I can't find this problem on my side. I have used both versions of the browser (6 and 7) and in any cases the files have been uploaded successfully.

(Of course, except the problem with "o" object. But I think this issue is not actual at the moment.)

Just one time I've had an error, but It was my mistake - I've forgotten to set all rights to the samples folder in correct form.
(About these settings you can read here: ASP.NET Samples).

Thats all. Each time, I've uploaded different files - from 100 to ~1000 and I haven't had any problems.

A little piece of advise: try to experiment with the IIS settings.

Edited by user Wednesday, October 29, 2008 1:13:14 PM(UTC)  | Reason: Not specified

Best regards,
George Ulyanov
gmoon0129  
#8 Posted : Wednesday, February 07, 2007 12:54:23 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

I think I may have found the missing link. When I tested is this morning using SSL it failed 4 out of 5 times. Without SSL it failed 0 out of 5 times.

I am going to keep testing but it looks like SSL might be causing this.

Any ideas?

I can send you links to my install if it would help.

-garrett
gmoon0129  
#9 Posted : Wednesday, February 07, 2007 2:12:44 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

Just a few more notes on this. Not sure if they would help, but they are my observations.

When I used SSL and recieved the 'SUEO' message:
- I noticed that as each file is uploaded it's thumbnail is NOT removed from the files to be upload list pane. (i am using iu.addParam("FilesPerOnePackageCount", 1);)

- The script appeared to upload each image, but it doesn't appear to be running my PersistsAspUpload.asp file, as no entires are made into the database.

- Fails after the last images finishes uploading. Does not make a second attempt.

I would also like to note that I have still have had 'SUEO' errors when I am not using SSL although they have been much less frequent. For comparison, I have NEVER recieved this type of error with the Java version.
WayneBrantley  
#10 Posted : Wednesday, February 07, 2007 3:23:16 AM(UTC)
WayneBrantley

Rank: Member

Groups: Member
Joined: 1/26/2007(UTC)
Posts: 11

Interesting - I am using SSL also where I am having issues.
Aurigma - can you test this under SSL????
Wayne
gmoon0129  
#11 Posted : Wednesday, February 07, 2007 11:11:26 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

After more testing I am not sure SSL has anything to do with this. I have tested this on three systems. My results varied.

Windows XP, NON-SP2, IE 6 - Script fails every time with SSL. Without SSL it performs very well, succeeds almost every time (SUEO).

Windows XP, NON-SP2, IE 6 (different computer) - No apparent difference between SSL and non-SSL. Succeeds sometimes. Fails 1-2 times out of 5 (SUEO).

Windows XP, SP2, IE 6 - No apparent difference between SSL and non-SSL. Succeeds sometimes. Fails 1-2 times out of 5 (SUEO).

Windows XP, SP2, IE 7 - No apparent difference between SSL and non-SSL. Succeeds sometimes. Fails 5 times out of 10 (SUEO). Crashed browser once.

So there we go. My second post from today describes some of the things that happen when I get the error. I am NOT getting any timeout or connection errors, only "Some Unknown Error Occurred." Show debug window is set to true but no errors are being displayed.

Are there specific IIS settings that I should look into? What IIS settings would only cause this error to happen some of the time with ActiveX and none of the time with Java?

I am going to rebuilt my script from the demo files. We'll see how that works.
Eugene Kosmin  
#12 Posted : Wednesday, February 07, 2007 1:46:00 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 9/19/2006(UTC)
Posts: 406

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

There was an issue with SSL upload in version 4.1. There were following symptoms: IU didn’t upload files to SSL location after a few minutes standstill. As I think, this bug fix will be available in the next release.

Edited by user Monday, February 25, 2008 4:31:14 PM(UTC)  | Reason: Not specified

Best regards,
Eugene Kosmin.
Aurigma Development Team
WayneBrantley  
#13 Posted : Thursday, February 08, 2007 10:21:29 AM(UTC)
WayneBrantley

Rank: Member

Groups: Member
Joined: 1/26/2007(UTC)
Posts: 11

Pretty clear to me there are some problems with 4.1. Can we get a fix or access to a prior version?
Wayne
Alex Makhov  
#14 Posted : Thursday, February 08, 2007 2:56:06 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello Wayne,

I have answered you by a PM.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
gmoon0129  
#15 Posted : Monday, February 12, 2007 8:41:03 AM(UTC)
gmoon0129

Rank: Member

Groups: Member
Joined: 1/31/2007(UTC)
Posts: 8

Aurigma,

If an older version is the fix for this, can I get also have access to it? Why is it that I am only having trouble with the ActiveX version? I cannot find a consistent way to break the IUploader but the ActiveX version is clearly not working. What is the solution for this?

Wayne, any luck with the older version?
WayneBrantley  
#16 Posted : Monday, February 12, 2007 9:29:08 AM(UTC)
WayneBrantley

Rank: Member

Groups: Member
Joined: 1/26/2007(UTC)
Posts: 11

I have not tested, will in the next day or so and let you know.
Wayne
Alex Makhov  
#17 Posted : Monday, February 12, 2007 12:30:35 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

I have answered you with a PM too.
Sincerely yours,
Alex Makhov

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.