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

Notification

Icon
Error

Options
Go to last post Go to first unread
LTG  
#1 Posted : Wednesday, July 18, 2007 1:22:41 AM(UTC)
LTG

Rank: Member

Groups: Member
Joined: 7/7/2007(UTC)
Posts: 12

Java upload fails with 4.5.0.35.

At first I received a redirect error, but I realized this was just a side effect of the PostReceiver page not being able to access the ASP.Net session.

After removing that line of code, another line of code that sets a session variable executes fine but the session is not available on the UploadCompleted page.

So the problem is as if these two pages have a totally dis-associated session state from the rest of the web site (session data is fine elsewhere).

ASP.Net manages session association via cookies.

So it seems the Java control is not sending along the client cookies to the PostReceiver and UploadCompleted pages.

If this were a problem with my app, why would cookies work everywhere else? Also, why does ActiveX work fine?

Thank you!!

Version: 4.5.0.35/2.5.0.35

Happens on Java only, ActiveX works fine

Client OS: Vista or XP

Server OS: Server 2003

Browser: Firefox 2.0.0.5

Reproducible on 4 separate machines.

Problem does not happen with Aurigma on-line demo, don't know what version that is.

LTG  
#2 Posted : Wednesday, July 18, 2007 9:59:08 PM(UTC)
LTG

Rank: Member

Groups: Member
Joined: 7/7/2007(UTC)
Posts: 12

The location of the functions do not seem to make a difference.

LTG

LTG  
#3 Posted : Thursday, July 26, 2007 6:49:15 AM(UTC)
LTG

Rank: Member

Groups: Member
Joined: 7/7/2007(UTC)
Posts: 12

I thought this was my own mistake, but it turns out it's still happening even after I made a code change.

It seems the reason this error occurs is that under ASP.Net, when a session value is saved on the UploadPostReceiver page, that session value does not exist for subsequent pages.

Again this leads me to believe that the Aurigma control is messing up the cookies for that page somehow, because cookies are how ASP.Net maintains session usually.

If the server is not running ASP.Net, the bug may manifest itself differently.

See related topic here:

http://www.aurigma.com/Forums/Topic6951-12-1.aspx

So, still requesting help on this.

George Ulyanov  
#4 Posted : Sunday, July 29, 2007 6:57:26 PM(UTC)
George Ulyanov

Rank: Advanced Member

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

Hello,

Please submit case regarding this problem.

Edited by user Thursday, May 22, 2008 9:51:32 PM(UTC)  | Reason: Not specified

Best regards,

George Ulyanov

PeterSmith  
#5 Posted : Monday, July 30, 2007 1:52:57 AM(UTC)
PeterSmith

Rank: Member

Groups: Member
Joined: 2/14/2007(UTC)
Posts: 5

Hi, I see that you have also been asked to contact [email removed]...

I've done the same, but reading the documentation did not help me further on this specific error...could you please let me know when you figure out this issue?

(btw Im still stuck at the "object moved here" error).

Thanks!!

Edited by user Thursday, May 22, 2008 9:53:19 PM(UTC)  | Reason: Not specified

LTG  
#6 Posted : Tuesday, July 31, 2007 8:49:02 AM(UTC)
LTG

Rank: Member

Groups: Member
Joined: 7/7/2007(UTC)
Posts: 12

Hi Peter, yes I have contacted support but not heard back yet.

Also it appears another Aurigma customer just posted the same problem here:

http://www.aurigma.com/Forums/Topic6999-12-1.aspx

I'm guess all three of our problems are the same thing.

The root of it is the ASP.Net session is being lost, which happens when cookies get messed up, which makes me thing the ImageUploader is involved during the page transfers it handles.

So I guess we'll all wait and see if we hear back.

mikep  
#7 Posted : Thursday, August 2, 2007 12:36:11 AM(UTC)
mikep

Rank: Member

Groups: Member
Joined: 8/2/2007(UTC)
Posts: 2

I'm having this same problem (session lost in Java version). Has anyone heard from Aurigma regarding this issue?
George Ulyanov  
#8 Posted : Saturday, August 4, 2007 1:39:41 PM(UTC)
George Ulyanov

Rank: Advanced Member

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

Hello, we are already working on this issue.
Best regards,

George Ulyanov

DavidDiamond  
#9 Posted : Monday, October 22, 2007 11:09:24 AM(UTC)
DavidDiamond

Rank: Member

Groups: Member
Joined: 10/22/2007(UTC)
Posts: 2

I'm also having this problem. Has there been a resolution to this issue yet?

Thanks,

David Diamond

George Ulyanov  
#10 Posted : Monday, October 22, 2007 11:44:50 AM(UTC)
George Ulyanov

Rank: Advanced Member

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

Hello David,

Please read this article:

PRB: Image Uploader for Java looses HTTP-only cookies

Edited by user Sunday, February 24, 2008 6:46:27 PM(UTC)  | Reason: Not specified

Best regards,

George Ulyanov

Mohan  
#11 Posted : Sunday, March 16, 2008 5:02:16 PM(UTC)
Mohan

Rank: Newbie

Groups: Member
Joined: 3/3/2008(UTC)
Posts: 9

Hello evrybdy I am also having the same problem, i am using Imgage uploader ver 5.0 with asp.net 3.5...it works fine in IE 7 but it gives error in Firefox.

i have even try that FormsAuthentication code in AddCookie method

but it gives "Object Reference Error is not set to the Object"...I need to solve this issue ASAP..plz help me guys..

Here is my complete code and snapshot it shows Error code 4

<script type="text/javascript">

var imageUploader1 = null;

function Check_DDCategory()

{

imageUploader1.Send();

}

function fullPageLoad(){

imageUploader1=getImageUploader("ImageUploader1");

}

function selectView_change(){

if (imageUploader1){

var selectView = document.getElementById("selectView");

imageUploader1.setFolderView(parseInt(selectView.options[selectView.selectedIndex].value));

}

}

function ImageUploader_UploadFileCountChange(){

//imageUploader1=getImageUploader("ImageUploader1");

//imageUploader1.AddCookie('<%=FormsAuthentication.FormsCookieName %>=<%= Request.Cookies[FormsAuthentication.FormsCookieName].Value %>; ' + document.cookie);

//getImageUploader("ImageUploader1").AddCookie('<%=FormsAuthentication.FormsCookieName %>=<%= Request.Cookies[FormsAuthentication.FormsCookieName].Value %>');

}

function ImageUploaderID_Error(ErrorCode, HttpResponseCode, ErrorPage, AdditionalInfo) {

alert(ErrorCode);

}

</script>

<body style="background-color:white;">

<script type="text/javascript">

var imageUploader1 = null;

</script>

<div style="display:none;">

<input id="TotalSourceFileSize" name="TotalSourceFileSize" type="text" value="0" />

</div>

<form id="Form3" runat="server">

<div style="clear:both"></div>

<div class="textwhite" style="display:none;">Category:

<asp:DropDownList runat="server" Width="100px" CssClass="text" ID="DDCategory"></asp:DropDownList></div>

<div style="clear:both"></div>

</form>

<table cellspacing="0" cellpadding="0" border="0" style="float:left;" class="Toolbar">

<tbody>

<tr>

<td >

</td>

<td class="Panel">

<table cellspacing="0" border="0">

<tbody>

<tr>

<td>

<a href="#" onclick="imageUploader1.SelectAll();return false;">

<img class="Icon" src="Images/SelectAllSmall.gif" alt="Select All" />&nbsp;Select&nbsp;All

</a>

</td>

<td>

<a href="#" onclick="imageUploader1.DeselectAll();return false;">

<img class="Icon" src="Images/DeselectAllSmall.gif" alt="Deselect All" />&nbsp;Deselect&nbsp;All

</a>

</td>

<td>

<a href="#" onclick="Check_DDCategory();">

<img class="Icon" src="Images/SendSmall.gif" alt="Upload" />&nbsp;Upload </a>

</td>

<td>

<img class="Separator" src="Images/ToolbarSeparator.gif" alt="" />

</td>

<td>

<a href="#" onclick="imageUploader1.Refresh();return false;">

<img class="Icon" src="Images/RefreshSmall.gif" alt="Refresh" />&nbsp;Refresh </a>

</td>

<td>

<img class="Separator" src="Images/ToolbarSeparator.gif" alt="" />

</td>

<td>

<select id="selectView" onchange="selectView_change();">

<option value="0" selected="selected">Thumbnails</option>

<option value="1">Icons</option>

<option value="2">List</option>

<option value="3">Details</option>

</select>

</td>

</tr>

</tbody>

</table>

</td>

<td class="Right">

</td>

</tr>

</tbody>

</table>

<script type="text/javascript">

//<![CDATA[

//Create JavaScript object that will embed Image Uploader to the page.

var iu = new ImageUploaderWriter("ImageUploader1", 650,500);

//****Start of Ver 5.0******

iu.activeXControlCodeBase = "../ImageUploader5.cab";

iu.activeXControlVersion = "5,0,40,0";

iu.javaAppletJarFileName = "ImageUploader5.jar";

iu.javaAppletCodeBase = "../";

iu.javaAppletCached = true;

iu.javaAppletVersion = "5.0.40.0";

iu.showNonemptyResponse = "off";

//***End of Ver 5.0*****

//Configure appearance.

iu.addParam("PaneLayout", "ThreePanes");

iu.addParam("ShowDebugWindow", "true");

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

iu.addParam("AllowRotate", "false");

iu.addParam("BackgroundColor", "#F5F8F0");

iu.addParam("ShowDescriptions", "false");

////Configure License Keys

iu.addParam("LicenseKey", "71050-4620A-00000-092A8-E12C6;72050-4620A-00000-0F10B-988AB");

//Configure thumbnail settings.

iu.addParam("UploadThumbnail1FitMode", "Fit");

iu.addParam("UploadThumbnail1Width", "200");

iu.addParam("UploadThumbnail1Height", "200");

iu.addParam("UploadThumbnail1JpegQuality", "60");

//Start:Configure MedRes Images 03 March 08

iu.addParam("UploadThumbnail2FitMode", "Fit");

iu.addParam("UploadThumbnail2Width", "500");

iu.addParam("UploadThumbnail2Height", "500");

iu.addParam("UploadThumbnail2JpegQuality", "60");

//End:Configure MedRes Images 03 March 08

iu.addParam("FileMask", "*.jpeg;*.jpg;*.jpe");

iu.addParam("AdditionalFormName", "Form1");

iu.addParam("ShowDebugWindow", "true");

//Configure URL files are uploaded to.

iu.addParam("Action","upload.aspx");

iu.addEventListener("BeforeUpload", "ImageUploader_UploadFileCountChange");

//****For Error COde to check**

iu.addEventListener("Error", "ImageUploaderID_Error");

//*****************************

iu.fullPageLoadListenerName = "fullPageLoad";

iu.writeHtml();

//]]>

</script>

</body>

Mohan attached the following image(s):

ServerErrorFirefox.JPG

Mohan attached the following image(s):
ServerErrorFirefox.JPG
Eugene Kosmin  
#12 Posted : Tuesday, March 18, 2008 5:21:41 PM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

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

I’ve answered you here.

Best regards,

Eugene Kosmin.

Aurigma Development Team

Users browsing this topic
Similar Topics
Server attempted to redirect, but server redirects are not supported (Discussions – ActiveX/Java Uploader)
by smandros 7/15/2008 1:31:34 AM(UTC)
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.