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
ADVERTISEMENT
Having previously had this working on my XP machine, I've come back after a month to find this error occuring now. In the meantime, I had installed PHP (v4.2.3) which could easily be a factor.
The symptoms are that when I call an ASP page, I get a standard 404 error. However, if I dont specify a page, and a default/index page is found, it renders the page OK. I've uninstalled PHP & rebooted, but this didnt work.
View Replies
View Related
Let me first apologize for anything that makes me sound stupid. I'm really not a ASP programmer, but i am the one fixing our glitch.
First, let me explain whats going on. We have a company intranet signout board. And under our IIS4 server, it works just fine, but under IIS 5 its works except for one glitch. The board lets the user choose their name from a databse, and enter a date and time of leaving a arriving.
On the old server, if the user just entered a time, it automatically added the current date followed by the time. Now, if the user just enters a time, that all that is displayed, and for some reason the board will only allow one name to be displayed like that.
So if person A signs out with just a time, he is listed, until person B signsout and overwrites person A
I think i have narrowed the problem down to this
If FormatDateTime(Request("txtReturn" & intIndividualPerson),2) <> "12/30/99" Then
rsUDPerson("OutReturning") = Request("txtReturn" & intIndividualPerson)
Else
rsUDPerson("OutReturning") = Date & " " & Request("txtReturn" & intIndividualPerson)
End If
The idea is, if there is a date, it wil be different then 12/30/99 so nothing is changed, but if no date if there it adds the current one. It almost acts like there is no Else statement.
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
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
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
View Related
I have an asp page that queries a db and displays the data in an html table. This page has a hyperlink that goes to another asp page that is meant to load the same data table in Excel. This all works fine on windows 2000. This app has been running now for close to a year.
On XP however I get an error message ststing that the Temporary file whatever.xls could not be found. Check the spelling and verify if the file location is correct. This has happened on all XP boxes. I can save the file and then open but users don't want that extra click.
The code in the asp file that is meant to spawn Excel looks like this: ...
View Replies
View Related
What is the cause of that "[Microsoft][ODBC Microsoft Access Driver] Too many client tasks" error? I'm having a trouble listing posts from my database and giving me such output. Is there a limit in number of simultaneous user who can connect in the database? Or is it the server that's why it produced an error like that.
View Replies
View Related
Not sure if this is the correct newgroup to ask this, if it is not please direct me to the correct location. I have IIS5.1 on a Windows XP Pro SP2 machine. The extensions for ASP and asa are missing the DLL files. Like "inetsrvasp.dll" how can I get this
back. Would this be on the original CD.
View Replies
View Related
I have a custom File management ASP application that handles Large File uploads and download from a database (30 - 40 MB files) The application works fine on IIS5 but when I relocate it to IIS6 i get an error when I file not found error when i attempt to download out of the Database. IS there a reg setting or metabase setting that i need to change to handle large blob outputs.? Sorry I can't be more specific about the error msg but that is all it give's me a File not found error. it does however work fine with small files less then 2mb in size
View Replies
View Related
I am using MS Visual InterDev 6.0 SP5. When I connect up to web servers not
local to my machine, I am able to create the project; however the issue
comes when I am tring to create a new local project. It keeps asking me for
a user name and password. I did not setup a password.
View Replies
View Related
how to enable SSL in IIS5?
View Replies
View Related
Ive recently migrated from dirty ol' PWS on Win98 to IIS 5.1 on XP and Im a little unfamiliar with the IIS snap on. Would any of you be able to help me with permissions so the Db can be updated but without adding security risks.
View Replies
View Related
I found this articel that says that Server.HtmlEncode will screw up unicode data. I'm using htmlencode on many pages and cannot see that data are corrupted.
It says in the "This information in this article applies to" section that it is applicable for ASP 2.0 with IIS4 and IIS5. I thought IIS5 only supported ASP 3.0? Is the Server.HtmlEncode OK to use in ASP3.0 on IIS5?
View Replies
View Related
I'm working on an ASP application on my XP m/c.
I've uploaded a copy of the ASP code and accompanying DB onto another server
that is running both IIS5 & SQL Server. This is so that the development can
be demonstrated to key users at particular points.
However, when I access the application [on the server] from my machine, I'm
getting to odd caching behaviour that I dont understand. All the pages are
being cached and I need to refresh each page to get the accurate results.
The server is configured such all content should expire immediately, and
each ASP page has Response.Expires = 0 at the beginning, so AFAIK these
pages shouldn't be cached! Code:
View Replies
View Related
I have an ASP app that grabs the logon user, and then I use GetObject to query the user's security groups. On a Windows 2000 server running IIS5, this works excellent. I then copied it to a different networks, Windows 2003 server running IIS6, and now I get permission denied on GetObject. How can get around this?
View Replies
View Related
We are poised to migrate about 600 ASP sites from a single IIS5 server to a new pair of IIS6 servers. However, it appears that all files with includes like:
<!-- #include virtual="../../includes/file.asp" -->
will not work on IIS 6, it returns ASP 0126, include file not found.
We have enabled parent paths, but I can't find any documentation that suggests that IIS 6 handles include directives differently than IIS 5. Has this in fact changed in IIS 6? We are trying to avoid a huge and messy "search and replace embedded text" exercise.
View Replies
View Related
I am trying to send myself an email using cdosys. The error i get is:
CDO.Message.1 (0x80040222)
The pickup directory path is required and was not specified. my code looks like this: Code:
View Replies
View Related
Annoying problem on a server with IIS 5. [We have other
IIS 5 that show asp files just fine. I'm at a loss. ]
I can open htm, html, gif, jpg, all files except asp
files. The message when opening an asp file is:
"The page cannot be found...
blah blah blah
HTTP 404 - File not found"
I've looked everywhere. Permissions are okay with IUSR
and security since we can browse other files. The asp
files in question are NOT marked Hidden...
What can I do to make it render the asp files? Ideas?
View Replies
View Related
I simply create a new web site using Windows 2000, IIS 5.
I use say c:est as a home page, in this folder there is a file
homepage.asp.
I assign a dedicated ip address to this web site.
If I try to browse to this web site I just get a "You are not
authorized to view this page"
Why ?? I cannot understand where the problem is ! Code:
View Replies
View Related
We have pretty simple ASP (not ASP.Net) application, which has been running fine on IIS4 and IIS5. It has now been moved to a sever running in the DMZ and managed by a 3rd party. The server is Win2003 and IIS 6.0.
Within the Globe.asa file, have an Application_OnStart SubRoutine (Visual
Basic) and it bombs out on the first line:
Application("cnSecurity_ConnectionString") = "connectionProperties"
With the error:
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject failed
Globe.asa, line 25
View Replies
View Related
i have a website hosted with crystaltech which needs to send out reminder emails to customers on a day and time of their choosing. to do this i used the server sheduled tasks to call a page every hour which does a search checking for time and day that match and then loop thru the recordset sending out a CDONTS email to those records.
this would run fine for 12 - 15 hours and then the IIS would crash with the "Too many client tasks" error. this seemed strange as at most it would find one or 2 records matching the time. i presumed some error must be occuring (even though it was sending out emails correctly) and thus the recordset wasn't being closed correctly. Code:
View Replies
View Related
Does anybody know if it's possible to send MSN/ICQ messages with ASP to registered MSN/ICQ users
View Replies
View Related
I have been searching high and low, but can't find what I want. I am looking for scripts or some guidance on building a web based messaging thing. where users can leave private messages for other users. Maybe i am using the wrong keywords.
View Replies
View Related