Debugger On Run Time ...
I am using 'Microsoft Visual InterDev 6.0'
as my editor 4 asp.
I just one 2 know, how can I set the debugger for it
in my client site ..
I am using 'Microsoft Visual InterDev 6.0'
as my editor 4 asp.
I just one 2 know, how can I set the debugger for it
in my client site ..
IIS 5
Classic ASP
(textpad)
A month or so ago the MS ASP debugger was working fine.
I would put the word "debugger" (Jscript) then browsed to the page via
http://localhost/file.asp and the debugger would open up at the
location I put the "debugger" word then I could step through the rest
of the page.
Note that this is on a single local server (my testing server).
Only thing I can think of is that I installed an app that needed the
..net framework (QAlite), which I've uninstalled (inc .net) and still
no luck in the MS debugger.
It seems to work on any javascript (client side) code, when it pops up
with "do you want to debug" screen.
Note I _have_ the setting enabled on the IIS server for ASP Debugging
Does anyone have any idea how I can get it to work?
I was wondering is there some asp debugger I could downlaod and run my asp code a line at a time doing a trace into type thing? I'm getting anoyed with errors that i can't locate easily.
View Replies View RelatedI am trying to find a debugger that I can step thru ASP following the code, like VB does using F8 to step thru code. If there is anything like this, please point me into the right direction.
View Replies View RelatedI am new to ASP and presently I use a simple text editor (ConText, freeware) to write my ASP code. Is there any good tools outhere to facilitate coding and debugging ASP files?
View Replies View RelatedI am having a major problem with my Visual InterDev 6 ASP debugger.
When I launch the debugger, I get the message "Unable to find server. Unable to set server into correct debugging state automatically. You may not be able to debug ASP pages. Do you want to continue launching the debugger?".
In IIS, I've enabled server side debugging for my virtual domains, and set Application Pooling for each domain to "Medium".
I notice that when I start the VID ASP debugger, it switches Application Pooling for the web domain to "High", which effectively prevents the debugger from operating.
I'm running Win XP Pro SP2, and debugging local web domains.
I'm running an ASP test site on XP Professional/IIS 5.1. The problem I'm having is that error messages are not being displayed. If I get a script error, all that gets
displayed is a blank page. I've made sure that the "enable server-side debugging" option is selected, and I've tried both restarting IIS and rebooting the server - with no results.
I've checked the client-side page source and I've gotten some very strange results:
One time, it printed a HTML meta tag labeled "ASP_DEBUG_INFO". another, It printed the server- side code.
I'm facing some errors such as Type Mistmatch & Exception Occured in web application which has gone live. These errors are very rare and are not consistant in behaviour. I would like to debug my web application right from login to find out as to what is reason for these errors. I have downloaded Windows Script Debugger but I'm not able to debug the asp pages at all. I'm not able to put a breakpoint in the asp pages. Even the keyword Stop is not working
View Replies View RelatedI am coding in ASP. When there was an error in my code, it used to come up in IE and tell me the error and the line of the code it was on. Now, it's opening Script Debugger on the server all of a sudden, and I no longer see those errors in IE. Does anyone know why this is happening and what I can do to stop it?
View Replies View Relatedim writing classic asp code in dreamweaver. i did install visual studio ages ago. about the same time the vs 'just in time' debugger keeps popping up every time theres an error in my code (im using dreamweaver not vs). How can i disable this and go back to having the error display in my browser? Ive gone into vs and disabled the debigger but its still doing it. does anyone know? i dont really want to uninstall vs as i may need it in the future.
View Replies View RelatedI'm facing some errors such as Type Mistmatch & Exception Occured in web application which has gone live. These errors are very rare and are not consistant in behaviour.
I would like to debug my web application right from login to find out as to what is reason for these errors. I have downloaded Windows Script Debugger but I'm not able to debug the asp pages at all. I'm not able to put a breakpoint in the asp pages. Even the keyword Stop is not working. Code:
I've got a problem attaching the Script Debugger to ASP pages under IIS6. Set up everything following IIS6 documentation: turned on ASP debug in IIS Manager; edited
permissions for Machine Debug Manager in the DCOM configuration, giving Launch and Activate permissions to Network Service (which is the account for the corresponding process pool).
IIS is in WP isolation mode. ASP is activated. Sending detailed error info to the browser is activated and works fine. No errors in event log about DCOM app attach permission denials.
I have installed Microsoft Script Debugger.
But when I select the Running Documents option from the view menu, there is
nothing but an empty window displayed.
I wish to debug ASP pages.
So I was expecting to find a Microsoft Active Server Pages node, from which
I would select the ASP pages I wished to debug.
I can execute the pages of the my ASP application. But when I include a
stop statement in the ASP server side code the ASP page is not paused.
I am using IIS on the same development PC that I am doing my testing. I
have enabled ASP server-side script debugging on the Application
Configuration Window for both the default application as well as my test
application.
I have both Visual Studio 6 and Visual Studio .NET 2003 installed on my
development PC.
I would like to display the difference between the logging time
[Session("start"] and the current time [now]. In hours minutes and seconds,
I have tried a couple of things but all I see is gobbledy gook.
I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I get logged out.
I need to need to reload that sign in url every few hours Code:
there i was just windering how do i compare a date/time vlaue in sql server agaisnt the computers' date/time.
for example, if computer date/time is two months or 2 weeks before the database date/time do something
Currently working on a ASP for a friend, which requires the date and
time on it. It pulls in entries from an Access Database with dates and
times in the format of:
"Fri Oct 17 18:02:46 2003"
However my date and time on the ASP page is displayed as:
"Friday, October 17, 2003 18:02:46"
using the script:
"<%Session.LCID = 1033%>
<%=FormatDateTime(Date(), vbLongDate)%>
<%Session.LCID = 2057%>
<%=time()%>"
Anyone know how to change this script, fully or partly to produce the
date and time on the format that's in the access database i.e. "Fri Oct 17
18:02:46 2003" Code:
I am working on a database that collects information about incidents. One of the fields that people enter is the time of the incident. I am trying to convert that string that people enter into a OdbcType.Time and I am at a lost.
View Replies View RelatedHow will we convert the system date & time to other timezone for eg: Eastern Time zone using ASP?
View Replies View RelatedWhen the Form is submitted I use the Date() and Time() functions to put the date and time into the Body part of the e-mail. The time reported is three hours earlier than the time at which the Form is actually submitted.
I understand these functions are evaluated on the server so the server must be in a time zone three hours earlier than where I am . Is there any way I can get the local time at the location where the user is actually located. ?
Any some tools or sample codes drop down asp script execute time and
database connection time ?
I'm trying to do a very simple code that converts the server time into a time zone of your choice.
<%
dim h 'Current Hour
dim i ' Time Zone Increase - add or subtract hours
dim r 'Result Here
h = Hour(Now)
i = + 2
r = h + i
%>
but obvisouly i'm having trouble with the time zone convert.
I am trying to compare the NOW time with a "deadline" time. Please help. Just not sure why this is not working. I need to be able to say IF IT'S BEFORE 9:30 TODAY, IT'S OKAY TO ADD SOMETHING. IF IT'S AFTER 9:30 TODAY, YOU MUST ADD IT TOMORROW.
CODE:
nowtime=now()
deadlinetime=formatdatetime(now(),2) + " 8:30:00 AM"
response.write "NOW: " & nowtime & "<BR>"
response.write "Deadline: " & deadlinetime & "<BR>"
if nowtime<deadlinetime then response.write "can send out today" end if
if nowtime>deadlinetime then response.write "must send out tomorrow" end
if
RESULTS:
NOW: 1/18/2007 8:51:43 AM
Deadline: 1/18/2007 8:30:00 AM
can send out today
As you can see, NOW is GREATER THAN Deadline, so it should must send out tomorrow.
i want to calculate the total time between to dates and time.
Example: Total time elapsed from date 1 time 1 to date 2 time 2.
27/09/2004 11:00 - 28/09/2004 10:30
The user enters a record and then later comes back and closes it. I need to know the time it took from when they entered the record until the time it was closed.
i am trying to get a time variable which is 30 minutes before the current time to use in a calculation.
The code I am using is:
validationtime=time-3000
response.write(time)
response.write ("<BR>")
response.write(validationtime)
but the response I get is incorrect along the lines of:
11:54:42
14/10/1891 12:05:18
What am I doing wrong, why is validation time also including a date
Can someone tell me how i can use a if loop
its related with time I want to display a registration form on 29 Jan 2007
only between 10am pacific time to 1pm pacific time
so only between 10am - 1pm pacific time the registration form should appear
i live in the central time zone
can someone tell me how i can make this happen.
I am trying to use the time function to determine whether or not it is morning, afternoon or evening.
I wrote my code and then changed the values it is comparing with to see if would work and it doesn't, it just stays on the good morning.
<% if time > 0 then %>
Good Morning <b><%= Session("sessFirstName") %></b><br><br>
<a href="logout.asp">Log Out</a>
<% end if %>
<% if time > 12 then %>
Good Afternoon <b><%= Session("sessFirstName") %></b><br><br>
<a href="logout.asp">Log Out</a>
<% end if %>
<% if time > 18 then %>
Good Evening <b><%= Session("sessFirstName") %></b><br><br>
<a href="logout.asp">Log Out</a>
<% end if %>
Do i need to put quotes around the number i am checking with?
how can i get this tag to adjust for time zones? This is probably simple, but i just can't think of how to do it. Code: <%=Time%>
View Replies View RelatedI am writing an XML file with lots of Data and it takes time but before the operation can be finished I get this error
Quote:
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.
How do I handle this?
Would anyone know if there is an easy and clean way of presenting maybe a time control field in html in an .asp page that allows a user to specify a certain time of the day? Currently using an <input name="SpecifyTime" type="Text"field but was wondering if there was a better way of doing this as to where users won't mistype in entering non time related characters?
View Replies View RelatedWould it be a stupid idea to use the Log Util component to retrieve the UTC date/time? It appears that the DateTime property could be used for this, but I'm not really sure how it searches through the log file.
View Replies View RelatedI've used this ASP funtion to display the time on my web page:
Date: <%= FormatDateTime(Date, 1)%>
Time: <%= FormatDateTime(now, 4)%>
THis was working fine until i moved my site to a server based in the states, not the time is 5hrs behind. help me resolve this?
I am using ADO to connect to SQL 7.0. At times the connection timeout expires. Is there any way to inrease the default time out? I think currently its 60 secs. Here is the code that I use to establish ADO connection.
set rs = Server.CreateObject("ADODB.RecordSet")
sCon = "DRIVER={SQL Server};
SERVER=Indy2;DATABASE=ProdProtrans;UID=xx; PWD=xxxxxxx"