User Friendly Error Messages

I want to do error handling in my application. I have made a complete application. but when I encounter errors. I want to do error handling. how can I do it?

I mean like in this case I can see if the record is being added duplicate then I can always check for duplicate records and throw a message. but I will face so many errors like this??? do we have a list ..whereby I can get all the error numbers and there meanings and I generate my own user-friendly errors?

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)

[Microsoft][ODBC Microsoft Access Driver]

View Replies


ADVERTISEMENT

Sent Messages/reply To User Error

I have a problem when a user login to the site and when they tried to write or reply a message to other user I got this error message:

Server object error 'ASP 0177 : 800401f3'

Server.CreateObject Failed

/write.asp, line 122

800401f3


I am running windows 2003 server with IIS6 installed with all the access component install. I am not sure what causing it. The weird part it sent or reply messages to the user but it just give that error messages. I had include the error code below write.asp I only copy and paste half the text in here. Code:

View Replies View Related

ASP User-friendly IDE

can anyone tell me a user-friendly IDE for ASP? (not
asp.net). Is interdev has intellisense in it?

View Replies View Related

Friendly HTTP Errors Causes Std Error Page In IE (no Its Not An Asp Error!)

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

Turn Off Show Friendly HTTP Error

how can i turn off 'Show Friendly HTTP Error Messages' in IE Browser to get a better error message?

View Replies View Related

ASP Error Messages

I'm running asp on MS Server 2000. Running Internet Explorer I used to get a
proper message with page and line number when there was a bug in my asp
code. Suddenly I'm not getting these any more, I just get the standard

HTTP 500 - Internal server error
Internet Explorer
page which is completely useless.

In Tools/Internet Options/Advanced neither "Disable Script Debugging" or
"Disable a notification about every script error" is checked, though I think
these only apply to scripts running in the client e.g. javascript.

View Replies View Related

Error Messages In My IE

I'm using IIS from win xp pro and normally when my page doesn't work i get
the error message but not on my computer....
Someone told me that i had to check the option in my IE, i did that but i
still don't get the messages. In my IIS i told him to activate errormessages
on the client and server but nothing

View Replies View Related

Error 500 Messages

I have inserted a free forum from youngpip.com into a website (www.mrmci.com/discuss) and although it works fine on my pws it keeps generating error 500 messages when on the net. Any attempt to write to the database returns this error (it reads from the DB fine).
Any ideas folks

View Replies View Related

Error Messages

I am running a website on a IIS 5.0. I recently noticed that whenever I test an asp page, if there's an error in my ASP code, I do not see any details as to why the error occurred, but rather just a generic http 500 page...Before, it used to tell me for instance that a variable was not declared and also indicated the line number etc. but not anymore.

why is this and what do I need to change in IIS to get these detailed error messages back.

View Replies View Related

No Error Messages?

I have a little gripe with my ASP pages, for some reason I am not getting error messages I would expect and don't know if it's an ASP thing, browser thing or IIS problem.

I use option explicit to ensure I define every variable. When I have forgotten to define one the error page just dislays the 500.100 error screen. I have ensured that in my IE 6 that 'show friendly http error messages' is unchecked but have the problem still.

I would have expected it to display some output and then state the error later in the page. How can I achieve this as I am totally stumped now.

View Replies View Related

Custom Asp Error Messages

On windows xp we can modify 500-100.asp file for custom asp error messages. How can we do this on a windows NT 4.0 and IIS.or what is the similar file on NT and IIS?

View Replies View Related

Error Messages Nested

When an HTTP 500.100 occure in IIS 5.0, I was getting redirected to a HTTP 500.100 -'page cannot be displayed' error page when there was an error, but now in IIS 6.0, I get 'Microsoft VBScript runtime error '800a01c2' ' nested within the page.

I'm trying to create my own error messages so it will re-direct to my own error page and send me an email. I used to be able to do this in IIS 5.0 but I can't seem to get it going in IIS 6.0 as it doesn't re-direct to a default error message.how to get IIS 6.0 to work like IIS 5.0, or is there another way of doing it, or is this not even an IIS problem.

View Replies View Related

How To Display Error Messages

I've got an app I'm working on that sometimes will give me an error message and sometimes it won't. When it doesn't it just displays "Page cannot be displayed". Is there a code that will allow asp to display the error messages?

Here's the code I was using:

<%
dim objComm
set objComm = Server.createObject ("adodb.command")
objComm.activeconnection = MM_dbConn_STRING
objcomm.commandText = "dbo.aIssue"
objComm.commandtype = "adCmdStoredProc"
objComm.execute
%>

View Replies View Related

Not Receiving Error Messages

I am testing my ASP page and when I click on the link to open up my new asp page I get "page cannot be displayed". When another person clicks on the she gets a descriptive error message about a Type Mismatch on a COM function call in whih I am passing a parameter. I see that I do have an error, but why am I NOT getting the same message the other person is?

View Replies View Related

Custom Error Messages To Alert Me

I have a site that currently has custom error messages enabled for all error messages, i.e. any error goes directly to error.asp etc. What I want to do however is have this error.asp email me with a fairly detailed error message outlining the problem that caused the error.

What is the best way of doing this? My server allows me to setup custom messages for any type of error but obviously to do this would be time consuming. Is there a way I can basically email myself an almost exact copy of the error message that I would get if I was viewing the page and the error happened to me?

For example, a 501.100 error can cover any number of error and whereas a message telling me that a person got a 501.100 at 12.43 on 31/5/2004 is ok it isn't very helpful. I want it to say:

501.100 at 12.43 on 31/5/2004
Error Type:
Microsoft VBScript compilation (0x800A03F9)
Expected 'Then'
/kshs/cms/cmsDefault.asp, line 54, column 39

View Replies View Related

ASP Error Messages Not Getting To The Client With IIS5.1 On XP Pro

I just upgraded to Windows XP Pro from Windows 2000 Pro. All my ASP stuff seems to work, except that when an ASP page generates an error, and the Error handling is set to "On
Error Goto 0" the page just stops, as if I typed a response.end, and no
error information is returned to the client. If I set On Error Resume Next,
and write err.desc after the offending line, the error text is written
correctly. For debug purposes of course it is nice to be able to
immediately see the line number, and description though.

Anyway, does anybody know what setting I need to change to fix this? I have
server side, and client side debug set, and I have it set to send detailed
errors to the asp page.

Another interesting thing is if there is a compile-time error, like a syntax
error, or something, the page doesn't load, but I get the error message
until an error happens with the above condition, after that, it will just
return a blank page.

View Replies View Related

CDO Error "Failure In Obtaining User Token." (Error '8004020F')

I'm having a bit of trouble with an ASP form that I'm maintaining. Someone else wrote it and I'm new to CDO objects. I have a CDO.Message and a CDO.Configuration.

I set up the configuraton fields for the port and smtp server's ip address to be used. The configuration property of the message is set to be the new configuration object.

Then there's a ton of stuff appending bits and pieces to the text body.

Finally we have the message's Send method being called. That's where it breaks.

It seemed to just stop working one day. When I submit the form, the message returned is simply:

error '8004020f'

I know from the MSDN website that this error code means 'Failure in obtaining user token.' What I don't know is how to fix it!

View Replies View Related

Error: That User Name Already Exists

I'm currently workin on a project where by users have to register. I picked up some code from the internet but i get the following error: That username is already in use. Please choose another even though there is no data in my database yet. I'm using access 2000 as my database program. Code:

View Replies View Related

SE-friendly Dynamic URL

For some of my pages I currently have part of the URL as being 'ourservices.asp?ID=1' (its got nothing to do with sessions) and I am currently changing part of it so its more SE-friendly - i.e. 'ourservices.asp?services=website-marketing'. However following Googles guidlines regarding dynamic URL's,. it says that some search engines don't crawl pages which have a '?' in them for fear of them being a session URL (which mine isn't).
My question is- is there any alternative that I can use to replace the '?' with another character for my dynamic URL. Or, is this the only way I can have this dynamic URL?

View Replies View Related

Printer Friendly

Just looking for an affective and easy to use free 'Printer Friendly' script for an Intranet.

View Replies View Related

Printer Friendly

I have an asp application that generate reports. The reports are a list of tables that contain information about users. each user has his own table. how do I get the tables to be printer friendly using either css or a script.And how do I page break the tables.

View Replies View Related

SE Friendly URLs With ASP & IIS.

has any one tried SE Friendly URLs with ASP & IIS? There's nothing like mod_rewrite for IIS. Ofcourse there are some 3rd party COM available but how many of us can use them on shared webservers?

So, is there a way to do it?

For those people who don't know what I'm talking about,

Normal URLs with querystrings look like
http://www.example.com/myPage.asp?id=1

while SE Friendly URL will look like
http://www.example.com/mPage/1/

The operative words being look like. You will see the 2nd URL in the browser's address bar but the server will take it as the 1st URL.

View Replies View Related

Send Information On The User Account Error

I have created a New Users registration form for my database. The User enters there details such as email, account, name etc, and then clicks a Register button. This should send an e-mail to the User with a link for them to click to activate there account.

When i click on register however, i get a page not found message. When i try to diplay my Confirmation page, i get the error mention ed above.

View Replies View Related

How To Redirect From SEO Friendly URL To CMS From ASP Code

I am trying to SEO a website which gets content from a CMS, and is coded using ASP, running under shared IIS hosting.

There are urls like http://www.example.com/search.asp?it...6&third_id=Red

To get some keywords in there, I was thinking how to get a URL like this
http://www.example.com/Widgets/Special/Red/search.asp OR
http://www.example.com/special-red-widgets.html
convert automatically into the one above with ? and ids..

If this can work, I can have keyword rich URLs, which when clicked can turn into old ID urls, and fetch relevant content from the CMS.

I've heard about IIS redirect but am not sure how it works. Considering that the site is on a shared hosting, I wanted to know your opinion and best ways to achieve this.

View Replies View Related

Printer Friendly Form

I have developed a client based form using vbscript for a web page to run on IE and would like to make this form printer friendly. Anyone have some ideas?

View Replies View Related

Friendly Reminder: Look Before You Post

This message is being brought to you by a few of your friendly neighborhood ASP programming solution providers:

Please attempt to solve your own problems before posting to Sitepoint. I know I (and other persons who will remain anonymous) find it a little irritating when one (or more) of the following happens:

1) We can type your question into Google and the answer is the first hit that comes up.

1.1) We can type your question into Sitepoint's search and the answer is the first hit that comes up.

2) Your question is answered two posts below your question.

3) The answer requires merely looking up the appropriate object/function in the ASP/VBScript references. *

4) Two or three minutes after posting your question, you post "Oh, nevermind, I got it." without even referencing the solution so other people with the same question will know how you did it.

* Note that we will be VERY happy to provide you with links to these kinds of references (and indeed already have in the Important ASP Resources thread - which happens to be marked important twice) upon your request (I know of at least one individual who links these references in his signature also).

Now, please don't think that I'm ranting and raving. I'm just trying to inform those persons who do the above on a regular basis. It grows tiresome when I login for the day and all 5 new posts are questions that are easily answered with a simple link that could have been found if the one who posted the question would have spent 30 seconds researching his/her problem.

Mentors, Advisors, and Sitepoint Team Members:

If the opinions of this post are contrary to that of Sitepoint, please let us know. I would suspect that you would like us to spend our time on questions that are not easily answered instead of just repeating information which is already easily accessible.

View Replies View Related

Printer Friendly Page

Just want to ask if anyone here has experience with doing printer friendly page. I have done a printer friendly page but the problem is if the line overflow, the printer friendly page will 'run' because my code count line by line, but by charactar or pixel.

View Replies View Related

Dealing With Friendly Urls

My application runs on ASP and the business logic is embedded in Dlls written in VB. The application hosts a list of articles for the user to view and these are accessible through some complex urls like "http://mysite/articles/category1?articleid=34512". I would like to denote a friendly url to these articles such as "http://mysite/articles/kb_TaxPlanning.asp". I am thinking of using an ISAPI filter to do the work for me. My friend was trying on using a httphandler, but it did not work. Please share with us the resources for creating an isapi filter for the same. Also how to use the same for the expected result?

View Replies View Related

Printer Friendly Pages

my data all can display.but when link it 2 printer friendly pages no data display

View Replies View Related

Printer Friendly Code

Is there a way to get a printer friendly page using ASP. And when I say this I do not mean removing banner, picture etc and print the page.

The problem I face is, an ASP output is a big table with say 10-15 columns and it would not print even in landscape mode. So if I print the output from the IE browser the right side of the table gets cut. I want to know if there is an ASP code to over come this problem.

View Replies View Related

Printer Friendly Pages

What are the best approaches to create printer friendly pages in ASP web sites.? provide us help or links to useful artciles on this topic. Also can we avoid creating separate printer friendly pages and send the current page output to printer as the PRINT
button is clicked?

I have seen this functionality when we print our MCP transcript in MS certificastion site?

View Replies View Related

Search Engine Friendly URL For ASP

I'm having problems finding a guide for search engine friendly URLs for ASP. I found some program for sale that needs to be installed into IIS, but this is no good. My web hosting provider would never allow this.

Can anyone point me to a helpful guide in creating search engine friendly URLs out of dynamic sites for a Windows server with ASP? If someone knows of any good hosting providers who already have the ISAPI_rewrite filter installed for its customers, that would be great also.

View Replies View Related

Printer Friendly Pages

i am developing a website and in it, i would like to allow them to print the webpage but without the header, footer, as well as to set the default printing layout to be landscape and not protrait. Does anyone know how i may go about doing it?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved