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

Notification

Icon
Error

Options
Go to last post Go to first unread
clickimage  
#1 Posted : Sunday, June 15, 2008 11:45:43 AM(UTC)
clickimage

Rank: Member

Groups: Member
Joined: 10/19/2005(UTC)
Posts: 27

http://www.websupergoo.com/support.htm

If you look at section 5.3 in the above link it will explain why ASPUpload returns the "Upload stopped unexpectedly" error. However, I don't think this is anything I can manage, is it an Aurigma error? It means that FORM contents are not being sent to my code. I had this problem happen after upgrading to this version:

iu.activeXControlCodeBase = "../ImageUploader4.7/ImageUploader4.cab";
iu.activeXControlVersion = "4,7,0,0";

This problem happens intermitently and I am unable to consistently recreate it.

Please Help!
Eugene Kosmin  
#2 Posted : Thursday, June 19, 2008 2:42:12 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 27 time(s) in 27 post(s)
Hi,

The article says: “The most likely cause of this is that there's a reference to the built in form object somewhere in your code”. Image Uploader by itself sends only standard POST fields, but they are unlikely to be cause of connection breaking. BTW, these fields are always identical if you upload the same file.

I have configured IU ASP samples with persist ASPUpload and sent one picture several times successfully.

It looks like the cause is not Image Uploader’s issue.
Best regards,
Eugene Kosmin.
Aurigma Development Team
clickimage  
#3 Posted : Friday, June 20, 2008 10:49:56 AM(UTC)
clickimage

Rank: Member

Groups: Member
Joined: 10/19/2005(UTC)
Posts: 27

Thanks for your response Eugene!

Here is the code that fails with the error "Upload stopped unexpectedly.":

intFileCount = objUpload.Form("FileCount")(1)

as well as this:

Set objFile = objUpload.Files("SourceFile_1")

It's like the uploader is sending me to my uploading page without a post. I am thinking about adding code something like this:

If request.ServerVariables("REQUEST_METHOD")="POST" then
...
Else
response.end()
End If

Any other suggestions or at least suggestions on some data I can trap to help diagnose the problem? Thanks in advance for your help.
clickimage  
#4 Posted : Friday, June 20, 2008 10:52:26 AM(UTC)
clickimage

Rank: Member

Groups: Member
Joined: 10/19/2005(UTC)
Posts: 27

What uploading engine do people recommend as the BEST engine to use for ASP?

ABCUpload
ASPSmartUpload
Dundas
PersistsASPUpload

I am willing to change all my code to a different component if that would help fix this problem. Thanks!
Eugene Kosmin  
#5 Posted : Sunday, June 22, 2008 12:38:09 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 27 time(s) in 27 post(s)
Could you post here your upload script and IU embedding code?
Best regards,
Eugene Kosmin.
Aurigma Development Team
HogCall  
#6 Posted : Tuesday, June 24, 2008 3:06:20 AM(UTC)
HogCall

Rank: Newbie

Groups: Member
Joined: 6/24/2008(UTC)
Posts: 8

My ASPUpload is not failing. But it is returning 0 files uploaded. The addEventListener parameters that I am passing do not get passed either. It is like the POST is totally empty.

I thought it might be because I had multiple upload Aurigma objects on the page, but I restricted it to one and I get the same problem. My upload page returns zero errors (which makes the debug hard, since I have to force an error to see all my response.write statements), there are just no files being uploaded.

Could this be because I am using a test key? I took it out of demo code, like the documentation said. And I am not suing localhost, as I am not developing locally but on a Dev server.

Someone please help!!

BTW, these forums kinda suck. I keep getting blank pages and have to hit refresh to get them to load. And just now while typing this my message went under the "Post" button, then went out of the text box but the text box did not scroll. I had to paste this into Notepad to finish writing, and paste it back into the box for posting.
Eugene Kosmin  
#7 Posted : Tuesday, June 24, 2008 11:50:39 AM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 27 time(s) in 27 post(s)
Hi,

There are no functional restrictions due to using trial keys.

Please try to upload with both Java and ActiveX versions. If there will be the same issue in both cases – most likely this is server side issue. Also you can try to use some HTTP debugger (for example – fiddler). Maybe it will help you somehow.
Best regards,
Eugene Kosmin.
Aurigma Development Team
Fedor  
#8 Posted : Tuesday, June 24, 2008 9:35:48 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,572

Thanks: 5 times
Was thanked: 64 time(s) in 63 post(s)
Quote:
BTW, these forums kinda suck. I keep getting blank pages and have to hit refresh to get them to load. And just now while typing this my message went under the "Post" button, then went out of the text box but the text box did not scroll. I had to paste this into Notepad to finish writing, and paste it back into the box for posting.


I have answered you here:

http://forums.aurigma.com/yaf_postsm9489_Forums.aspx#9489
Best regards,
Fedor Skvortsov
HogCall  
#9 Posted : Wednesday, June 25, 2008 1:22:51 AM(UTC)
HogCall

Rank: Newbie

Groups: Member
Joined: 6/24/2008(UTC)
Posts: 8

Eugene Kosmin wrote:
Hi,

There are no functional restrictions due to using trial keys.

Please try to upload with both Java and ActiveX versions. If there will be the same issue in both cases – most likely this is server side issue. Also you can try to use some HTTP debugger (for example – fiddler). Maybe it will help you somehow.


Ok, just tried it in FF3, to use the Java applet. I am getting this error:

Code:
Java Plug-in 1.6.0_01
Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\xxxxxx

load: class com.aurigma.imageuploader.ImageUploader.class not found.
java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
	at sun.applet.AppletClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.applet.AppletClassLoader.loadCode(Unknown Source)
	at sun.applet.AppletPanel.createApplet(Unknown Source)
	at sun.plugin.AppletViewer.createApplet(Unknown Source)
	at sun.applet.AppletPanel.runLoader(Unknown Source)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
	at sun.applet.AppletClassLoader.getBytes(Unknown Source)
	at sun.applet.AppletClassLoader.access$100(Unknown Source)
	at sun.applet.AppletClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 10 more
HogCall  
#10 Posted : Wednesday, June 25, 2008 1:27:59 AM(UTC)
HogCall

Rank: Newbie

Groups: Member
Joined: 6/24/2008(UTC)
Posts: 8

Oops, that was my bad as I didn't have the full path set.

But, I am still getting the same results. The FileCount is 0, and the variable that I pass is empty too.
HogCall  
#11 Posted : Wednesday, June 25, 2008 3:07:58 AM(UTC)
HogCall

Rank: Newbie

Groups: Member
Joined: 6/24/2008(UTC)
Posts: 8

This is taking so long to get resolved as I have already lost a full day on it. I may just need to build my own little popup window to handle the file AJAX style.
HogCall  
#12 Posted : Wednesday, June 25, 2008 6:56:39 AM(UTC)
HogCall

Rank: Newbie

Groups: Member
Joined: 6/24/2008(UTC)
Posts: 8

Just FYI....

When I Response.Write things like FileCount, FileName_1, SourceFileSize_1, Width_1, etc, I am getting correct values. BUT, the "Files" collection of ASPUpload still seems to be empty. Lines like:

intUploadCount = objUpload.Save(strFileBasePath)

After that line, intUploadCount is always zero. I tried doing it more like the example (from: http://forums.aurigma.com/yaf_postsm35.aspx#35) where it loops through by file number, and it always errors on the line:

objFile.SaveAs (Server.MapPath("Gallery/" & I & ".jpg"))

It says that the object (objFile) does not exist.

So some things are being submitted. But I can't seem to get to the Files themselves, and I can't get to the custom variables I created either.
Eugene Kosmin  
#13 Posted : Wednesday, June 25, 2008 5:31:51 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 27 time(s) in 27 post(s)
Could you post here your upload script?
Best regards,
Eugene Kosmin.
Aurigma Development Team
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.