ASP service appears to shut down all the time. It is not a high traffic
server, its running IIS5 advanced server with a odbc connection to a
Access2000 mdb.
This is happening almost every day?
When It works - it works fine and then it doesn't it doesn't.
It only affects asp pages on this site http://207.139.83.37 no matter which
database the connection is with (I have two database connections for this
web)
I cant even attribute it to any specific task that makes this
happen.
It seems that other sites with ASP scripts on the same server
still works fine.
The only thing that gets it going is a server restart.
Any input in avoiding this is really appreciated.
Cheers
Tony
1) Poor scripting
2) Too many simultaneous connections.
3) Connections not closing properly.
4) Not enough server memory.
--
Tom Pepper
MVG - Most Valuable Grump:
Over Half a Century of
Cantankerousness
---
Tony wrote in message ...
What error(s) do you get when this happens?
-Chad
"Tony" <ttu...@yahoo.com> wrote in message news:utVtOtmIAHA.255@cppssbbsa04...
--
=====================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, Email Discussion List,
Newsletter, WebRing, MS KB Quick Links, etc.
Thanks for all your reply's
Tony
"Thomas A. Rowe" <tar...@noln.com> wrote in message
news:uASg67mIAHA.286@cppssbbsa05...
Vague references to "service shutting down" doesn't really
tell us much.
Post some sample code of how you're accessing this Access
db (DAO? ADO?)
-Chad
"Tony" <ttu...@yahoo.com> wrote in message news:ewCn3AnIAHA.277@cppssbbsa05...
Background.
I am using a FP2000 ecommerce add on called Storefront2000 and it seems to
work well except for this problem. There are several ASP pages that come
with storefront and I have changed several of them. There is no error...just
a time-out when selecting any of the asp pages on the site - through a
browser.
I believe I have isolated a page (only because I made some crazy adjustments
to it ) cut and paste some code from other pages from Storefront files.
Again they seem to work right now (after a restart) and they arbitrarily
shut down. I have added a connection.open and close here. Does this make
sense?
I have a FP database results webbot also on this page...will that aid the
problem?
<%@ Language="VBScript" %>
<!--#include file="SFLib/product.inc"-->
<html>
<head>
</head>
<body>
<%' Response.Buffer = TRUE
'Response.Clear
'Response.Expires = 0
session.LCID = Session("LCID")
%>
<%
Product_ID= Request.QueryString("Product_ID")
%>
<%
Dim DSN_Name
DSN_Name = Session("DSN_Name")
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open DSN_Name
SQL="SELECT * FROM product WHERE PRODUCT_ID= '" & PRODUCT_ID & "'"
Set RS = Connection.Execute(SQL)
%>
<% If Request("ORDER_FLAG") = "1" Then %>
<% If Request("Alert") = "0" Then %>
<br><br><font face="verdana" color="black" size=3><i><b>
<br><br>
Thank You
<br>
<% If Request("Quantity") = "1" Then%><%= Request("Quantity") %>
<%= Request("DESCRIPTION") %> <%= Request("MFG") %><br>has been added to
your order!<br>
<% ElseIf Request("Quantity") > "1" Then %><%= Request("Quantity") %>
<%= Request("DESCRIPTION") %> <br>have been added to your order!<br>
<% End If %>
<%= Request("MESSAGE") %></b></i></font>
<% End If %>
<% If Request("Alert") = "1" Then %>
<%= Request("Quantity") %>
<% End If %>
<% End If %>
<% Else
'If Request.QueryString("ORDER_FLAG") = "1" Then
Response.Redirect"order.asp"
'If Request.QueryString("ORDER_FLAG") = "0" Then
Response.Redirect"default.asp"
%>
<%
Set RS = nothing
Connection.Close
Set Connection = Nothing
End If
%>
Thanks for your interest
Tony
"Chad Myers" <cmy...@NOSPAM.austin.rr.com> wrote in message
news:OyNqIwn...@cppssbbsa02.microsoft.com...
Most of the code you just posted (other than the stuff you made) is
protected by a copyright and the nice people over at StoreFront might get a
tad upset if they knew you where posting it up here on a newsgroup. I have
seen them kindly ask people not to do so on their own newsgroup.
Sorry I don't have any addition info about your problem....
Regards,
Eron :-)
"Tony" <ttu...@yahoo.com> wrote in message
news:#neQzEoIAHA.260@cppssbbsa05...
<%
Dim DSN_Name
DSN_Name = Session("DSN_Name")
Set Connection = Server.CreateObject("ADODB.Connection")
Connection.Open DSN_Name
SQL="SELECT * FROM product WHERE PRODUCT_ID= '" & PRODUCT_ID & "'"
Set RS = Connection.Execute(SQL)
%>
<table align="center" border="0" width="700">
<tr>
<td align=center width="700">
<!--webbot bot="HTMLMarkup" startspan -->
<% If Request("ORDER_FLAG") = "1" Then %>
<% If Request("Alert") = "0" Then %>
<br><br><font face="verdana" color="black" size=3><i><b>
<br><br>
Thank You
<br>
<% If Request("Quantity") = "1" Then%><%= Request("Quantity") %>
<%= Request("DESCRIPTION") %> <%= Request("MFG") %><br>has been added to
your order!<br>
<% ElseIf Request("Quantity") > "1" Then %><%= Request("Quantity") %>
<%= Request("DESCRIPTION") %> <br>have been added to your order!<br>
<% End If %>
<%= Request("MESSAGE") %></b></i></font>
<% End If %>
<% If Request("Alert") = "1" Then %>
<%= Request("Quantity") %>
<% End If %>
<% End If %>
<%
--
Shane Fowlkes
Accelerated Computer Technologies
www.acceleratedcomputers.com
(See FrontPage Tips at this web site.)
Eron Tarhay <sup...@vcconcepts.com> wrote in message
news:eyPZf#oIAHA.276@cppssbbsa04...
> just a quick fyi, for future reference....
>
> Most of the code you just posted (other than the stuff you made) is
> protected by a copyright and the nice people over at StoreFront might get
a
> tad upset if they knew you where posting it up here on a newsgroup. I have
> seen them kindly ask people not to do so on their own newsgroup.
>
> Sorry I don't have any addition info about your problem....
>
> Regards,
> Eron :-)
>
>
>
>
I think the problem may be with the <%Response.Redirect...%> code - I seem
to remember reading that you can't use Response.Redirect after the HTML
header has been written to the browser. Try replacing all Response.Redirect
code with something like:
<%
Response.Write "<Script
Language='jscript'>document.location='http://whatever...'</script>"
%>
You'll have to play about with the above to get it working.
HTH
Tony Spratt.
"Tony Spratt" <tony_...@jltgroup.com> wrote in message
news:O93dUDwIAHA.196@cppssbbsa05...
--
=====================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, Email Discussion List,
Newsletter, WebRing, MS KB Quick Links, etc.
"Tony Spratt" <tony_...@jltgroup.com> wrote in message