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>