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



Go to last post Go to first unread
#1 Posted : Thursday, February 26, 2009 10:45:27 PM(UTC)

Rank: Newbie

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

I've had a support case open for over a month, and still experiencing the same issue I've had since purchasing a new license key. I'm using ASP.NET 2.0 and getting the server redirect error because of the cookie issue. Any help would be appreciated!!

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've bolded/italicized the issue line...

<%@ 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").setUploadThumbnail1Watermark("position=center;offsety=55;opacity=50;size=25;text='Copyright <%=year(now)%> Hillier Studio'");
<link href="../../Ordering/style.css" type="text/css" rel="stylesheet" />


<table border="0" align="center" cellspacing="0" cellpadding="4" style="background: #ffffff;
border: 1px #000000 solid;">
<td align="right">
<a href="../../Main.aspx">Main</a></td>

<script type="text/javascript">
//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 = "";
iu.javaAppletVersion = "";

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.



Thanks for your help!!!
#2 Posted : Friday, February 27, 2009 3:58:22 PM(UTC)

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello Rob,

I answered in the case.
Sincerely yours,
Dmitry Sevostyanov

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.