Debugging an ASP program?
478160
I like to print out debug data like this\nResponse.Write("<!--varName : " & varValue & " | FileName : FileName.asp-->")
679079
Try debugging the code behind file by setting a breakpoint at the Page_Load function. It almost sounds like its dying on somthing you have in your code behind file or a resource you are accessing in there.
495673
sure u have \nand try crystal reports\n\ni dont have to tell u the steps .. cause i dont remember really .. but try with msdn
81681
What operating system are you using and what script, if you could post back with the script :) that would help.\n\nI also suggest you take a look here :\n\nhttp://www.webwizguide.info/asp/default.asp\n\nIt has guides, tutorials, faq's common issues etc.
708740
The easiest way to get started debugging in .NET is to:\n1. Open your code in Visual Studio\n2. Be sure that the build is set to debug mode (drop list under menu bar)\n3. Insert a breakpoint into your code (click in the grey margin beside some of your code, a red circle will appear showing the breakpoint.\n4. Run the program (F5)\n5. When your program comes up, be sure to do something that will then call the code with the breakpoint in it.\n\nOnce your program is running and stopped at that point, you can use the immediate window, watches, etc. to view information about the running code. You can also mouseover variables in your code (on previous line numbers only) to view their current string values.
241948
wrox publishing has a book called Begining ASP Databases, you would want the newer .NET version now:\nhttp://search.barnesandnoble.com/BookSearch/isbnInquiry.asp?z=y&isbn=076454375X&itm=1\nI learned with that and a book on SQL server specifically:\nhttp://search.barnesandnoble.com/BookSearch/isbnInquiry.asp?z=y&isbn=1861002319&itm=6\n\nIts a lot of fun, good luck!
60224
ASP uses VBScript as a difault scripting language. According to VBScript the syntax of If.. Elsif is as shown in the bellow example. Follow this.\n\nif payment="Cash" then\n   msgbox "You are going to pay cash!"\n elseif payment="Visa" then\n   msgbox "You are going to pay with visa."\n elseif payment="AmEx" then\n   msgbox "You are going to pay with American Express."\n else\n   msgbox "Unknown method of payment."\nend If\n\n\nRaghava\nProgrammer Trainee
81675
As a long-term programmer, I have worked for years before there were mainstream debuggers with compilers. A lot of embedded compilers also do not come with debuggers.\n\nPrint statements are the best possible way to debug in absence of a debugger. It's a pain, and you have to recompile all of the time, but it sure beats having no debug information at all!\n\nIf there is no monitor to which you may display print statements, then you can also use serial ports (connect the device to a PC that can run a serial comm program), LED's (blink them), and even speakers. I have used all in different situations.
1034291
is this ASP.NET?\n\ntry creating a function wrapper that verifies that an object is active before firing the event, if the event is being fired before the page is loaded it doesn't have the DOM to locate the control
157795
http://www.w3schools.com/asp/
736630
Go to\nInternet Explorer > Tools (Menu) > Internet Options > Advanced\n\nUnder "Browsing" you will find "Disable Script Debugging" for IE and Others.... check them on and restart your IE application... try accessing the same site... the error reports will be gone.\n\nCHAO
329070
Here is a link to get you started:\nhttp://msdn.microsoft.com/vbasic/default.aspx
454838
For existing programs that do this, see PSLIST and ProcessExplorer.  \n\nTo write your own in C++, see this great Code Project article by Ahmed Yassin: http://www.codeproject.com/threads/Tasks.asp\n\nA comment at the end of the article mentions 3 other ways to do it as well:\n\n1. ToolHelp \n2. PSAPI\n3. Read Registry (check platform SDK sample PView)\n4. some function exported by ntdll.dll \n\nAlso see the MSDN help on the functions used in Ahmed's article.\n\nGood luck!
921335
Use the URL parameters\n\nmypage.asp?var1=someval1&var2=someval2\n\nand so on and so forth. \n\nYou can parse that in your ASP code.
228766
or this here is another good link to show all the exception handleing codes\nhttp://www.delphibasics.co.uk/Article.asp?Name=Exceptions\nbasicly you put try before your code and except at the end\nEg.\ntry\nif i = IntToStr('this will cas an exception') then\nDoSomthing else\nDoSomthing;\nexcept\non E : Exception do\nbegin\nShowMessage('Exception class name = '+E.ClassName);\nShowMessage('Exception message = '+E.Message);\nend;\n\n\n\nhope that can help you
204564
As mentioned, .ASP is classic ASP, a mix of HTML and Active Script processed by an ISAPI filter to generate dynamic HTML content.\n\n.ASPX files, also refer to, as was mentioned, pre-compiled .NET binary code (hence the mentioned "code-behind").  The Microsoft .NET Framework (the Web portion dubbed ASP.NET) also has its own ISAPI filter to wire up the events in the .NET compiled binaries to the code in the .ASPX files.\n\n.ASPX files can also contain classic ASP, making it fairly easy to migrate existing pages to the .NET framework.\n\nBoth files are human readable; they can be edited with tools such as Notepad or even one of the more robust Integrated Development Environments.  (IDE).
908921
see if this helps:\nhttp://aspnet.4guysfromrolla.com/articles/111605-1.aspx