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

Notification

Icon
Error

Options
Go to last post Go to first unread
aristotle.tiama  
#1 Posted : Tuesday, April 7, 2009 7:20:56 PM(UTC)
aristotle.tiama

Rank: Newbie

Groups: Member
Joined: 8/26/2008(UTC)
Posts: 2

Dear Aurigma,

We created a web site for a client wherein we used your Aurigma Image Uploader 4.0 (cab version containing ImageUploaded.ocx and iuembed.js). We updated the component to version 4.7.16.0 last August 2008 in response to Microsoft's latest update. Everything was working fine until after we moved the site to another hosting server. We received an updated Aurigma key for the new IP but we are still encountering the problem wherein the Image Uploader interface is not being rendered on the page. No message/warning whatsoever.

Some background info:

1. We have the updated Aurigma license key for the new server ip and inserted it in web.config.
2. We are currently using IE7 to replicate the error.
3. We are using version 2.0.2.0 of iuembed.js (Aurigma Image Uploader Dual 4.x Embedding Script)
4. Included below is the javascript that's responsible for writing the ImageUploader interface. Note that all files referenced in the script are present in their respective directories, so the possibility of missing files can be ruled out.

Code:
<script type="text/javascript" language="javascript">

    var cabPath = '<%= string.Format("http://" + Request.Url.Authority + "/bin/ImageUploader4.cab") %>';
    var iu = new ImageUploaderWriter("ImageUploader", 600, 439);

    iu.activeXControlEnabled = true;
    iu.javaAppletEnabled = false;
    iu.activeXControlCodeBase = '<%= string.Format("http://" + Request.Url.Authority + "/bin/ImageUploader4.cab") %>';
    iu.addParam("ShowDebugWindow", "True");
    iu.addParam("Layout", "ThreePanes");
    iu.addParam("LicenseKey", '<%= System.Configuration.ConfigurationManager.AppSettings["AurigmaGraphicsMillImageUploaderLicenseKey"]; %>');

    iu.addParam("UploadThumbnail1FitMode", "Width");
    iu.addParam("UploadThumbnail1Width", 300);
    iu.addParam("UploadThumbnail1Height", 200);
    iu.addParam("UploadThumbnail1JpegQuality", "100");
    iu.addParam("DropFilesHereText", "Drag and drop your files here.");
    iu.addParam("MessageUploadCompleteText", "");
    iu.addParam("Padding", "0");
    iu.addParam("BackgroundColor", "#FFF8EE");
    iu.addParam("PaneBackgroundColor", "#FFFFFF");
    iu.addParam("ShowButtons", "false");
    iu.addParam("ShowStatusPane", "false");
    iu.addParam("ShowSubfolders", "true");
    iu.addParam("AllowFolderUpload", "true");
    iu.addParam("AdditionalFormName", "PageForm");
    iu.addParam("Action", "");
    iu.addParam("FilesPerOnePackageCount", "1");
    iu.addParam("MaxConnectionCount", "3");
    iu.addParam("FolderView", "Details");
    iu.addParam("UploadView", "Details");
    iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe");

    // ... Event Listeners ... 
    iu.addEventListener("BeforeUpload", "checkSelectedLabels");
    iu.writeHtml();

</script>



Any advice you can give us?



Thanks and best regards,

Aris

Edited by user Tuesday, April 7, 2009 8:02:44 PM(UTC)  | Reason: Not specified

Fedor  
#2 Posted : Tuesday, April 7, 2009 8:05:49 PM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,558

Thanks: 5 times
Was thanked: 62 time(s) in 61 post(s)
Dear Aris,

When you browse page Image Uploader. do you see installation warning or just red cross?

Also can you download control from specified place?

http://" + Request.Url.Authority + "/bin/ImageUploader4.cab

For example, IIS prohibits file downloading from /bin/ location (this folder is reserved for ASP.NET purposes).

Edited by user Tuesday, April 7, 2009 8:08:33 PM(UTC)  | Reason: Not specified

Best regards,
Fedor Skvortsov
aristotle.tiama  
#3 Posted : Sunday, April 12, 2009 10:25:49 AM(UTC)
aristotle.tiama

Rank: Newbie

Groups: Member
Joined: 8/26/2008(UTC)
Posts: 2

Fedor wrote:
Dear Aris,

When you browse page Image Uploader. do you see installation warning or just red cross?

Also can you download control from specified place?

http://" + Request.Url.Authority + "/bin/ImageUploader4.cab

For example, IIS prohibits file downloading from /bin/ location (this folder is reserved for ASP.NET purposes).


Hi Fedor,

Yup that was the root of the problem. I mistakenly accessed the cab file in the bin folder in the script when I was refactoring the code.

Thanks.
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.