Array Basics Debugging
I am getting an error in these 2 lines of code and can't figure out why. What am I doing wrong. Code:
dim arrProductNames()
arrProductNames(0)="xxx"
error is
Microsoft VBScript runtime error '800a0009'
Subscript out of range
/test.asp, line 3
View Replies
ADVERTISEMENT
im a fast learner can someone either teach me the basics or provide me with a link i have looked acros the web i only see little tutorials that teach you how to build something not something that breaks down functions and framework etc. Can someone explain to me or give me a good link. I know php but not this and i would really like to learn asp.net
View Replies
View Related
How to i pass an asp array to a client side vbscript array ?
View Replies
View Related
i am trying to code a shopping cart into my website for users to add/remove items, and complete their transactions when finished.Have looked on the web and found some rather complex examples
Could anyone tell me the basics of how i could implement this, or point me in the direction of an example or tutorial on the web.
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
I am currently developing a website in ASP (VBScript) using MS Visual C#.NET IDE. I just create a new "ASP.NET Web Application" and point to my local webserver (IIS) of my website address.
Then I go through each file/folder and right-click, selecting "Include in project". The IDE is nice in that it checks, verifies id tags, etc. What am wondering is whether it's possible to debug my ASP website using the MS Visual Studio.NET's debugger.
I did a google search for 'debugging ASP VBScript' and got:
http://www.microsoft.com/windows200...sp/iiwadbug.htm
View Replies
View Related
I need to debug a .sln file used as a COM component within my ASP page.
View Replies
View Related
if there is a possibility to debug the ASP code like you can do in PHP? Just like in PHP I want to get a result which tells me whats wrong when the code is executed.
View Replies
View Related
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
It has been years since I worked with ASP, having moved on to ASP.NET. However, I have just inherited a project adding some enhancements to an existing ASP site. What is the best tool to use for debugging ASP pages these days?
View Replies
View Related
I am using WindowsXP Pro and ASP. After installed the Frontpage 2003, each time when a script error occur, a "Just-In-Time Debugging" window popup, how to stop it ?
I have turn on "Disable script debugging", and turn off "Display a notification about every script error" in IE Option.
View Replies
View Related
Is there a good way to debug ASP programs? The scenario, I have a function called GetRecordSet which is exactly what it does - gets record sets for various sql statements.
But the problem is when there is a DB error I cannot identify where the error is coming from as all the error statement says is the error is in GetRecordSet. I use Dreamweaver as I had the iniial design configured on DW.
View Replies
View Related
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
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
View Related
I installed the Microsoft Script Debugger 1.0.7295 and am trying to debug client side javascript. I m not able to set break points on the page; that option is disabled no matter how I open up the script debugger.I have tried opening the page in the following ways:
1) with the "debugger;" in the client-side java script
2) through IE menu
3) planting a javascript error in the client-side code, so the process
must stop and ask "Do you want to debug...?
View Replies
View Related
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control.
If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX control's code are not respected. I know I'm compiling in Debug mode,how to get these breakpoints to be respected?
View Replies
View Related
When I want to debug my web site written with ASP.NET using C# I get this error message:
unable to start debugging on the web server. unable to connect to web server. verify that the web server is running and that HTTP request is not block by firewall.
View Replies
View Related
When I try run the project, I get an error as "unable to start debugging on the web server. the project is not configured to be debugged. " . I'm running it on Windows 2000. I've made sure that debug=true in the web.config file and the authentication mode = "Windows".
I also get an error when I try it on IE5 as :"Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS " .
View Replies
View Related
I have Visual Studio 6.0 (Interdev only) installed on Windows XP
Professional (IIS 5.1 platform). I have also installed Visual Studio 2005.
I want to debug ASP applications on IIS. Because debugging under
non-administrative account doesn't work, I assigned my domain account into
Administrators local group. I installed Inderdev Server and Remote machine
debugging from Visual Studio 6 CD#2. I set appropriate user rights to Catalog
Class and Machine Debug Manager components like in Q192011. I also applied
changes described in Q312880.
View Replies
View Related
I am ready to move my ASP web site onto a remote host. The problem is that when I use Terminal Services to see the host machine, the error does not show up. (I was told that debugging info is only sent to the 'console' session, no others). And the whole thing
locks up when there is a server error. How can I see the server errors through Terminal Services?
View Replies
View Related