Logging Errors With ASP 404 Error Pages
When I had just setup my web site with IIS 5.0 the error
log contained the 3 things I needed for my site stats
page.
The page that had that not been found (i.e.
site.com/nofile.html), the error number (404) and the
referrer (where the person came from to get to the bad
page); Now when I try to use my custom 404 page it only
logs the error number. How can I setup my page to log the
referrer and bad file page?
View Replies
ADVERTISEMENT
ASP is enabled and allowed yet for this one website we host you can't access
the asp pages on it. Instead you get a 404 not found error.
Anyone have any ideas on this? I found stuff on other newsgroups and
searching the web but nothing that fixes it.
There are other websites on this server that have asp pages and they are
working just fine.
View Replies
View Related
I have experienced some ASP errors in my web application and I'm unable to reproduce those errors because IIS is configured in a way that does not send any debugging messages to the user (and I cannot change it). Only standard string "An error occured on the web server when processing the url..." is sent.
So Is there any way to log such situations to the eventlog, a file, database or any other storage? OR Is there any way to allow me to send only piece on debugging information to the user. In other words: I'd like to send error code that would be understandable only by me?
View Replies
View Related
I thought this is more of an IE issue but i've had no joy on that group
perhaps somebody here will have a clue.
If i click a link to a web page embedded in Excel (97 OR 2000) i get the
standard error page displayed by IE (you know, the 'cannot find server or
dns error' page).
Turning off 'show friendly http error messages' alleviates this.
(Unfortunately this is the Windows default setting!)
Whats going on?!?! Code:
View Replies
View Related
I do not understand why. I am running perfectly well asp.net on a virtual directory, but if I put a simple asp file such as this, and named it foo.asp, and try to run it from this virtual directory, I get the 500 error:
<html>
<body>
<%
Response.Write("hello")
%>
</body>
</html>
Any ideas why? I check the Properties of this virtual directory, and under The Virtual Directory tab, Configuration button, App Mappings tab, I can see .asp listed pointing to
C:WINNTSystem32inetsrvasp.dll . If I look at this folder the dll exists.
I'm running windows 2000 professional. But I found the same problem in another computer running Windows 2003 server, IIS 6.0
View Replies
View Related
I have come up against a very strange error, well one I havnt got before - and was wondering is there a way around this. In my mysql db i have a price field which is set as "decimal(10,2)" but when I try read from it through my asp page I get this error at the line where i do my recordset query:
Microsoft Cursor Engine (0x80040E21)
Multiple-step operation generated errors. Check each status value.
If I change the field type to "Integer(10)" its fine, it just doesnt like the decimal for some reason . And the thing thats really throwing me off is when I write the sql string doing the query out to the page and copy it into my mysql browser and run it, it comes back fine with all the data and no error.
View Replies
View Related
We have Windows 2003 Server as our SUS server. When we try to approve updates, etc., we receive the following error message. Has anyone experiences this before? If
so, can you tell us what needs to be fixed?
Active Server Pages error 'ASP 0126'
Include file not found
/autoupdate/administration/shared/inc/publish.inc, line 2
The include file '/shared/global.asp' was not found.
View Replies
View Related
I'm running IIS 5.1 under Windows XP Pro, and recently installed PHP and Active Perl to experiment with. Since I installed them, I get 500 Internal Server Error when I try
to access .asp pages.
I can't even consult the documentation for IIS 5.1 because they are in .asp format. how to get .asp pages working again?
View Replies
View Related
I have been trying to submit a html form to an asp page. This results in 404 error. When i call a separate asp page with just a response.write or with a small text file i/o operation, it works fine.
But when i use a simple htm form with a text box and submit button gives a 404 error. All the pages exists. I use WinXP Pro/IIS 5.1.
Am i missing anything in settings? I tried restarting, reinstalling IIS and updating the patches to the latest but not of much help.
View Replies
View Related
is there a way to make custom error pages specific to a particular page?I know you can make customer error pages for iis to use.but if there is an error on a particuar page, can i make a custom error page to be redirected to?
for example,if a user is clicking away and runs into an error,it would display error1.htm.if they were on a different page and an error occured,they would get an error2.hm.
View Replies
View Related
I have a problem with personalization of error pages. I hav'n't find a way to insert an image in the 403-9 page (too many users).
View Replies
View Related
I just upgraded an NT IIS server to 2003 and IIS 6.0 now my Active Server Pages .asp pages do not load or open in the browser I get 500 Error Server Error. Yet and htm
page will open. What do I need to change? or configure?
View Replies
View Related
When i am accessing the website i am getting this error:
Active Server Pages error 'ASP 0115'
Unexpected error
/hradmin/Default.asp
A trappable error (C0000005) occurred in an external
object. The script cannot continue running.
View Replies
View Related
i am gettin this error...which i never got. Active Server Pages error 'ASP 0201' Invalid Default Script Language The default script language specified for this application is invalid.
View Replies
View Related
When I use IIS 6.0 to display static content everything works according to plans. Now I have created an asp page even though there is no dynamic content at the moment. The web page's name just ends in "asp" and has the Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
at the first line of the code.
When I try to link to this asp-page I get an error code saying "Http 500 Internal Server Error". I then disabled the "friendly http errors" and got this information.
"Asp error Asp 0203"
"Invalid code page"
"The specified code page attribute is invalid"
I should also add that I have enabled/allowed asp as extension in IIS manager.
Anyone who knows what I can try to get IIS working with dynamic content too?
View Replies
View Related
I have an ASP form that uploads files to our server.When I upload small files, it works great.But larger files like (2.5mb), I get:
Active Server Pages error 'ASP 0113' Script timed out
I have looked up the error, and added more time to the script (up to 10 minutes). Didn't help. We are using Microsoft Server 2000, IIS 5.0, and Microsoft ASP Upload.
My guess is that there is a file size limitation somewhere, but don't where.
View Replies
View Related
The problem occured when I used FP2002 to create a page to search a database. The purpose was to see how it worked and the code behind it so I could start learning how to work it myself.
But before I got that far, I get an error message:
HTTP 500.100 - Internal Server Error - ASP error
Error Type:
Active Server Pages, ASP 0138 (0x80004005)
A script block cannot be placed inside another script block.
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows 98) (Mozilla/5.0 came back with the same message)
But unless I'm mistaken (and I probably am), the only scriptting on the page is this: Code:
View Replies
View Related
I'm getting this erro.wht does it mean
Code:
Active Server Pages error 'ASP 0234'
Invalid include directive
E:INETPUBESVC001320HTML../assets/lib/MSDBConnection.inc, line 2
Server side include directives may not be present in script blocks.Please use the SRC= attribute of the <SCRIPT> tag.
View Replies
View Related
I need to log how many times one spesific file is downloaded from my
website. First I thought this could be done simply by routing via a script
that count number of downloads, and then redirect to the spesific file. But
this soultion will not work when a user right click on the file/link and
choose "save target as...". How can I solute this?
View Replies
View Related
I'm trying to make a logout link to where once someone logs out, not only will they be sent to another page, but they will not be able to go back into their account by pressing the back button, but by logging back in.
View Replies
View Related
how would the site know that that specific user has logged in?i know that once the user registers, the username and the password gets stored in a database and once the user logs in, the password and the usrname gets searched against the password and the username in the database.what if i want the users details to be outputed such as address and name once they log in?
View Replies
View Related
i would like to automitically log when a user signs in, presumably using a seperate Access database. Can anyone point to to a simple way of accomplishing this?
View Replies
View Related
I would like to log the IP Address of users browsing my page. Hoewever, using the "REMOTE_USER" from the Request.Servervariables only logs the proxy that all users who access the page willl have to through.
Is there any way how I can log the actual IP address of the user? I thought of Cookies or something like that, but i really do not have any clue. Or tell me if its not possible so I can stop working on it.
View Replies
View Related
I'm developing an application that uses a custom 404 page to deliver all of my site's content. However, doing things this way renders IIS's regular log files pretty much useless.
Are there any established "best practices" for creating your own logging system? I know that others use this technique and I'm hoping someone has some ideas they can pass along. For example, do you log every single page request or do you just log totals per day, week, or month? How do you deal with the increasing volumes of data? Do you collect referrer data, etc.?
View Replies
View Related
I've got a number of ASP scripts updating a particular SQL Server table. However, this table is being updated incorrectly by one of the 10 scripts. Is there a way to log all updates so I can troubleshoot the problem?
View Replies
View Related
I have a page where a user enters his or her login details after registering. After clicking login it takes them through an asp page which verifies that they are a valid user. However I have come across a problem Code:
View Replies
View Related
I am amazed at how much help I have had in creating my first asp based
website from this forum. There are obviously a significant number of real
experts who are happy to take the time to help us novices. My site which now
does what it aims to would not be working without this assistance and I am
extremely grateful. Code:
View Replies
View Related
How can I log read receipts?
Is it possible to insert or grab an existing message ID (from the header
etc), log it into my DB, than once the read receipt is sent from the clients
machine, pull it off my pop server, parse it and than log that it was read?
Any suggestions?
View Replies
View Related
I have an asp application that allows users to access certain documents based on their ID and security level. This works fine, but I want to be able to log access attempts so that any potential abuser can be given proper warnings, etc. Basically, if I'm Attorney A then I should be able to access info on Case X, but Attorney B should not be able to, and any of his attempts to access Case X should be logged somehow.
I found the following script online that should capture the IP address of the offending machine, but when I test it I only get errors: Code:
View Replies
View Related
On my site when people log in it changes a field in my database from 0 to 1 the website reads in all users marked as 1 as online.
When the users log off it marks them back to 0 and they are marked as offline unfortunately most people never log off. Whats the easiest way to log them off automatically? I have included some of my code below: This shows the members online: Code:
View Replies
View Related
this is a continuation of my little login page I am setting up.
the login pages authenticates the user using Active Directory.
I also have a Database locally in MSSQL that has the users ref number (primary key, incrementing) first name, last name, and user id (same user id as ldap/AD etc)
what I want to do is when the user logs in the page will call the Database and grab the full name as well as the ref number. Later in the page if the user submits a form to add data to another database I want it to populate a column in a table using the ref number. that should be rather easy once I actually have that ref number.so how would I tell the page to go to my database and grab his ref number (as well as his name to be able to display Welcome first Lastname instead of userid?
View Replies
View Related
I will be traveling and I will need to show someone a
secure folder in an IIS website and I will be on a public
computer. When we are done, I will need to be able to log
off so no one else using that computer will find
their way into that part of the website. The security is
Windows authentitication using Clear Text.
Can ASP log me off. If so I will need to code this before
I leave. Can anyone point me to where I can get some
examples of code to do this ?
View Replies
View Related
Has anyone seen any ASP code that will use and Access database for users to log into and Document calls they recive inbound and make outbound
View Replies
View Related