Inconsistent Unexpected Errors----iis 6 ---W2K3 Server
At least once per day I am receiving this error on this
specific page.
"Error: File /customer/record.asp Unexpected error. A
trappable error (C0000005) occurred in an external object.
The script cannot continue running.."
This page gets hit thousands of times per day yet it
usually only logs one incident of this error per day.
I have checked every resource and made all the recommended
fixes but it still occurs.
This page uses some ADODB connections, Jmail, and sets a
few cookies. I cannot reproduce the error. I have no clue
as to what it could be. All code is sound and works
correctly.
View Complete Forum Thread with Replies
Related Forum Messages:
W2K3 Server Permissions
I just finished writing an app for an ASP.NET website which uses SQL, C# ASP.NET and web services on my development box. Ported the app over to the Web Server(running W2K3, IIS 6, SQL2K), created the website on IIS, setup the appropriate SQL db, and loaded VS.NET 2K3 to compile the app. However,the app will not compile due to ASPNET and Network Service not having the specific permissions. Are ASPNET and Network Service both process accounts? And, which directories should permissions be granted for compiling and running the app? One way (which was suggested by a supervisor) to go around this (and compromise security, I think) is to use the Local System process account. I created the app on a W2K box with IIS 5 and SQL2K, and I have had no problems debugging it to where it's ready for production testing.
View Replies !
SQL Server Errors
3 workstations previously installed and able to access server. 4th workstation am able to map to server access files but when attempting to log in receive the following error. EXTERNAL DATABASE OPEN FAILURE Error: -2147467259[Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist. The workstation that is unable to connect is running XP SP2, MDAC 2.7.. the difference btwn this and the others is that it is running wireless. Ruled out wirelss as being the problem because hooked LAN cable and receive the same error. Code:
View Replies !
Internal Server Errors
i always get this in IIS 5.0 (running in windows 2000 advanced server) everytime the browser loads an ASP page.. but i don't get it when i run IIS 5.0 in windows 2000 professional. Server Application Error The server has reached the maximum recovery limit for the application during the processing of your request. Please contact the server administrator for assistance. Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.
View Replies !
Inconsistent Error
I have a simple code for user registration. It ocnnects to access db and checks whether the username already exisits before inserting. The problem is I am getting 'username already exisits error' even for genuine unique entries. And this is not consistent. At times there is no error. All the unique genuine entries are entered into the database irrespective of the error status (whether the error is thrown or not). when tested locally (local host) absolutely there is no problem. this happens only in the server. Can the experts here point out what the problem could be - could it be related to caching or something?
View Replies !
Server Out Of Memory Errors - Will Erasing Arrays Make A Difference?
We're getting "ERROR (0x8007000E) Not enough storage is available to complete this operation" errors on a fairly large, busy ASP/SQL Server web site. The error is being thrown on a line calling oRs.GetRows() on one of our busiest pages. The array returned from the GetRows() call will be 'cleaned up' when the page goes out of scope, but I wonder if we should be calling Erase specifically after the last usage to explicitly free allocated memory. Is there any actual benefit doing this cleanup explicitly? I've always throught that ASP's memory deallocation was a bit spotty - can anyone comment.
View Replies !
Inconsistent Results Javacript
I have a small window 'pop-up' from the main page, and then after details entered into small window, click submit, and do some database stuff. refresh teh parent paeg and then close the smal window. my pc works fine with this, another pc works fine, but one remote computer, in an office LAN does not proces the script properly. is there a setting I can tweak on my side or could it be because his comp is in an offie LAN maybe behind firewall?
View Replies !
Inconsistent Cookie Issue - IIS4
I'm having an inconsistent problem involving cookies. I have attempted to duplicate the OS/browser settings for the remote users in question but I cannot seem to duplicate the problem in any OS (Mac, Linux, Windows). I've gone over and visited one problem site and I couldn't get it to work by playing with security and privacy settings in MSIE. Obviously there is a setting somewhere but I can't find it. I can duplicate the problem by commenting out the ASP code that sets a particular cookie. I also didn't see the cookie get set on the problem system when I was trouble-shooting. I can't have the problem system with me when I code though. :( I won't post the entire project, but here are the parts that seem to be central to the problem... <% Response.Expires=-1 Response.AddHeader "Pragma", "no-cache" response.cookies("epeid") = value '40 characters response.cookies("epeid").Expires = dateadd("n", 7, date() & " " & Time()) response.redirect redirectURL %> It works fine on my systems. It redirects on the problem systems, only they act like the cookie doesn't exist. When I asked the computer to prompt me for each cookie I never saw epeid. On my system when I ask for a prompt it just stalls on that particular cookie. The above code is executed before any headers are written.
View Replies !
Strip HTML Tags Function - Unexpected Quantifier
I have been trying to figure out how to get a function to strip html tags from part of an html file. The way I need it achieved is as so: Code: <% strOutput = stripHTML("<!--#include file=includes/MyInclude.asp-->") %> The included file is html-rich, and if included in default.asp, it displays as such. However, as I am attempting to make my website accessible, I wish to be able to strip out the html tags on the included page dynamically. I have used the following function (and have called it with the above statement) but am getting an error in my functions.asp file: Unexpected quantifier. This is on the line that states Code:
View Replies !
Enable ASP On A W2K3 Box
I hava a new Windows 2003 box running IIS.When I try and display an asp page it says page not found.but the page is there.I've checked the settings in IIS - I have execute permissions script only.What do I have to do to allow ASP to run?
View Replies !
DB Locks On Srv W2k3
I have a very simple database call running on a W2K3 server. I moved it over from a W2K box. However, when it is run on the 2K3 server, it leaves a lock on. It is an ASP page and not and ASPX page. It works perfect on the W2K box. Anyone else have this probelm or better yet a cure for this problem? I do not have the time to convert it to ASP.NET yet. The ODBC driver is a bit different. One is V 4.00.6205 dated 3/2003 the one on the W2K box is version 4.00.6200 dated 6/2003.
View Replies !
Word Automation W2K3 IIS 6.0
I've develop a simply exe app that merge two or more document in one using MsWord automation. I call this exe from an asp page (giving authorization to IAWM IUSR...). This run ok on a web server with Xp and IIS 5.1 but don't work on W2K3 and IIS 6.0.
View Replies !
CDOSYS AND CDONTS On W2K3 Machine
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is: Set objCDOMail = Server.CreateObject("CDO.Message") Is there something special that we have to have installed to make CDONTS work?
View Replies !
Write To Event Log From COM Component In An ASP 3 Page On W2K3
I have some ASP 3 pages that instantiate a COM component. That component writes messages to the one of the Windows event logs. Things work as I expect them to on XP Pro but not on 2003 Server. I figured it was a security thing, so I surfed around and found that permissions were tightened in the server's first service pack. The fix I found[1] said to append an ACE[2] to the event log's CustomSD registry value found at HKLMSYSTEMCurrentControlSetServicesEventLog{L OG_NAME}CustomSD I tried three different ones with a reboot after appending each one: 1. (A;;0x3;;;AU) 2. (A;;0x3;;;NS) 3. (A;;0x0002;;;S-1-5-21-237510213-3056582554-1478882900-1003) The last uses the full SID of the IUSR account on the Windows 2003 I'm working on. I obtained that ID using this vbscript: Code:
View Replies !
Error: File /trxweb/trxweb.asp Unexpected Error.(E06D7363)
Past few days I see following errors in Event Log after which few ASP scripts stopped working (or part of it's functionality - not very sure which one). "Error: File /trxweb/trxweb.asp Unexpected error. A trappable error (E06D7363) occurred in an external object. The script cannot continue running.." Source : Active Server Pages Event ID : 5 Category:None What could have caused this error ? We are using IIS 6.0. This happens between 3:00 pm and 6:00 pm. User not is on an avg < 40.
View Replies !
ASP Errors
I am trying to configure apache::asp on apache2 and when i try to serve an asp page I get an internal server error. I get this in the error logs 66.249.65.228 - - [10/Jan/2008:12:57:57 -0500] "GET /asp/includes/functions.asp HTTP/1.1" 500 603 66.249.65.228 - - [10/Jan/2008:12:58:38 -0500] "GET /asp/includes/feed.asp HTTP/1.1" 500 603 66.249.65.228 - - [10/Jan/2008:12:59:06 -0500] "GET /asp/includes/contactField.asp HTTP/1.1" 500 603 66.249.65.228 - - [10/Jan/2008:12:59:19 -0500] "GET /asp/includes/encryption.asp HTTP/1.1" 500 603 66.249.65.228 - - [10/Jan/2008:12:59:33 -0500] "GET /asp/includes/LogonEdit.asp HTTP/1.1" 500 603 66.249.65.228 - - [10/Jan/2008:12:59:47 -0500] "GET /asp/includes/header.asp HTTP/1.1" 500 603
View Replies !
IIS Errors
We've been expriencing periodic database connection errors with ASP code talking to an MS Access database. Every once in a while, the code can't connect to the database. Usually there are no log entries that might point to difficulties, but early this morning the Application Log was filled with the 2 errors below. Once we did an IISRESET, the problem cleared. Does IIS need to be re-installed, or??
View Replies !
ASP Errors
Since upgrading to Windows 2003 Server from Windows 2000 Enterprise Server we have had alot of ASP problems. The problems are centered around asp pages which are one level or more below the main folder within a web site. We have many web sites which have used the database interface wizard in FrontPage which puts these pages up to three levels deep inside the folder hierarchy of the main site. The pages will not work with IIS 6. I have had to re- engineer many of these sites without the database interface wizard. My solution at this point is to put all ASP pages at the root level which seems to work but negates all version of Frontpage management including FrontPage 2003 Beta. This is a serious problem! Especially for us who teach FrontPage and ASP!
View Replies !
ASP Errors
first, in NS (version 3, don't ask), get a Code: HTTP Error 400 400 Bad Request Due to malformed syntax, the request could not be understood what's that? second, how do you turn the pop-up error alert window in IE for Mac off so that we can see the error in the browser window? just for the record, the app works in windows fine, seems to have troubles on the Mac side.
View Replies !
IE Errors
I have a classic ASP application that runs fine on IIS on win 2000 or IIS on XP. But recently a client installed it on Win 2003 and now consistently gets an Internet Explorer-side error:' syntax error line. char 1' when he browses to it with IE 6.0. When client moved the whole app as-is to an XP machine and then browsed to it, he had no problem. I suspect the error involves client-side javascript. Iam looking into it; in the meantime:Are there a known issues of this kind involving IE 6.0 and windows 2003?
View Replies !
500 Errors
I recently finished a project for someone and they are getting 500 errors. What's driving me nuts is the application works fine from my location. All I can think is it could be a firewall issue but I've messed with my firewall and I can't reproduce the error. What's ever more annoying is they are getting this error from more than one location. I don't see anything that would cause this. This is an admin application that uses Session and adds/updates an access DB. Works fine here.
View Replies !
Debugging ASP Errors
Before we upgraded our intranet server to Windows 2000, when I had an ASP error the page used to load up to the point where it was crashing out and then I would get an error message. This allowed me to response.write values to find out where the error was happening. Since we upgraded, all I get now is a 'page cannot be displayed' with the error message on it. This means that I can't response.write values anymore and makes debugging a lot more difficult. Is there a setting somewhere that controls how the message is displayed? Is this in IIS or is it a browser issue?
View Replies !
Getting Random Errors
I'm afraid I have a technical problem here. Basically what happens is that I'm getting some random errors(like Type mismatch... etc) that shouldn't under normal circumstances occur. Then I connect to my server via remote desktop and Recycle the application pool on which my asp pages run. Errors then disappear
View Replies !
80020009 Errors Everywhere
All across my site i am getting 0x80020009 errors every so often. they point to lines of code like where FolderNAMEIN is a string such as "Botswana" and the VarFolderNameLength is 150 if len(FolderNAMEIN) > VarFolderNameLength then and RS("Company") where Company is a valid field in the database.
View Replies !
Errors In Browsing ASP.NET
I've get a problem in browsing .aspx pages locally. I'm using Windows 2000 Advanced Server with IIS enabled and .NET framework SDK installed, as well as Visual Studio.NET. But when I browse .aspx pages locally, I.E. shows "Server Application Unavailable" message. In the Event log, I find error event of ASP.NET 1.0.3705.0 with the description : aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.
View Replies !
E-Mail ERRORS
I have written a script on an include page which pretty much will write all the required ServerVariables and session variables into a string and email off to me incase a page happens to error out. I have the code working as I want it to using the folllowing: If Err.Number = <> 0 Then 'RUN INCLUDE End If My issue is, where do I include this on the pages? If I put it at the top will it only run if there is an error at the start of the page or will it be assigned no matter how far down the page the error exists. Or do I need to put in On Error Resume Next at the top then put the include at the bottom?
View Replies !
Narrow Down Errors
example, I have 3 drop down boxes n a page. 1st box contains all countries, 2nd box contains all locations in that country selected from the 1st box 3rd box contains all items at that particular location selected from the 2nd box
View Replies !
ODBC Errors
Despite trying the codes given, I am still not getting it right! Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xf14 Thread 0x4a4 DBC 0x10bbfcc Jet'. /sanbookshop/searchtest.asp, line 22
View Replies !
ASP Out Of Memory Errors
I am trying to write a search script in my spare time at work. We have a knowledge base consisting of 200+ .mht files. My script was working ok when I was testing it on just a few files but I am getting out of memory errors trying to search through the whole KB. Here is the search code:
View Replies !
Include Errors
i am having troubles including a file <!--#include file ="../Config/Connection.asp"---> its brigning up an error message like this Active Server Pages error 'ASP 0131' Disallowed Parent Path /account/ADMINCenter/Confirm.ASP, line 5 The Include file '../Config/Connection.asp' cannot contain '..' to indicate the parent directory. ive tried placing the full path to the file in the include but i still get errors saying it doesnt not exist, but it does.
View Replies !
ASP Coding Errors
I have a form page that people fill out and push submit. When they push submit, the information is stored in a database in two different tables. You are then directed to a page that lists everything you have submitted so you can print it. I am having problems with this second page. Information from one of the tables is listed, but the information from the other table isn't listed. They are related by the "casenumber" that is given when submitted. I have looked at the tables, and the information is there, and they have the same casenumber, but the information doesn't get put on the 2nd page. We just moved our site to IIS 6. Everything was working perfectly in IIS 5, but is now "broken" in IIS 6. I always get the following error when it hits the coding that should put in the information from the second table: ADODB.Field error '800a0bcd' Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. Code:
View Replies !
Asp Errors In Log Files
I haven't found this explicitly stated in any documentation, but i just wanted to confirm this with people here. When there's an asp error on a page, the request has appended to log something of the format |-|ASP_0xxx|description. It also seems that this is inserted at point of error, whether or not there has already been append to log data. so, my questions: 1) is the |-|ASP_... always a consistent format? 2) does the |-|ASP... error message displace any other AppendToLog output? I know the -query column only takes so many characters and anything busting the limit simply gets chopped. I was wondering if that includes asp error messages, or whether they appropriate some of the space 3) Why didn't they use something like &|-| as the seperator? using the & would definitively close off any dangling query string variables, making it easier for log file analyzers to separate the wheat from the chaff...
View Replies !
Out Of Memory Errors
I am trying to create a search script but I am running into an out of memory error. Here is the search subroutine which loops multiple times: Code: .....
View Replies !
Preventing Errors
I'm using if for when the user deletes a record from the database. People using the website try and delete more than one record at a t time by placing commas between the IDnumber ie. 1,2,5,9 etc. This creates an error. So instead of this error appearing, how can I get a small alert box telling hte user he/or she has entered the wrong data type? The code for the form is :-
View Replies !
ASP Giving Errors
I have made a Dll in VB. I am trying to make a word document by using a word template and then inserting data into the word file from my MS Access (Office XP) database. It works fine when I use the reference of this Dll in a form added in VB. But gives me errors when I compile it and use it, by creating its object in ASP. It gives error 5981 : Could not open macro storage.I tried searching on microsoft website but could not implement the solution.I get a feeling that if a word reference is used in a dll and compiled and then used in ASP it gives no output. I am confused and frustrated as I have got the dll ready but can't use it in ASP pages.
View Replies !
Trapping Errors With ASP
I want that every error in every asp/javascript/ etc... will trappped to a central asp page (not dotnet), which I declare on my site.suppose I have a dotnet site platformed - is the declaration for that may be the same for not dotnet declarations.
View Replies !
IIS Not Display ASP Errors
IIS has quit displaying ASP errors it finds. Errors from SQL Server are displayed as are "page not found" errors but VBScript syntax errors are not. For example, the following code should give the error that x has not been declared but the page just stops processing after displaying "here". <% response.write("here") x %>
View Replies !
Find Errors
I'm coding in classic asp and can't figure how to get IE6 to display some kind of descriptive message about code errors? I have the correct settings under ADVANCED in IE's options selected. What bugs me is sometimes IE will report the line number and a message, and then other times it's the standard "The page can't be displayed." When you have hundreds of lines of code, how can you fight this?
View Replies !
Database Errors With IIS
For some reason these errors have just appeared out of nowhere. Everytime I try to add, delete or update, I'm getting the following errors for both dns and dns-less connections: Error Type: Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. Microsoft JET Database Engine (0x80004005) Operation must use an updateable query. etc I have checked the read and write permissions and they seem to be fine, as well as with the locations of the databases that are in inetpub/wwwroot. Anyone know of anything else I can do to solve this?
View Replies !
Errors Using Databases
i get this error when posting info in a form Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query. /register.asp, line 141 Browser Type: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) Page: POST 295 bytes to /register.asp
View Replies !
Timeout Errors
Can anyone provide a simple example of an ASP script that includes timeout exception handling?Specifically, I don't need to extend the timeout, or prevent it. I'm not responsible for the DB, and I'm told that periodic timeouts will be unavoidable.
View Replies !
ODBC Errors
I am working with Dreamweaver MX, IIS, and MS Access. All I am doing is testing another person's instructions and making sure they work for me. Everything was working fine until I load the dynamic pages and get the following error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use. /admin/editnews.asp, line 8 This same error is happening with another file. I checked the other person's code and they match. So it must be something on the ODBC side. Here are the lines it is referring to (from two different file): Code:
View Replies !
ScrollBar Errors
I am encountering errors when I try to use the scrollbars on my website. Could this be because I included some Javascript and it is giving me errors. I included a floating, draggable help menu and it seems to give me some errors when I click in certain places on the screen,would this freeze up my scrollbars.
View Replies !
Persits.MailSender Errors
Hello I am having this error when trying to submit my form. Server object error 'ASP 0177 : 800401f3' Server.CreateObject Failed 800401f3 Here is the error line: Set Mail = Server.CreateObject("Persits.MailSender") I read that this usually means that the .dll for persits needs to be registered on the server. The server is GoDaddy and I obviously cannot just register things on their servers on my own. I requested them to do this for me and they said that persits is part of aspupload and it is already installed and registered on the server. They can give no further assistance than that. The files actually upload to the correct folder but no mail is sent because of this error obviously. Is there something I am missing? Here is the code: .....
View Replies !
Unspecified Errors & Permissions
I'm developing an administration tool on a WinXP Pro / ASP / VBScript / MSIE 6 platform. (I know, BOO! for WinXP & File Permissions) But nonetheless, it's formated on a NTFS partition. Anyways, I've been getting errors whom after searching online (at BLAZING 56k speeds!) keep stating that improper permissions are setup. What's hilarious is that they all say the same thing (literally, word for word, "You need to give XXX Read and Write permissions") but NONE of them tell you how to do that. Well, in IIS, I've given the directory READ/WRITE permissions and in WinXP I've Right-Clicked on a folder, enabled it under WEB SHARING and gave it READ/WRITE permissions, and still I get random errors. The 2 errors I've been getting are: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query. /clients/amCart/admin/adm_administrators_add.asp, line 115 Code:
View Replies !
Log Asp Script Errors To A File
I have a IIS 6.0 server with ASP files. I am not that familiar with ASP, or IIS. IIS is set to display informative error messages to the client. When I get a script error, the first page load displays the error and subsequent pages are blank. I don't know if this is default behavior, but it's kind of annoying, and I was wondering if there is a way to make it always display the error. Secondly, I would like to log these errors to a file(of course with additional information like the time of the error, the file that generated the error, maybe a dump of the session, post and get variables, etc etc) which would be even better than the first option.
View Replies !
|