Go Back  Xtreme Visual Basic Talk > Other Languages > Web Programming > Aspsmartupload Problem


Reply
 
Thread Tools Display Modes
  #1  
Old 07-24-2002, 02:20 AM
ashish908 ashish908 is offline
Contributor
 
Join Date: Feb 2002
Location: Mumbai, India
Posts: 470
Default Aspsmartupload Problem


I am using the aspsmartupload component in a site which i have developed for allowing users to upload their photograph on the site. Yesterday I discovered an unusual problem on the pages which were using that component.

Uploading photographs is optional for the users. i found that when users upload their photographs the script related to upload component works fine. but when users chose to proceed without uploading their photographs then we get the following error

"The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings."

The same script was working fine for last 3 months. but yesterday it gave the problem. May be this is a bug in the component or something? i am not sure. Can someone suggest how to proceed with the problem.

Thanks in advance
Reply With Quote
  #2  
Old 07-24-2002, 11:05 AM
ChiefRedBull's Avatar
ChiefRedBull ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Default

I would start by examining your server logs. Then check you have the script and component setup as per the instructions. Next check the components FAQ, and finally email tech support.
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
Reply With Quote
  #3  
Old 07-24-2002, 11:29 AM
Rezner's Avatar
Rezner Rezner is offline
C# Lover

* Expert *
 
Join Date: Jan 2002
Location: 00-80-C8-C3-2E-52
Posts: 1,899
Default

I would guess that this is a logic problem in the script. If it works when you upload the picture but not when you don't -- then portions of the upload code must be firing when they're not supposed to be.

Is the page where the upload is conducted pre-fabricated (you downloaded it) or have you customized/created it?
__________________
"Man is still the best computer we can put aboard a spacecraft...and the only one that can be mass produced with unskilled labor." - Wernher von Braun
Reply With Quote
  #4  
Old 07-25-2002, 02:49 AM
ashish908 ashish908 is offline
Contributor
 
Join Date: Feb 2002
Location: Mumbai, India
Posts: 470
Default

I dont think the problem is with the script, because the same script was working fine from last 10 months. Even in my local machine, the scripts works fine. The page where upload is conducted is created by me,i have not downloaded it.
__________________
Success comes from knowing that you did your best to become the best that you are capable of becoming.
--John Wooden
Reply With Quote
  #5  
Old 07-25-2002, 05:05 AM
ChiefRedBull's Avatar
ChiefRedBull ChiefRedBull is offline
ISearchGoogle

Retired Moderator
* Expert *
 
Join Date: May 2001
Location: england
Posts: 6,321
Default

The error message you receive sounds like a web server error message. If the text you received in the error is not in the script anywhere, or in the object, then it is a server error, and i suggest you consult your server technicians..
__________________
Chuck Norris ordered a Big Mac at Burger King, and got one.
Reply With Quote
  #6  
Old 07-25-2002, 07:28 AM
Rezner's Avatar
Rezner Rezner is offline
C# Lover

* Expert *
 
Join Date: Jan 2002
Location: 00-80-C8-C3-2E-52
Posts: 1,899
Default

Does the error message (seems to be a custom server error page) kick you back a line number in the asp file where an error occured?
__________________
"Man is still the best computer we can put aboard a spacecraft...and the only one that can be mass produced with unskilled labor." - Wernher von Braun
Reply With Quote
  #7  
Old 07-26-2002, 12:59 AM
ashish908 ashish908 is offline
Contributor
 
Join Date: Feb 2002
Location: Mumbai, India
Posts: 470
Default

No it does not do so
__________________
Success comes from knowing that you did your best to become the best that you are capable of becoming.
--John Wooden
Reply With Quote
  #8  
Old 07-26-2002, 06:44 AM
Rezner's Avatar
Rezner Rezner is offline
C# Lover

* Expert *
 
Join Date: Jan 2002
Location: 00-80-C8-C3-2E-52
Posts: 1,899
Default

According to what you said, you are able to successfully create and use the object on another page. If this is true, then you have some type of error in your code.
__________________
"Man is still the best computer we can put aboard a spacecraft...and the only one that can be mass produced with unskilled labor." - Wernher von Braun
Reply With Quote
  #9  
Old 07-26-2002, 07:39 AM
ashish908 ashish908 is offline
Contributor
 
Join Date: Feb 2002
Location: Mumbai, India
Posts: 470
Default

No Rezner i think you got me wrong, i am able to use the same object in the same page and it runs properly if i upload the photograph. the error occurs only when i dont upload the photograph (Uploading Photograph is optional). The same page was working properly previously with/without photograph. The same page also working properly on local server. I know for sure that it is not something to do with the script, but then what could be the areas to check. I consulted the server technicians and told them to reregistere the component on the server, they said that they did that, but the problem persists. What are the other possible areas where i can tell them to check?
__________________
Success comes from knowing that you did your best to become the best that you are capable of becoming.
--John Wooden
Reply With Quote
  #10  
Old 07-26-2002, 10:02 AM
Rezner's Avatar
Rezner Rezner is offline
C# Lover

* Expert *
 
Join Date: Jan 2002
Location: 00-80-C8-C3-2E-52
Posts: 1,899
Default

If you don't need the object when people aren't uploading a picture, then make 100% sure that the server is not attempting to create it and/or destroy it at that point of time.

In other words, make sure that the object is not being utilized in any way when there's no picture to upload. If the object is being used wrongly, the errors may vary (or not exist at all) when you move around to different webservers.

This is just a guess on my part.
__________________
"Man is still the best computer we can put aboard a spacecraft...and the only one that can be mass produced with unskilled labor." - Wernher von Braun
Reply With Quote
  #11  
Old 07-27-2002, 12:49 AM
ashish908 ashish908 is offline
Contributor
 
Join Date: Feb 2002
Location: Mumbai, India
Posts: 470
Default

Just putting "response.end" at the start of the page, the error persists, that means, the error persists before it even executed a single line of code, which ascertain that the problem lies with the web server or the component itself
__________________
Success comes from knowing that you did your best to become the best that you are capable of becoming.
--John Wooden
Reply With Quote
  #12  
Old 07-27-2002, 10:58 AM
Rezner's Avatar
Rezner Rezner is offline
C# Lover

* Expert *
 
Join Date: Jan 2002
Location: 00-80-C8-C3-2E-52
Posts: 1,899
Default

To debug it, throw in some "Respone.Write x" statements (where x represents a integer that you increment with each time you place it). With this, you can see what point the script is crashing.
__________________
"Man is still the best computer we can put aboard a spacecraft...and the only one that can be mass produced with unskilled labor." - Wernher von Braun
Reply With Quote
  #13  
Old 07-28-2002, 09:49 PM
Thinker Thinker is offline
Iron-Fisted Programmer

Retired Moderator
* Guru *
 
Join Date: Jul 2001
Location: Fayetteville Arkansas USA
Posts: 18,127
Default

Quote:
Originally posted by ashish908
Just putting "response.end" at the start of the page, the error persists, that means, the error persists before it even executed a single line of code, which ascertain that the problem lies with the web server or the component itself
Maybe you need a <% Response.Buffer = True %> at the very
top of your page.
__________________
Posting Guidelines
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->