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

Notification

Icon
Error

Options
Go to last post Go to first unread
smandros  
#1 Posted : Tuesday, July 15, 2008 1:31:34 AM(UTC)
smandros

Rank: Member

Groups: Member
Joined: 9/21/2007(UTC)
Posts: 12

I am using the Image Uploader 4.5:

iu.activeXControlVersion = "4,7,0,0";

iu.javaAppletVersion = "2.7.0.0"

Some of my users complain that they are getting this error:

"Server attempted to redirect, but server redirects are not supported"

This error is sporadic. Some time it happens, some time it does not for the same users.

They are using IE 6.0 and 7.0

Please, advice at the earliest as this functionality is highly important to my users: they are getting paid based on the evidence of the job done and the evidence is the property photos and documents that they are uploading to the system.

File Attachment(s):
Photo Upload Issue.doc (215kb) downloaded 21 time(s).
Eugene Kosmin  
#2 Posted : Tuesday, July 15, 2008 11:40:05 AM(UTC)
Eugene Kosmin

Rank: Advanced Member

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

Was thanked: 41 time(s) in 41 post(s)
Hi Svetlana,

What is expiration time of your authentication cookies? Maybe auth cookies expire before uploading process.

Best regards,

Eugene Kosmin

The Aurigma Development Team

hillierstudio  
#3 Posted : Thursday, February 26, 2009 10:48:58 PM(UTC)
hillierstudio

Rank: Newbie

Groups: Member
Joined: 1/26/2009(UTC)
Posts: 3

i get the same error, any help would be greatly appreciated....

I've had a support case open for over a month and it still isn't resolved. Here's the code to my default.aspx file. I've tried everything (web.config settings are correct, timeouts are within parameters, etc.). They keep telling me I need to do something with the cookie issue, but nothing they provide me resolves it. Please help!

I know it has something to do with the lines prior to the body, but I figured providing you the whole file would be value-added.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Ordering_Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

<title>Hillier Studio - Upload Pictures</title>

<script type="text/javascript" src="../../Ordering/iuembed.js"></script>

<script type="text/javascript">

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

response.write(ErrorCode & " " & HttpResponseCode & " " & ErrorPage & " " & AdditionalInfo & " ")

}

function ImageUploader_BeforeUpload()

{

getImageUploader("ImageUploader1").AddCookie("ASP.NET_SessionId=<%=Session.SessionID%>");

getImageUploader("ImageUploader1").setUploadThumbnail1Watermark("position=center;offsety=55;opacity=50;size=25;text='Copyright <%=year(now)%> Hillier Studio'");

}

</script>

<link href="../../Ordering/style.css" type="text/css" rel="stylesheet" />

</head>

<body>

<table border="0" align="center" cellspacing="0" cellpadding="4" style="background: #ffffff;

border: 1px #000000 solid;">

<tr>

<td align="right">

<a href="../../Main.aspx">Main</a></td>

</tr>

<tr>

<td>

<script type="text/javascript">

//<![CDATA[

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

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

//For ActiveX control full path to CAB file (including file name) should be specified.

iu.activeXControlCodeBase = "ImageUploader5.cab";

iu.activeXControlVersion = "4,0,63,0";

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

//For Java applet only path to directory with JAR files should be specified (without file name).

iu.javaAppletCodeBase = "../";

iu.javaAppletCached = false;

//iu.javaAppletVersion = "2.0.79.0";

iu.javaAppletVersion = "5.7.24.0";

iu.showNonemptyResponse = "off";

//iu.addParam("LicenseKey", "6375-7594-7529-5259");

iu.addParam("LicenseKey", "72050-10000-310FC-03B68-D9472");

//Configure appearance and behaviour.

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

iu.addParam("FolderView", "Thumbnails");

iu.addParam("UploadView", "Thumbnails");

iu.addParam("FolderPaneHeight", "220");

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

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

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

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

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

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

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

//Configure Paste button which will paste screenshots from a clipboard.

//iu.addParam("ButtonPasteText", "Paste Screenshot");

//When a screenshot will be pasted from clipboard it will be named as

//Screenshot.jpg, next one - Screenshot_1.jpg, etc.

//iu.addParam("PasteFileNameTemplate", "Screenshot");

//Make Delete button visible.

iu.addParam("ButtonDeleteFilesText", "Delete Selected");

//Configure file mask to display images only.

iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tif;*.tiff;*.psd");

//Append the form with author name to the upload.

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

//Exclude the source file from the upload. Only thumbnails will be sent.

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

//Configure first thumbnail (large image the watermark will be applied to).

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

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

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

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

//In this code sample watermark is configured dynamically, based on the author name

//(see BeforeUpload event handler). If you want to put static watermark it will be

//enough to use a similar param:

//iu.addParam("UploadThumbnail1Watermark","opacity=100;text='Watermark text'");

//Configure second thumbnail (small preview).

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

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

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

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

//Add event handler.

iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload")

function getQueryVariable(variable)

{

var query = window.location.search.substring(1);

var vars = query.split("&");

for (var i=0;i<vars.length;i++)

{

var pair = vars[i].split("=");

if (pair[0] == variable)

{

return pair[1];

}

}

//alert('Query Variable ' + variable + ' not found');

}

//Configure URL files are uploaded to.

var r = getQueryVariable('typeid');

iu.addParam("Action", "upload.aspx?typeid=" + r);

//Configure URL where to redirect after upload.

//iu.addParam("RedirectUrl", "gallery.aspx");

iu.addParam("RedirectUrl", "../Default.aspx");

//Tell Image Uploader writer object to generate all necessary HTML code to embed

//Image Uploader to the page.

iu.writeHtml();

//]]>

</script>

</td>

</tr>

</table>

</body>

</html>

Thanks for your help!!!

Users browsing this topic
Guest
Similar Topics
Server attempted to redirect, but server redirects are not supported (Discussions – ActiveX/Java Uploader)
by LTG 7/18/2007 1:22:41 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.