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

Notification

Icon
Error

Options
Go to last post Go to first unread
dwqdqw  
#1 Posted : Monday, May 11, 2015 4:10:02 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Hi,

i'm trying to test the application on a windows 2003 server.

I've downloaded the application from http://www.aurigma.com/, installed it on the server and tested the process on the same server. Page location is HTML5-Flash/ASP/Samples_ImageUploaderFlashJavaScript/Default.asp page.

When i try to upload any file a yellow tab appears with "Some server-side error occurred. If you see this message, contact your Web master." written inside.

The folder which must contain the uploaded files have write permissions.

The log file says: "POST /HTML5-Flash/ASP/Samples_ImageUploaderFlashJavaScript/Apps/Basic/Upload.asp |159|800a01fa|Class_not_defined:_'clsField'"

I dunno what to do.

Can you help me please?

Regards,

Vito

Edited by user Monday, May 11, 2015 4:41:43 AM(UTC)  | Reason: Not specified

Dmitri  
#2 Posted : Tuesday, May 12, 2015 9:14:47 PM(UTC)
Dmitri

Rank: Advanced Member

Groups:
Joined: 6/10/2013(UTC)
Posts: 34

Was thanked: 1 time(s) in 1 post(s)
Hi,

For Classic ASP you need to add additional files to the server. Please use the following instructions:

1. Download "Upload Files Without COM v3" from

http://www.planet-source...CodeId=8525&lngWId=4

2. Put clsField.asp, clsProgress.asp, clsUpload.asp files in the /clsUpload folder.

3. Insert this code to the clsUpload.asp file starting from line #609:

Code:
'If it is not found, check whether the file is uploaded by Aurigma Flash Uploader
	If llngStart = 0 Then
		llngStart = InStr(1, pstrDisposition, "filenam_=""", vbTextCompare)
	End If

Edited by user Tuesday, May 12, 2015 9:16:45 PM(UTC)  | Reason: Not specified

Best regards,

Dmitri Vorobyov

dwqdqw  
#3 Posted : Wednesday, May 13, 2015 1:21:32 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Hi,

thank you for your help! I appreciate it very mutch!

Now it seems working good, even if max file size is limited to 30Mb at the moment.

Kind regards,

Vito

dwqdqw  
#4 Posted : Wednesday, May 13, 2015 5:22:33 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Hi,

using files with size up to 5Mb the application stops during upload process.

Any idea? I dunno what to do now.

Thanx a lot.

Regards,

Vito

Edited by user Wednesday, May 13, 2015 5:23:10 AM(UTC)  | Reason: Not specified

Dmitri  
#5 Posted : Thursday, May 14, 2015 3:12:53 AM(UTC)
Dmitri

Rank: Advanced Member

Groups:
Joined: 6/10/2013(UTC)
Posts: 34

Was thanked: 1 time(s) in 1 post(s)
Hi Vito,

Please check your IIS settings for max POST length.

Best regards,

Dmitri Vorobyov

dwqdqw  
#6 Posted : Thursday, May 14, 2015 3:50:32 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Already done. Other procedures upload filex big over than 500mb. On the same server.
Dmitri  
#7 Posted : Friday, May 15, 2015 4:15:23 AM(UTC)
Dmitri

Rank: Advanced Member

Groups:
Joined: 6/10/2013(UTC)
Posts: 34

Was thanked: 1 time(s) in 1 post(s)
Hi Vito,

Please post here a code of your Upload Suite settings including all Events. Also, check the Console in Google Chrome browser for errors. Thank you.

Best regards,

Dmitri Vorobyov

dwqdqw  
#8 Posted : Monday, May 18, 2015 5:47:05 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Hi, thank you for your reply.

Files with size over than 20Mb stops during upload and a yellow tab with "Some server-side error occurred. If you see this message, contact your Web master." written appears.

Using Firefox console the following message appears: "Image corrupt or truncated: blob:http://10.10.10.96:911/75a593f1-4057-4d53-b2e3-37d1d72848bf".

My image is not corrupted. I've tried to upload another image but always with the same warning in the page.

I paste the page code as is written in the sample page (the same i'm using):

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8" />

<title>Aurigma Upload Suite 8 Demo Applications&nbsp;&mdash;&nbsp;Basic demo

</title>

<meta name="viewport" content="width=device-width, initial-scale=1" />

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<meta http-equiv="X-UA-Compatible" content="IE=edge"/>

<link href="../../Scripts/css/aurigma.htmluploader.control.css" rel="stylesheet" type="text/css" />

<link href="../../Styles/css.css" rel="stylesheet" type="text/css" />

<link href="../../bower_components/bootstrap/dist/css/bootstrap.css" rel="stylesheet"/>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->

<!--[if lt IE 9]>

<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>

<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>

<![endif]-->

<script type="text/javascript" src="../../bower_components/jquery/dist/jquery.min.js"></script>

<script src="../../Scripts/aurigma.imageuploaderflash.min.js" type="text/javascript"></script>

<script src="../../Scripts/aurigma.htmluploader.control.js" type="text/javascript"></script>

<script type="text/javascript">

$().ready(function(){

var uploader = $au.imageUploaderFlash({

id: 'Uploader1',

licenseKey: '77FF4-004B9-8C703-B113B-11CD1-AEEF92',

width: '100%',

height: '400px',

enableDescriptionEditor: false,

enableRotation: false,

converters: [

{ mode: '*.*=SourceFile' },

{ mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '120', thumbnailHeight: '120' }

],

uploadSettings: {

actionUrl: 'Upload.asp',

redirectUrl: 'Gallery.asp'

},

flashControl: {

codeBase: '../Scripts/aurigma.imageuploaderflash.swf',

bgColor: '#f5f5f5'

},

restrictions: {

maxFileSize: 314572800,

fileMask: [

['Images (*.jpg;*.jpeg;*.png;*.gif)', '*.jpg;*.jpeg;*.png;*.gif']

]

}

});

$("#uploader").html(uploader.getHtml());

});

</script>

</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">

<div class="container-fluid">

<div class="navbar-header">

<a href="http://www.aurigma.com"><img class="navbar-brand" alt="Aurigma logo" src="../../Styles/au_logo.png"/></a>

<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu" aria-expanded="false" aria-controls="navbar">

<span class="sr-only">Toggle navigation</span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

<span class="icon-bar"></span>

</button>

</div>

<div id="navbar" class="navbar-collapse collapse"><span class="navbar-text">Upload Suite 8 (HTML5/Flash uploader): Basic Demo</span></div>

</div>

</nav>

<div class="container">

<div class="col-md-10 col-lg-10 col-sm-10 col-md-offset-1 col-lg-1-offset col-sm-offset-1">

<div class="row">

<div class="panel panel-primary">

<div class="panel-heading">

<h1 class='panel-title'>Basic Demo: quick start demo with minimum set of features.</h1>

</div>

<div class="panel-body" id="sample-body">

<div id="uploader"></div>

</div>

<div class="panel-footer">

<h3>Description</h3>

<p>

This application is a quick start demo with minimum set of features. It demonstrates how to:

</p>

<ul>

<li>Filter files by size and type.</li>

<li>Upload original images along with 120x120 thumbnails.</li>

<li>Redirect to another page after successful upload.</li>

</ul>

<p>

After the upload process completes the uploader redirects you to a page with links to uploaded files.

</p>

<div class="panel panel-info"><div class="panel-body">This demo can be found in the <code>Apps/Basic</code> folder of the <a target="_blank" href="http://www.aurigma.com/downloads/upload-suite">Upload Suite 8 SDK</a>.</div></div>

</div>

</div>

</div>

</div>

</div>

<!-- Bootstrap core JavaScript

================================================== -->

<!-- Placed at the end of the document so the pages load faster -->

<script src="../../bower_components/bootstrap/dist/js/bootstrap.js"></script>

</body>

</html>

Dmitri  
#9 Posted : Tuesday, May 19, 2015 12:33:44 AM(UTC)
Dmitri

Rank: Advanced Member

Groups:
Joined: 6/10/2013(UTC)
Posts: 34

Was thanked: 1 time(s) in 1 post(s)
Hello,

You have a server issue and it relates to the actionUrl: 'Upload.asp'. Please check your server log or enable this error event:

http://www.aurigma.com/d...eUploaderFlash_Error.htm

Best regards,

Dmitri Vorobyov

dwqdqw  
#10 Posted : Tuesday, May 19, 2015 5:01:20 AM(UTC)
dwqdqw

Rank: Newbie

Groups: Member
Joined: 5/8/2015(UTC)
Posts: 6

Hi, log in Firefox says:

Failed_to_save_file:_.___No_data_was_found_within_the_file_(zero_bytes)._[Need_help?__Contact_Lewis_Moten__lewis@moten.com__http://www.lewismoten.com] 911 - 10.80.32.235 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:38.0)+Gecko/20100101+Firefox/38.0 500 0 0

i'm a bit confused. Write permissions are setted.

Application is running on Windows 2003: is correct or which configuration please?

Regards,

Vito

Dmitri  
#11 Posted : Wednesday, May 20, 2015 1:53:43 AM(UTC)
Dmitri

Rank: Advanced Member

Groups:
Joined: 6/10/2013(UTC)
Posts: 34

Was thanked: 1 time(s) in 1 post(s)
Hi Vito,

Please note that you need to check IIS log on your server (not the browser log). As another option, you can use Error Event from the link above.

Best regards,

Dmitri Vorobyov

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.