Rank: Member
Groups: Member
Joined: 2/2/2006(UTC) Posts: 4
|
Hi, My setup is Visual Studio 2005, ASP.NET 2, C#, ASP.NET Development Server (Not IIS) I got an error while trying to upload images, it gets to the point where it has prepared the data and is about to upload when I get this error: "Image Uploader encountered some problem. If you see this message, contact web master." Here is the Java Console output: Code:Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
Uploading to http://localhost:1549/PersonalWebSite2006/Admin/UploadPhotos.aspx
Setting HTTP params: Host=localhost; Port=1549
Starting upload
IOException occured
Software caused connection abort: socket write error
-----
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at com.aurigma.imageuploader.upload.httpclient.a.sendData(Unknown Source)
at org.apache.commons.httpclient.methods.multipart.Part.send(Unknown Source)
at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Unknown Source)
at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(Unknown Source)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(Unknown Source)
at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
at com.aurigma.imageuploader.upload.d.a(Unknown Source)
at com.aurigma.imageuploader.upload.d.b(Unknown Source)
at com.aurigma.imageuploader.upload.d.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
-----
###Error occured###
Status=[ERROR]
Progress=[0]
ValueMax=[0]
Value=[0]
[ErrorPage]
null
[EndOfErrorPage]
Edited by user Thursday, December 20, 2007 5:12:16 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, - Check if the upload page is available (insert it’s address to the browser);
- Set TimeOut Property value to something about 300000 (5 minutes);
- Try to test the upload process with the Image Uploader for ActiveX;
- Enlarge max upload size on your server.
Good luck ;) Edited by user Sunday, February 17, 2008 7:27:25 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/2/2006(UTC) Posts: 4
|
I replaced the Java Applet with the ActiveX one and it worked fine. Here are the two bits of code that I used, from the BasicSample/Default.aspx samples: When I swap these around the Java one gives me the error I mentioned earlier. Code:<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;
//For ActiveX control we specify full path for CAB file
iu.activeXControlCodeBase = "../ImageUploader3.cab";
iu.activeXControlVersion = "3,5,144,0";
//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "../";
iu.javaAppletCached = true;
iu.javaAppletVersion = "1.1.60.0";
iu.addParam("Layout","TwoPanes");
iu.addParam("UploadThumbnail1FitMode","Fit");
iu.addParam("UploadThumbnail1Width","120");
iu.addParam("UploadThumbnail1Height","120");
iu.addParam("UploadThumbnail1JpegQuality","60");
iu.addParam("ShowDebugWindow","True");
iu.addParam("AdditionalFormName","Form1");
iu.addParam("EnableRotate","False");
iu.addParam("Action","UploadPhotos.aspx")
iu.addEventListener("Progress", "ImageUploader_Progress");
iu.writeHtml();
</script>
Edited by user Sunday, February 17, 2008 7:27:49 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/2/2006(UTC) Posts: 4
|
The Java applet works okay using Firefox 1.5, but still gives the error mentioned above using IE 6 |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Change the TimeOut property value. |
|
|
|
|
Rank: Member
Groups: Member
Joined: 2/2/2006(UTC) Posts: 4
|
Hi, I added: Code:iu.addParam("TimeOut", "30000");
same error :( Edited by user Sunday, February 17, 2008 7:28:11 PM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, replace Code:iu.addParam("TimeOut", "30000");
with Code:iu.addParam("TimeOut", "300000");
Edited by user Sunday, February 17, 2008 7:28:35 PM(UTC)
| Reason: Not specified |
|
|
|
|
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.