Debug Code In ASP 3.0
I need to debug the code and get the value of variables in an asp 3.0 page
where the javascript is being processed on the server side (i.e. within <%
%. I can use Response.Write("window.alert(".etc")"); for text messages to
tell me where i am in the code, but I cannot seem to figure out how to
display values of the variables...
View Replies
ADVERTISEMENT
what is the best IDE/tool to code and debug asp and asp.net scrips?
View Replies
View Related
I need to debug a COM component written in VB 6.
The .DLL is called from asp.
All runs well under Windows 2000 (I remember, I had to ad
a lot of rights to the user doing the debugging)
I just run the dll (F5) in VB, the browser opens the .asp-
page where the DLL is called and I see the request in the
VB-Debugger. Very nice!
It does not run under Windows 2003.
Any Ideas?
I tried to give the Application pool running the
application admin rights. but it does not work.
I can not find any errormessage in the event log.
View Replies
View Related
I am using IIS 6.0, VB6 SP6, and Windows Server 2003. The COM are created using VB and being called by some of the ASP pages.
I was tryng to debug the COM in the VB COM project (which is already in debug mode), breakpoints are set at the specific functions. But, I found that the COM component does not jump into the COM project and thus does not stop at the breakpoints I set. FYI, the COM works fine.
Anyone know how this happen and how to solve it?
View Replies
View Related
Where can one get documents on how to debug asp code?
View Replies
View Related
I want to know what's the best way to debug ASP pages? Now, I just put the
following code when I got run-time error, but sounds like not efficient.
View Replies
View Related
I typically use a VB com component for handling business logic and data processing in my ASP projects.
In the past, if I wanted to get a forms contents into my VB layer I would simply pass it in the call and accept it in VB as a string which I could put into an xmldom object.
I am now experimenting with passing the entire form along as a form object (to be accessed as such in VB as a ASPTypeLibrary.Request type.
I have found two ways to do this.
1. pass the form as above using the listed request type in VB. This works great.
2. Dim up a ASPTypeLibrary.Request object in VB and assign it
GetObjectContext.Item("Request").
Using GetObjectContext is much more difficult to implement if you want to have debugging ability in VB (there are numerous security considerations).
My question is (and thank you for reading this far), do any of you know what the best practices is for a production environment? Can anyone think of any reason why I shouldnt just use the easy method (pass the form and define its type in the argument list for the sub or function)?
View Replies
View Related
How to do debug in visual studio a connection that comes in from a url
referral?
I cannot get visual studio to "boot" on the referral. IIS just runs the ASP
directly.
View Replies
View Related
I've found that, when debugging scripts on my computer, IE will give me an Error 500 message if something is wrong with the script, whereas IE on my co-worker's actually prints the line and points at the exact character that's amiss, and says what kind of error it is.
This is incredibly useful for someone who is learning like me, but we can't figure out how to make mine work that way (it's the same version on the same OS and everything).
View Replies
View Related
I built an MTA which is used from an ASA and ASP pages. The MTA was
developed in VC++ 6.0.How would I go about debugging into the C++ code?
View Replies
View Related
when i try to debug/run the SQL statement in TOAD, it come out with the error "insufficient privileges". below is my sql statement :
INSERT INTO INST_REC(IID,SN,AN,BID,MANF,MDL,INST,AREA,SYS,STN, SID,ST,CF,OPT,PO_NO,UC,SPL,BV,RQS,RMK)
VALUES ('huiy','uiu','ui','uy','uiy','iyiu','yi','yi','yi ','y','y','A','i','i','utytu','4646','rty','797',' tyf','hfgh')
View Replies
View Related
I just got the programming down for a new site i've been working on. I am curious if anyone out there wants to just browse through the site as a normal customer and tell me if they recieve any errors or problems.. Any suggestions, or critiquing remarks would be helpful. The more people the better! I greatly apprecaite everyone's time.
The url is: http://www.corsican.com/test/
The Login is: test
the Password is: test
View Replies
View Related
What's a good tool to use for debugging ASP pages which contain bunch of javascripts?
View Replies
View Related
I have an asp pages which uses ActibeX dll and Exe written in in VB and VC++. I want to debug the components from asp page. When the asp page is run I should be able to get the breakpoint in my VB & VC++ dll and exe.
what could be the setting to do that. I can debug those componnets from another VB/VC++ applications but I want to debug from asp page.
View Replies
View Related
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
View Replies
View Related
Is it possible to change the web.config or machine.config file to allow access to an .asp page? I'm new to .Net 2.0.
View Replies
View Related
I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode
View Replies
View Related
We have a development iis6.0 server. Multiple programmers are developing independent applications. Non are sitting on the machine they all develop on their own system. Regularly they try to debug and receive the following error.
Error while trying to run project: Unable to start debugging on the web server. A ebugger is already attached. Would you like to disable future attempts to debug ASP.NET pages for this project?Does this mean each developer must run IIS on their own computer?
View Replies
View Related
Anyone have any insights on how to debug a memory leak with a classic asp application?
View Replies
View Related
I am having a problem which thus far only seems to be fixed when I refresh the page. The basic process is as folllows:
1. Select details from the DB and display on screen.
2. Click a link 'Generate Docs'.
3. This then goes to a page which first selects from the DB using information passed through the URL from the above link to identify the correct records. We then create a PDF file based on the data from the DB and display the link to the newly created PDF. The problem, is that at step 3 the PDF does not get generated on the first pass, only if you click the refresh button on the browser.
I have checked all the obvious items, ensuring variables are assigned correctly and called correctly, I have tried implementing a number of 'must revalidate' style tags in both ASP and HTML, I have checked through all of the queries to ensure they are being processed and the data is returned on the first pass and they are and nothing thus far has worked.
View Replies
View Related
i try to debug a simple ASP.NET project on a windows server2003 and i
receive a msg that saya's i dont have permissions and to check if i am in a
debugger group.
I following the IIS (version 6.0) with the "Manage your server" from the
administrative tools. i did the following:
1. make sure that the machine debug manager service running
2. the digest authentication is unCheck
3. add the IUSR_ to the debugger group in the AD (the computer is a domain
controller)
4. i gave the user a full control over the wwwroot library
i really dont know what else to check.
View Replies
View Related
I'm trying to figure out how to debug a very simple COM object I developed
in VB. I'm very new to VB and ASP so I have a lot to learn.
That said, I found what I thought was perfect article which covers this:
http://support.microsoft.com/defaul...;en-us;299633#2
However, I'm running on Windows 2003 and at step 4c) I don't have an
"Internet Service Manager" but rather "Internet Information Services (IIS)
Manager". OK, fine, I assume the name changed. Code:
View Replies
View Related
i have searched through a ton of past posts in an effort to find the
answer to my problem but so far have come up with nothing.
The problem I am experiencing is with VS6, visual interdev on windows
2000, with IIS.
When ever i attempt to debug my asp web app the debugger will step into
the code and will start an Iexplore.exe process, but not actually make
internet explorer visible.
Does anyone know any way round this I have spent loads of time trying
to sort it already.
View Replies
View Related
using Access, i'm trying to input form info into a database.
below is the part of the code that's giving me problems:
' Creating Connection Object and opening the database
Set con = Server.CreateObject("ADODB.Connection")
con.Open data_source
con.Execute sql_insert
i get this error whenever i submit the form:
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
View Replies
View Related
Before I was able to use Microsoft Devleopment Environment to debug my asp code. I did that by going to Microsoft Development Environment 6.0, go to Debug menu -> Processes, and will see inetinfo.exe and then I can attach it. But lately, (and I don't know if it's got anything to do with the fact that I have recently installed Norton Internet Security and Norton Anti Virus) when I opened the Processes window, the list is blank, and the Machine drop down is also empty.
If I hit Properties or Refresh, I'll get the "Development Environment has encountered a problem and needs to close. We are sorry for the inconvenience" error, and the app will close. If I hit the Machine button, even if I find the machine, it'll say "Unable to connect to the machine". Has anyone had similar problems before?
View Replies
View Related
I have an existing classic asp web site running under IIS ( on localhost) I
want to start using VS 2003 to edit/debug this project. How do I go about
opening this this existing web site with VS 2003?
View Replies
View Related
I'm looking for sample code that will require a use to enter a code from a scued image format.
I'm sure you've seen them before where the image is barely readable by a human and the user has to enter the code correctly to submit the form.
I'm looking for ASP code and NOT ASP.NET code as I am supporting a legacy site.
View Replies
View Related
do you know of any asp code that makes a pdf on the fly.
if there's none do you know of a good, not-so-expensive and easy-to-implement component?
View Replies
View Related
Is there any way that I can store my ASP code in an Access DB and have it display that way? Ideally, I would like to make a page with a text area that I can write and edit code in, and then when I submit it, I would like to view the page that the code creates. The code in the DB would include code that selects from and updates the DB.
I would like to do this because I can't work remotely now.
View Replies
View Related
What is wrong with my code?
This is the error.
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression 'CLASSDATE >= 6/23/2004 ORDERBY CLASSDATE'.
This is the code.
Code:
strSQL = "Select * FROM WellClass WHERE CLASSDATE >= " & DATE & " ORDERBY CLASSDATE"
View Replies
View Related
I am trying to follow the W3Schools tutorial on the XMLDOM object, and it works fine in a regular HTML document inside <script> tags (vbscript), but I am trying to do it in the ASP tags (<% %>) and it does not work.
The error says:
Code:
Microsoft VBScript runtime (0x800A01A8)
Object required: '[object]'
View Replies
View Related
I am trying to do something with it and I can figure out what to do!I have created a database that lets realtors track clients, potential clients, and offers made. Here is a link to the database:(URL address blocked: See forum rules)
What I am trying to do is create a form that lets a user enter his first name, last name, email, and offer amount into textboxes. When they click send it adds their information to the Potential Buyer table (the primary key is an auto generated number.) The offer table is basically an associative table, containing the following information: buyer$buyerid, client$clientid, and amount. I would like the amount to be added to this table, and I would like it to also add the newly created buyerid. My problem is that well, I have no idea how to do this, as the buyerid is created only seconds before I need to post it in the offer table. Could anyone help me out with this? I'd really appreciate it.
View Replies
View Related
Im a novice with ASP and no idea of PHP, can Any one help me convert this to ASP...
$rss = $_GET['rss'];
if ($rss && $rss != ""){
if ((strpos($rss, "http://") === 0) || (strpos($rss, "https://") === 0)){
readfile($rss);
}
}
View Replies
View Related