Rank: Member
Groups: Member
Joined: 1/23/2006(UTC) Posts: 4
|
I have my users limited to 15 images and I can load 15 images that total 3 or 4 megs and everything works great. I can try and upload 8 images that total 10+ megs and the uploader appears to runs successfully and the Upload Complete popup shows but no images are added to the server and no errors are returned. I am using ASP code on IIS 6, Windows Server 2003 and the ActiveX version of uploader. I have turned on the error message parameters and nothing is showing as failed so I don't know what else it could be. I have given the Network System account Full Control on the necessary folders. I have changed the AspMaxRequestEntityAllowed setting in the MetaBase.xml file to "1073741824" per the ASPSmartUpload documentation. The process is taking less than a minute and I have the script timeout set to 120 seconds on IIS so it should not be timing out. Again, I can load small collections of images everytime with no problems. Here is my code for the uploader: Code:<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = true;
iu.javaAppletEnabled = false;
//For ActiveX control we specify full path for CAB file
iu.activeXControlCodeBase = "ImageUploader3.cab";
iu.activeXControlVersion = "3,5,144,0";
iu.addParam("LicenseKey", "####-####-####-####");
iu.addParam("Layout","TwoPanes");
iu.addParam("UploadThumbnail1FitMode","Fit");
iu.addParam("UploadThumbnail1Width","120");
iu.addParam("UploadThumbnail1Height","120");
iu.addParam("UploadThumbnail1JpegQuality","60");
iu.addParam("ShowDebugWindow","True");
iu.addParam("AdditionalFormName","Form1");
iu.addParam("EnableRotate","True");
iu.addParam("BackgroundColor", "#345574");
iu.addParam("MaxTotalFileSize", "30000000");
iu.addParam("MaxFileCount", "15");
iu.addParam("MaxFileSize", "1500000");
iu.addParam("ShowDebugWindow", "True");
iu.addParam("MessageDimensionsAreTooLargeText", "The image [Name] cannot be
selected. These image dimensions ([OriginalImageWidth]x[OriginalImageHeight])
are too large. The image should be smaller than
[MaxImageWidth]x[MaxImageHeight].");
iu.addParam("MessageMaxFileSizeExceededText", "The file [Name] cannot be
selected. This file size exceeds the limit ([Limit] Kb).");
iu.addParam("MessageMaxTotalFileSizeExceededText", "The file [Name] cannot be
selected. Total upload data size exceeds the limit ([Limit] Kb).");
iu.addParam("MessageNoInternetSessionText", "No Internet session was
established.");
iu.addParam("MessageNoInternetSessionWasEstablishedText", "No Internet session
was established.");
iu.addParam("MessageNoResponseFromServerText", "No response from server.");
iu.addParam("MessageServerNotFoundText", "The server or proxy [Name] not
found.");
iu.addParam("MessageUnexpectedErrorText", "Image Uploader encountered some
problem. If you see this message, contact web master.");
iu.addParam("MessageUploadCancelledText", "Upload is cancelled.");
iu.addParam("MessageUploadFailedText", "Upload failed (the connection was
interrupted).");
iu.addParam("MessageUserSpecifiedTimeoutHasExpiredText", "User-specified timeout
has expired.");
iu.addParam("FilesPerOnePackageCount", "-1");
iu.addParam("FileMask", "*.jpg;*.jpeg;*.jpe;*.bmp;*.gif");
iu.addParam("MessageMaxFileCountExceededText", "You can select not more then 15
files.");
iu.addParam("Action","AspSmartUpload.asp")
iu.addEventListener("Progress", "ImageUploader_Progress");
iu.writeHtml();
</script>
Edited by user Sunday, February 17, 2008 8:02:35 PM(UTC)
| Reason: Not specified
|