473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Error in Classic ASP site brings the entire site down

There is an old site that i'm having to maintain in classic asp. For
some reason, the original developers didn't belive in validation, so
there are many places where if the user puts in invalid data,
asp/vbscript throws a big sql server error. In development, on my
windows XP box, I can see this error (basically the field is not large
enough in sql server for the text they are trying to enter.) However,
when this error occurs on the production windows 2000 server box that
the hosting company is using, it brings the entire asp website down.
Static pages and ASP.NET pages still work fine, but all the classic asp
pages hang and hang and are entirely unresponsive.

Is there some setting or issue with windows 2000 where these types of
errors would crash the whole website? its like a transaction is
deadlocked or something but this hanging behavior doesn't happen on
windows xp on my local box. I check the sql server database shows all
the connections for that site's sql login to be sleeping.

I know i can simply enlarge the field and/or put in data validation.
But i want to make sure that if there are any other similar errors in
the future, they don't bring the site down. Any ideas?

Jan 2 '07 #1
4 1838
I doubt if it is ASP locking.

Sounds like the database is locking up and any pages which attempt to be used that also require the database are unable to work.

Try an ASP page that doesn't use the database to confirm which is locking up, ASP or the database. If this non-database page also
fails, check to see if there is a global.asa file has a problem which is subsequently affecting all other pages.


"Fregas" <fr****@gmail.comwrote in message news:11**********************@n51g2000cwc.googlegr oups.com...
There is an old site that i'm having to maintain in classic asp. For
some reason, the original developers didn't belive in validation, so
there are many places where if the user puts in invalid data,
asp/vbscript throws a big sql server error. In development, on my
windows XP box, I can see this error (basically the field is not large
enough in sql server for the text they are trying to enter.) However,
when this error occurs on the production windows 2000 server box that
the hosting company is using, it brings the entire asp website down.
Static pages and ASP.NET pages still work fine, but all the classic asp
pages hang and hang and are entirely unresponsive.

Is there some setting or issue with windows 2000 where these types of
errors would crash the whole website? its like a transaction is
deadlocked or something but this hanging behavior doesn't happen on
windows xp on my local box. I check the sql server database shows all
the connections for that site's sql login to be sleeping.

I know i can simply enlarge the field and/or put in data validation.
But i want to make sure that if there are any other similar errors in
the future, they don't bring the site down. Any ideas?

Jan 2 '07 #2
Well, the plot thickens.

Apparently, if ANY error gets thrown on the whole site, even something
as simple as a VBScript syntax error, the entire ASP site goes down.
For a test, i made a page that just had one line of code: <%= now() %>.
If I change that to some gibberish, like <%= asdfasdf() %>, the whole
site goes down. So it is definitely NOT database related at all.
Thanks for your guidance as it helped me narrow down the problem
further.

I also looked in the Global.asa, and all that does is set on
application variable and one session variable, both of which are
strings.

Does ANYONE have any clues? Does microsoft monitor this newsgroup?

Thanks,
Craig

Jon Paal wrote:
I doubt if it is ASP locking.

Sounds like the database is locking up and any pages which attempt to be used that also require the database are unable to work.

Try an ASP page that doesn't use the database to confirm which is locking up, ASP or the database. If this non-database page also
fails, check to see if there is a global.asa file has a problem which is subsequently affecting all other pages.
Jan 4 '07 #3
Fregas wrote:
Well, the plot thickens.

Apparently, if ANY error gets thrown on the whole site, even something
as simple as a VBScript syntax error, the entire ASP site goes down.
For a test, i made a page that just had one line of code: <%= now()
%>. If I change that to some gibberish, like <%= asdfasdf() %>, the
whole site goes down. So it is definitely NOT database related at
all. Thanks for your guidance as it helped me narrow down the problem
further.

I also looked in the Global.asa, and all that does is set on
application variable and one session variable, both of which are
strings.

Does ANYONE have any clues?
Sorry, but I don't. Try the .inetserver.iis group.
Does microsoft monitor this newsgroup?
Sort of. They look for messages from MSDN subscribers. If you are a
subscriber go to the website and look for the managed newsgroups. You
should see some instructions there. If you are not a subscriber, then
don't count on getting a MS response.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jan 4 '07 #4

"Fregas" <fr****@gmail.comwrote in message
news:11**********************@q40g2000cwq.googlegr oups.com...
Well, the plot thickens.

Apparently, if ANY error gets thrown on the whole site, even something
as simple as a VBScript syntax error, the entire ASP site goes down.
For a test, i made a page that just had one line of code: <%= now() %>.
If I change that to some gibberish, like <%= asdfasdf() %>, the whole
site goes down. So it is definitely NOT database related at all.
Thanks for your guidance as it helped me narrow down the problem
further.

I also looked in the Global.asa, and all that does is set on
application variable and one session variable, both of which are
strings.

Does ANYONE have any clues? Does microsoft monitor this newsgroup?
You don't have debugging enabled in the application configuration for the
site do you?
>
Thanks,
Craig

Jon Paal wrote:
I doubt if it is ASP locking.

Sounds like the database is locking up and any pages which attempt to be
used that also require the database are unable to work.

Try an ASP page that doesn't use the database to confirm which is
locking up, ASP or the database. If this non-database page also
fails, check to see if there is a global.asa file has a problem which
is subsequently affecting all other pages.


Jan 4 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: PW | last post by:
Hi, I'm using WinXP-Pro, ASP classic, IIS 5.0. I regularly get this error, but I know I am the only user accessing the website at the time of the error. I looked it up on the MS support...
1
by: Duke Hamacher | last post by:
My client has a laregly static web site in English only. I will be adding e-commerce functionality shortly. Therefore, I am seeking an approach to allow users to select a language to view the...
99
by: Jim Hubbard | last post by:
It seems that Microsoft not only does not need the classic Visual Basic developer army (the largest army of developers the world has ever seen), but now they don't need ANY Windows developer at a...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
5
by: Bruce W.1 | last post by:
I know how to setup an ASP.NET project and website. But I'm not clear on how this is done with classic ASP. I've heard people say they need to shut down ASP before they can modify any of the...
10
by: werdna.sivad | last post by:
I built an ASP site using the new Visual Studio 2005. The site uses a simple master page. On my local machine everything runs just fine. When I publish the site and FTP it to the server, it...
10
by: DaveS | last post by:
I've been trying to start out learning some ASP and I've been trying to create the classic 'Hello world' program. I'm running the ASP pages on some webspace I have, rather than on my computer....
3
by: Timbo | last post by:
This is a really weird one and very odd. I have written a web site using VS2005 and .Net 2.0, all works very well when running it locally. However when I publish it to my web server (hosted by...
1
by: Dennis | last post by:
my company has a large web site written in old asp, vbscript, and a little javascript. I am trying to convert it over to ASP.NET C# as we add new features instead of having to write the new...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.