| Author |
|
rhonadrew New User


Joined: July/29/2007 Location: United States
Online Status: Offline Info: 4
|
| Added: July/29/2007 at 5:41pm | IP Logged
|
|
|
I and my client are receiving the following error when attempting to upload photo's. I do not see where I would change these settings:
Active Server Pages error 'ASP 0113'
Script timed out
/gallery/gallery_admin/upload_post_VBSCRIPT.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
Please advise - Rhona
__________________ Rhona
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: July/29/2007 at 5:48pm | IP Logged
|
|
|
need more info ?
site looks like it was working before so wasn't picture uploading working at some point ?
what exact size are the pictures being uploaded ?
have you checked folder permissions for the picture upload location ?
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
rhonadrew New User


Joined: July/29/2007 Location: United States
Online Status: Offline Info: 4
|
| Added: July/29/2007 at 6:11pm | IP Logged
|
|
|
Hi Chris,
The client has always had a problem with uploading pictures. The pictures that are currently on the website I uploaded when we first set up the gallery. I do not know the exact size of the photo that my client was trying to upload. I did a test upload on a large picture 900 px wide and received the error.
I have also included the error in a tech support ticket and your question regarding the folder permissions for the picture upload location. Is there a section that I could change manually?
Rhona
__________________ Rhona
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: July/29/2007 at 7:04pm | IP Logged
|
|
|
ok, well, does a very small picture uploaded even work ... lets narrow this down ?
as for the support ticket you mentioned I am not sure what you mean as I dont have a support ticket system... these forums are support
as for settings for image uploading its all in the admin area configuration screen.. under any normal circumstances those timeout values are plenty high so my guess is you have other issues going on
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: July/29/2007 at 7:21pm | IP Logged
|
|
|
I also notice from looking at the server info page that .. that server has your web using network paths like so
\\NAWINFS04\home\users\web\
in my experience that is usually a bad way to set up a server and that may be why file uploading via JUST CODE is timing out.. and not functioning \\ pathing introduces all sorts of delays and permission issues... it can also slow down access database connection a lot.. not good any way you look at it if your doing anything serious with technologies such as server side code
Also.. If you PM admin info I can go in and look at the setup and see if I see anything odd with the picture uploading stuff
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
rhonadrew New User


Joined: July/29/2007 Location: United States
Online Status: Offline Info: 4
|
| Added: July/29/2007 at 11:33pm | IP Logged
|
|
|
Hi Chris,
Yes a smaller picture did work earlier. I sent a trouble ticket to the hosting company. I will PM you with the admin info.
Thank you! Rhona
__________________ Rhona
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: July/29/2007 at 11:58pm | IP Logged
|
|
|
ok,
Well, I just uploaded some pictures..
a small 12 kb image uploaded very fast. a bigger 800 pixel wide 92 kb image uploads very slow but works a bigger 175 kb image uploads even slower but works a very large 800 kb image times out - then after uploading you can only see the image to the point where things stopped transferring.
here is what is going on..
permissions are fine so dont pursue that further with the host
uploading images via pure code is VERY inefficient... large images go very slowly... add in that fact that your server has everything on network paths and it make performance way worse..
My suggestions.. get a real hosting company.. one not using network paths and preferably one with support for one of the supported uploading components. (the performance and speed increase of a real upload component is huge)
www.1and1.com and www.alentus.com are great for ASP hosting.. they really know what they are doing
Other suggestion.. reduce the physical file size of pictures before uploading... you're probably uploading really big images with low compression levels thus the problem.. uploading anything over 150 kb in size is probably not a real good idea right now
Other suggestion.. we can try to increase the timeout value and see how big of a file upload you can get away with... If you want to try that I'll need FTP info so I can go in and try a few things with the code.. even if it works uploading is gonna be real slow and it isn't real good for the server as ou will be using a lot of resources anytime your uploading.
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
cwilliams Admin Group

CJWSoft Web Software Developer
Joined: April/06/2004
Online Status: Offline Info: 1769
|
| Added: July/30/2007 at 4:04pm | IP Logged
|
|
|
I edited the timeout value to 900 seconds.. which is really high.
Anyway, big pictures upload very slowly but they do finish now..
again.. it's not real good for the server.. I would suggest your client lowers the size of things before uploading or you switch hosting companies to someone with a better setup
__________________
Best Regards,
Christopher Williams
www.CJWSoft.com
|
| Back to Top |
|
| |
rhonadrew New User


Joined: July/29/2007 Location: United States
Online Status: Offline Info: 4
|
| Added: July/30/2007 at 8:28pm | IP Logged
|
|
|
Hi Chris,
Thank you for taking the time to tweak the time out value. I ask my client to try it again, and also suggest that he reduces his pictures!
Rhona 
|
| Back to Top |
|
| |