I 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?
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.
I 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.
I 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?
I 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
im 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.
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. 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.
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 have an application that returns a PDF document to the browser (not as a download). The document is returned in a new window. This works fine in most installations, but I have one installation where it doesn't work in IE, but does work in Netscape. At the installation where it doesn't work IE returns the file download dialog box instead of just opening the file. When I click open or save it complains that it can't find the file. I suspect the problem is with the file name.
IE is generating a very long file and I'm guessing it is getting confused. My code did not originally set the file name, so I'm trying to solve the problem by setting the file name. Here's the code that I'm using, but it doesn't seem to have any affect. Does anyone see why this doesn't work? objHttpConn is an HTTP control that is used to retrieve the PDF document.
PS We are hosting the web sites where it does work and were it doesn't work and I'm testing using my PC. The only difference is the version of the application that returns the PDF document. All the machines are 2000 servers with IE 6.0 SP1. Code:
I have a slight problem, I'm trying to open a textfile that has been saved as UTF-8. But when I run it it displays strange chars eventhough i've specified that it should read the file as UTF-8 using the OpenTextFile method of the filesystemobject. I need to open the file, then insert data to a database, nothing will get printed out on screen so its not a html-charset
I have a table called "Document" which has 3 columns
Doc_ID Doc_Name Doc (this is a word doc stored as an OLE object in ms access)
Now in my asp if the user selects a document it should open the word file. I have my case statement that looks like as follows which I think might need some modifications to open a word file: Code:
I have a drop down on a page where user selects a value and then a excel file opens up it works good in mozilla but in IE it doesnt open up the excel file i see a new page been open but then suddenly it closes the file i have checked the popus in IE and i dont know what the problem is Here is the code Code: <% Response.ContentType ="application/vnd.ms-excel" getid=Trim(Request.querystring("id")) Response.write getid %> I see the output written when i use mozilla but it just doesnt work in IE.
I'd like to redirect from a certain page, to an external page(an external site), with certain parameters. of that window.
There is nothing to do if using response.redirct, but is there another option?
For example, I would like to open a new window, that will have a cerain dimensions, and that the url of that window is... In javascript it is not a problem of course. What shall I do in asp???
so it opens up a new page i want to set properties of the page like we do for pop up window.like i want the new page to be of a specific size with no scroll bars and stuff i have the code for opening a pop up window in javascript
From a LINK or BUTTON on a webpage can we invoke the usual OPEN FILE dialog box that come with all the windows application .
In my Application I want to ASK the user the Name of a FILE on the disk ... currently i am asking the user to input the COMPLETE PATH in a TEXTBOX ....
I need to incorporate some emails that are in a csv file, all sorted in one column, into a mySQL database.I dont find the way to open the CSV file in ADO
in my database customer name is mike o'lee, i am creating one reason forum by using asp script and call customer name from database by using link syntax. when i trying to open the reason forum it displaying the error message like page is not found.
The problem is in single quotation which is present in customer name.I now how to remove the single quotation ,but use want to see the same customer name. how i can open the page,by using same page.
I donloaded a web application form the web which includes couple of asp files. So when I open index.html and click on the links to those asp files, instead of running the code inside, my browser tries to donload them.
It opens a save dialog box and asks me where I want to save this already existing asp files. Does anyone know solution to this problem?
I have a configuration.txt file and would like to open that file in a browser for editing onclick of a button or hyperlink!! It is more than enough for me, if i just open the file as it is in a notepad itself, by clicking a link from the ASP code.
I am trying to open a DB connection in an ASP file (with an HTML interface). I have some idea how to do it, but I am not quite sure. It is linking to an Access DB. It is very simple, I am posting some data to the DB. Only one connection is needed to open.
In the following snippet of code, I can not get my openBrWindow command to work. Does anyone see anything that jumps out at them that is obviously wrong? Code:
I have an Access DB that has a linked table to a SQL Anywhere DB. When I try to access this Access DB, it prompts me the first time every time for username and password to the SQLA DB. This isn't a problem when it is just me that is working on development, however,
I figured MS would have something good to say about this issue, so that my users can use this DB as well. MS says I need to pre-open the table using the same credentials for both DB's. I have tried this several ways, and am still unable to open the linked access DB.
The error I get is that the DSN=xsellvehicles (this is the DSN that is used by Access to open the table that resides in SQLA) can't be used because the username or password doesn't work.
I want to open a new window from ASP page, which may not inherit sessions values from its parent.
I'm opening a new window (JS:window.open) from an ASP page, the child window inherits all the session variables from parent (thats what i dont want). and if I write session.abandon in the child ASP file, it also destroys the parent 's session values. how I can open an ASP page in new window which doesn't inherit sessions from parent.