Debugging Existing Code ASP

I have MS Visual Studio 2003 on Windows XP Pro. I have IIS running on
this machine and I am trying to debug some existing code which has both
ASP and ASP.NET components.
When I try and launch the debugger from VS, I am told it can't because
the project is of output type class library. The error indicates I
should set the start action to start external program or start URL.
I tried both of these and cannot seem to get the debugger to attach to
the process. However, I can load the webpage and surf to an error
which causes another session of VS to come up. Unfortunatly, the error
is not one that I can debug because I can not get break points to work
and the debugger will only come up when it hits the error.
My start page is default.asp and I have tried setting a break point in
it to no avail. How can I debug this script?

View Replies


ADVERTISEMENT

Debugging Code

Which is the best method? Are there some free tools/plugins for IIS? Can I run ASP code under ASP.Net to see more debug info and warnings?

View Replies View Related

Debugging Inherited Code

I've inherited some code from someone else, and with the move to a new server some problems have arisen. I've spent a while trying to nut them out, but I just can't seem to make progress and I'm hoping a fresh perspective from some other people will help.

First problem:

If you go here you will see a list of Bed and Breakfasts. If you click on "Azimuth Country Estate" (the third one down) you will see an example of a perfectly working setup. It opens in a popup window and everything appears nicely. Now click on "Bilinga Bed and Breakfast" (the fifth one down). You will see that halfway down the page in the popup window there is the following error:

Microsoft OLE DB Provider for ODBC Drivers error '80020009'
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
/morbobge/popups/standard.asp, line 0

I looked this error up on Google and found that it has to do with Text fields not being the last fields drawn from the database. So I went back to the query and instead of saying "SELECT *" I explicitly selected each field in the database and made sure that the Text fields were last. Sadly this hasn't fixed the problem.

Any suggestions?

Second problem:

If you go here you will find what is supposed to be the events diary. Sadly, it cuts off at Day 1. I haven't been able to work out why.

I haven't posted any code for either of these problems, simply because it is all such a huge rambling mess that I have no idea which bits to post. Instead, I have attached a zip file with the two offending files in it, in the hope that some kind person will take a peep and help me out here

View Replies View Related

Get Existing

i have 2 tables and i want the content of the one table where the second tables content doenst exist in the other table.

E.g.
Table 1

id1
1
2
3
4

Table 2

id1
1
4
so i would only get 2 and 3 in table 1.

View Replies View Related

Existing Access DB

I have an Access database; e.g., mydb; with 10 Tables (e.g., tbl1, tbl2, ..., tble10) in my database directory; e.g., fpdb.
I need to be able to copy the entire database with tables to another directory, where the name of directory will be provided by the user (therefore I do not know the directory name in advance).
How can I make a copy of existing Access DB vis ASP programming.

View Replies View Related

Existing Files..

I'm a newbie to ASP coming from a PHP background and I wonder if there is - well I am sure there is - a command to check for the exists of a file which is on a ftp server (on the same as the file which tests it). Also is there a general site which explains all the asp commands in a logical form like php.net does for PHP

View Replies View Related

Existing Minutes

is it possible to add a number in time? i created a code which is something like this

x=date
y=x+2
response.write(y)

but it doesnt work... for example the time is 08:32:05 AM and im going to add 2 minutes the result should be 08:34:05

View Replies View Related

Debugging ASP

I've just inherited a web site. Someone's just asked me "what database
table fields are looked at in a particular search?"
You'd think this would be easy, but I'm looking at an ASP page that when
printed out is >16 pages and has 20 include files. And no comments. It's
just a series of scary logic.
I really need to run this though in "debug mode", seeing what every variable
is set to at each stage. If this were an ASP page calling a VB COM object
I'd have no problems, however, I've no idea how to trap this in debug mode
using standard ASP code. I know the debugger often start up when there's an
error in the code, but there isn't. So, can anyone enlighten me as to how I
can step into code using simple ASP (not .Net).

View Replies View Related

Debugging ASP?

Need to start developing asp pages on windows 2003. I have not touch asp in few years. I would like to now how can I start of.

What should I use as a program to edit asp pages that have vbscript? I would like to debug too if possible But there is not really a debug in ASP pages.

View Replies View Related

Debugging

my client took out hosting for their new site with WebFusion. On their shared package, they wouldn't offer ASP debugging, which basically made it extremely difficult to debug their complex CMS system on this server. We were told that upgrading to a VPS would solve this issue, but still a standard error message is showing instead of useful ASP error messages.

I've logged into remote desktop of the server, gone into IIS and gone to 'Web Sites > Right click > Properties > Home directory > Configuration > Debugging' and checked: 'Enable ASP Server side script debugging' and 'Enable ASP Client side script debugging' and 'Send detailed ASP error messages to client'.I've then restarted IIS.

It still gives me the same generic error message though.how to get this simple thing working?

View Replies View Related

MD5 Debugging

just applying the basic MD5 function with a basic form. Here's the error i get

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'm_l2Power'

Does anyone have a clue? i'm just applying the same function that is posted everywhere and applying it to a simple form that holds strings. i assume that passwords should always be strings. it's very basic yet i don't know why i'm getting this error.

View Replies View Related

Debugging

I was told something to type in the address bar that would show detailed debugging for asp. Does anyone know what this is?

View Replies View Related

VI Debugging

When I try to debug ASP pages using Visual InterDev 6 I get the following Microsoft Development Environment dialog box that asks:

"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?"

The prompts you have are Yes, No, and Help. If you click Yes it launches IE, but the ASP page doesn't break on the breakpoints I have set. Is there a setting that I need to
modify somewhere? I'm using PWS in conjunction with VI to debug, before I push the ASP page out to our Intranet.

View Replies View Related

Passing Existing Parameters

Is there a way to pass a URL parameter from a previous page to the next page (without clicking a hyperlink)?
There are 3 pages. user_edit.asp, user_delete.asp, user_delete2.asp. I want to pass the customer_id parameter from user_edit.asp via a hyperlink to user_delete.asp and then after some asp manipulation I want to pass the existing customer_id parameter to the user_delete2.asp page (or again to user_delete.asp) without the user doing anything (such as accessing a hyperlink).

View Replies View Related

Cannot Exit Existing Frames

Within my site is a section for visitors to login. Once they have logged in they are directed to a page which uses frames.
existing code is below:

<frame name="leftFrame" src="computer_store_index.asp" scrolling="auto">
<frame name="mainFrame" src="computer_store.asp" scrolling="auto">
</frameset>
<noframes><body>
</body></noframes>
</html>

The problem is when the visitor logs out they are directed back to the login page. The login page and all subsequent pages which the visitor may click on within the site also displays the frames. Is there anyway to close the frames?

View Replies View Related

Is There Any Way To Close All Existing Connections

I have a site which has extensive database activity. What I do is for each procedure I open a connection to the database and close it as and when I leave the procedure. However, in long run I find that some connection to the database is not properly closed causing the site to hang. This has become a big headache for me.

Trying to find what is going wrong I logged opening /closing of connections to the database and found that at some points the connections are not closed resulting in large no. of active connections to the database.

But if I go through the script I cannot really understand why that connection was not closed since the script ensure that the connection is closed before exiting the procedure.

Is there any way where I can check the database may be during night time and close all existing connections to the database. I repeat all my connections to the database are done at the procedure level.

View Replies View Related

Problem Writing To Existing Xml

Im trying to write to an existing xml document (changes.xml). If it already exists, which it should, it will just add some child nodes and save the file... if it doesnt exist i want to create it and add the nodes and save the file... problem is it never saves the file to the directory its supposed to. Code:

View Replies View Related

Project From Existing Site

I'm running into some trouble figuring out how to create a 'project'
from an existing asp application.

The ASP app was written entirely with plain text editors. I would
like to set up debugging for it, but it seems that in order to debug,
I must have a 'projec

I cannot figure out how one might go about this task. The project is
rather large (180K lines, and a few hundred files in many different
sub-dirs), and I have been playing & researching for about 4 hours
now, and I can't figure it out.

Can anyone make a suggestion as to what I must do to get something
going (preferably vs2003, but I have VID also)

View Replies View Related

Text To Pre-Existing Images

I wonder if anyone knows about how we can write text on some existing gif or jpg Image and then save them again in the same format.

View Replies View Related

Adding Existing Project

how to add an existing asp project into VSS? I have never done this before so am not sure even where to begin. Searched a few places online but have not found any suitable documention on this yet. My asp project uses SQL Server 2000.

View Replies View Related

Existing WORD Document

I have a website which displays information from a database. I would like to add an option that when the user is pressing a button or link, a specific form as a WORD document will open on his desktop filled in specific places with data from the database. The original empty WORD doc is stored on the server.

View Replies View Related

Existing Excel Template

Is it possible to send data from ASP and put it into a existing template? i don't want to create an excel document I only want to send one piece of information from ASP to the Exisiting Template.

We have created a online quote number genetrator for our sales team and we want it to open the excel quote template and put the quote number on that excel template.

View Replies View Related

New Column To An Existing Table

I have this form in which the user insert his details, and chose which detail to add and which not and he can add a new field by his own which doesn't exist before. So this new field is a new column, so I just want to know how to add this column into an existing table.

View Replies View Related

Open A New Page Rather Then Existing

my coding knowledge is limited. How do I add the following..

target="_blank">

to this code...

ImageString = "<img src=""" & Banners("Image") & """ alt=""" & Banners("Hint") & """>"

All I want it to do is open a banner in a new page instead of the existing page.

View Replies View Related

Convert An Existing E-mail

if it would be possible to convert an existing e-mail form to;

1. Send the e-mail (as it does now...without problems)
2. Copy one folder on the server, to another new folder

Using the username from the e-mail form, as the new foldername?

View Replies View Related

Debugging ASP Errors

Before we upgraded our intranet server to Windows 2000, when I had an ASP error the page used to load up to the point where it was crashing out and then I would get an error message. This allowed me to response.write values to find out where the error was happening.

Since we upgraded, all I get now is a 'page cannot be displayed' with the error message on it. This means that I can't response.write values anymore and makes debugging a lot more difficult.

Is there a setting somewhere that controls how the message is displayed? Is this in IIS or is it a browser issue?

View Replies View Related

Debugging ASP Pages

How to Debug ASP Pages from client machine? I have "windows 2000 server" installed on server machine and "windows 2000 Professional" on development machine, they are connected thru LAN. We use Visual Interdev to edit ASP Pages.

When I tried to open a project in VIDev, It asks me for servername, mode, I entered my servername and Local Mode, then it asks for domain/username and password. Now which password I should enter here?

View Replies View Related

Debugging A WebMethod ? How

USING VS 2003 and VS 2005

I have written a WebMethod. Everything is working properly. My Question:

Is it possible to DEBUG row by row through the code ?

View Replies View Related

Debugging Tool

Is there any tool for debugging ASP scripts? I wanted to do some tracing and check whether the execution of my statements and queries are in the correct order or not.

View Replies View Related

Debugging Pop-up Windows

Is there a way we can debug ASP pop-up windows. The usual pages I am able to debug using the script-debugger from the IE and Visual Studio. The whole data for the popup is obtained from the xml files and I would like to debug the onchange events that occur in the popup.

View Replies View Related

Debugging Tools

I am used to Compilers. assemblers and a lot of other systems that at least give error numbers or some help in identifying and/or isolating syntax errors, undefined or multiply defined variables, etc etc.

When I make an error in an ASP program I only get a message saying that the program could not be executed.Can anyone recommend some good debugging tools or maybe an ASP code checker.

View Replies View Related

Start Debugging

I've been using this installation of .NET for about 3 months without problems.After not using it for about ten days, I came back to my project and when I tried to run it with Debug>Start (F5), it comes up with this error.

"Error while trying to run project: Unable to start debugging ohn the web server. Could not start ASP.NET or ATL server debugging. Verify that ASP.NET or ATL server is correctly installed on the server."

Before I start de installing things,does anybody have any simple clues as to why this is happening?

View Replies View Related

Debugging Activex Exe

I have asp page which is using activex exe component ...how can I debug from asp page to the component...I am using visual basic to create my activex component.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved