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

Notification

Icon
Error

Options
Go to last post Go to first unread
cmeagle  
#1 Posted : Thursday, March 6, 2008 8:57:15 PM(UTC)
cmeagle

Rank: Newbie

Groups: Member
Joined: 3/6/2008(UTC)
Posts: 1

Hi Folks,

We have purchased Aurigma Image Uploader control for our IP.

I am the developer is implementing Aurigma for our Projects. I have observed Aurigma Image Upload control is working for Internet Explorer with out any errors, but the same URL/functionality is not working for Firefox browser. I am getting the following error message

“No valid license key for current DNS/IP address specififed. If you see this message please contact us at sales@aurigma.com

Can you please advice us on this issue if you need any information please let us know.

I am using the following code in my ASP.NET page.

<script type="text/javascript">

//<![CDATA[

function getURLParam(strParamName){

var strReturn = "";

var strHref = window.location.href;

if ( strHref.indexOf("?") > -1 ){

var strQueryString = strHref.substr(strHref.indexOf("?")).toLowerCase();

var aQueryString = strQueryString.split("&");

for ( var iParam = 0; iParam < aQueryString.length; iParam++ )

{

if (aQueryString[iParam].indexOf(strParamName + "=") > -1 )

{

var aParam = aQueryString[iParam].split("=");

strReturn = aParam[1];

break;

}

}

}

return strReturn;

}

function getURLParamNew(strParamName){

// Create a new QueryString object

var myQuery = new QueryString();

var strValue

// Read query string from browser into the new QueryString object, name myQuery

myQuery.read();

// Check the status, to make sure it read the query string

// Then write out the query string arguments

if(myQuery.getStatus())

{

var aQueryData = myQuery.getAll();

for(var n in aQueryData)

{

if (strParamName==n) strValue =aQueryData[n];

}

return strValue;

}

else

{

return strValue;

}

}

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

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

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

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

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

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

iu.javaAppletJarFileName = "ImageUploader5.jar";

iu.javaAppletCodeBase = "../";

iu.javaAppletCached = true;

iu.javaAppletVersion = "5.0.15.0";

iu.showNonemptyResponse = "off";

//Configure appearance.

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

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

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

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

//Configure License Keys

//iu.addParam("LicenseKey", "71050-4C90A-00000-04CCA-ED930;72050-4C90A-00000-03000-6E013");

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

//Configure thumbnail settings.

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

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

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

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

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

//Configure URL files are uploaded to.

iu.addParam("Action", "upload1.aspx?folder=used_car&Dealer="+getURLParamNew("Dealer")+"&ID="+getURLParamNew("ID"))

//Configure URL where to redirect after upload.

iu.addParam("RedirectUrl", "edit_used_car.aspx?id="+getURLParamNew("ID")+"&page=2")

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

//Image Uploader to the page.

iu.writeHtml();

//]]>

</script>

Eugene Kosmin  
#2 Posted : Monday, March 10, 2008 4:39:07 PM(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,

It looks like you are using valid trial keys. I saved your page and it worked successfully with IU 5.0.15. Can you give us Java console dump and the direct link, if it is possible?

Edited by user Tuesday, October 28, 2008 6:14:05 AM(UTC)  | Reason: Not specified

Best regards,

Eugene Kosmin

The Aurigma Development Team

Users browsing this topic
Guest
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.