ASP ASPError Object Properties
Complete ASPError Object Reference
ASPCode
The ASPCode property returns an error code generated by IIS.
ASPDescription
The ASPDescription property returns a detailed description of the error.
Category
The Category property returns the source of the error (Was the error generated by IIS?
A scripting language? Or a component?).
Column
The Column property returns the column position within the ASP file that generated the error.
Description
The Description property returns a short description of the error.
File
The File property returns the name of the ASP file that generated the error.
Line
The Line property returns the number of the line within the ASP file that generated the error.
Number
The Number property returns the standard COM error code for the error.
Source
The Source property returns the actual source code of the line where the
error occurred.
Syntax
ASPError.ASPCode()
ASPError.ASPDescription()
ASPError.Category()
ASPError.Column()
ASPError.Description()
ASPError.File()
ASPError.Line()
ASPError.Number()
ASPError.Source()
|
Example
<%
dim objErr
set objErr=Server.GetLastError()
response.write("ASPCode=" & objErr.ASPCode)
response.write("<br />")
response.write("ASPDescription=" & objErr.ASPDescription)
response.write("<br />")
response.write("Category=" & objErr.Category)
response.write("<br />")
response.write("Column=" & objErr.Column)
response.write("<br />")
response.write("Description=" & objErr.Description)
response.write("<br />")
response.write("File=" & objErr.File)
response.write("<br />")
response.write("Line=" & objErr.Line)
response.write("<br />")
response.write("Number=" & objErr.Number)
response.write("<br />")
response.write("Source=" & objErr.Source)
%>
|
Complete ASPError Object Reference
Learn how your website performs under various load conditions
|
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|