i recently moved an intranet site from my test development desktop running IIS to a
Windows 2000 Server.
Part of my site requires admin users to write descriptions of books, leaflets etc. to text files stored in a specific directory in the Server.
I am using the exact same set up which worked great with IIS, the only change i have made is to the path for the file name, which i have now made relative. Code:
I have few asp pages, in each i connect to the DB, same con name in all of the pages. one page return error, as above, I had these pages working allright before, but i had to reinstall the IIS 5.1 because it was corrapted after installing SP2, and now rose this error, what could be the reason, do i have to change settings? of what? the wwwroot folder?
Error Report: Microsoft VBScript runtime (0x800A004C) Path not found line 236
------------- IF objFso.FolderExists(strPath) AND Request.QueryString("delete_file") = "y" THEN objFso.DeleteFolder(strPath) ---------------> line 236 END IF ----------
But if the path is not found line 236 shouldnot execute right?
I am trying to put a search by product name function on the following page, i think i have everything write but for some reason the page always says product not found as if the query is not getting past Code:
Error Type: ADODB.Recordset (0x800A0CC1) Item cannot be found in the collection corresponding to the requested name or ordinal. /emirate/view.asp, line 175
my database is access,i checked both data base as well as the coding,both field names are correct
my sql is only this sql= "select * from MasterEntry"
I have run into a peculiar problem and need a little shove to solve it.
I have an ASP app that tests to see if the browser allows cookies. Complains if cookies are off, otherwise proceeds to a login page.
Using MS-IE 5 or higher - works fine Using IE5 or Safari on a Macintosh (OS 9 or 10) gives a page not found error when trying to detect the cookie setting.
The ASP code use Request.Redirect. I made some htm pages to allow debugging of the redirect and get the same failure.
I could really use some suggestions for making the Mac machines work.
i got an error saying file not found 404 when redirect to html page and i ensure that the file is found in the same directory and in the database : response.redirect results("Url") where Url is the column name in the database that contain the page name
have a look at this code and see if they can spot the error. I've been looking for sometime but I'm blind to it - I have a feeling it might be something to do with the ID field? The connection appears fine so this is unlikely to be the cause .
How to find the File not found error in Javascript. My problem is When click the help image button, i want to display the help popup window to the corresponding page, if it is available.
If the help page is not available for the particular page, common 'No help' page should be displayed in popup window. How can i find the file not found error in javascript.
I know what this error is, all fieldnames have been verified and reverified. Not sure why it is happening. Here is the SQL statement
strSQL = "SELECT Problems.TicketNumber, Activity, ActDate FROM Problems LEFT JOIN Resolutions ON Problems.TicketNumber = Resolutions.TicketNumber WHERE Problems.TicketNumber = " & Ticket & " ORDER BY ActDate DESC;"
I'm getting this error working on a RecordSet that is filled by a LEFT JOIN query. Everything works fine, until an attempt to access data from the child table in the RecordSet when it doesn't exist.
Which results in "Item cannot be found in the collection". Is there a check that I can perform to see if a RecordSet item exists before attempting to access it?
I have moved an asp application from one IIS server to another and now having problems with the app on the second server. All I did was to move the folder as it is.
We have an application that uses WinInet and ASP to transfer files from an application server to a web server via an FTP component based on WinInet. An ASP page calls this component to transfer the requested file then opens the file and loads it into ADODB.Stream in order to download it to the user.
Things work fine up to the point where the Open|Save|Cancel dialog appears. If the user clicks Open or Save, a fair percentage of the time, they get a "File not found" error displaying the file name followed by a bracketed number, e.g. file[1].txt.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] The search key was not found in any record.
/warcouncil/issue_update2.asp, line 99
i know for the fact that it is something to do with microsoft access 2000, long text in a field will eventually make the row uneditable and undeletable.
Is there a workaround for this?Or all i need is just to remake the database in a newer microsoft access version?
I know it's been asked before & even very recently but I can't figure out why I'm getting that special "ADODB.Recordset error '800a0bcd'
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record." message.
I'm fairly new to this programming however. So, here I've got the heart of the code. I am sure it is the inner while loop throwing the error (I deleted it & did not get the error.)
Can anyone help me see what is causing that error? The page gives all the records that are valid, and then gives the error message. I know that it's looking for nonexistent records and that's why but I don't know why it's looking. I've tried different ways, but keep getting it. Code:
actually i am doing php and know how to handle 404 error page not found errors but one of my client needs it in ASP and i am not that much faimliar with ASP. so i need some help if some body could give me code to handle these broken links .
actually it has to be done like this that if user clicks some where on the site and that page does not exist so the programme should take him/her to a page where message will show e.g 'this page doesn't exist'.
should jump to the "foo" anchor in the page that results from the querystring (comments.asp?id=34)... but sometimes in IE6 it reads id not as "34" but as "34#foo" ... odd behaviour and i cant recreate it reliably, i have two very similar sites and one seccumbed to this bug and the other didnt, what i had to do was double check the input value (i was basically using isnumeric on it) and Code:
For reasons unknown to me I frequently will get an error - to the effect that the function can't be found.
If I hit refresh/F5 it loads the page just fine.
It doesn't happen often .. maybe once every 50 pages. It also doesn't happen on any specific page.
I'd show code, but it's not really related to either the function or any specific page.
Is there any sort of a delay between Asp loading the "includes" and processing the rest of the page? I'm wondering if the function is getting called before the include is pulled in.
SQLState: IM002 Native Error Code: 0 [INTERSOLV][ODBC lib] Data source name not found and no default driver specified
------------------
strconn ="DSN=dsnname ; UID=username ; PWD=password" set conn = Server.Createobject("adodb.connection") conn.Mode= 3 conn.open strconn the error is in the last line. THANX
Item cannot be found in the collection corresponding to the requested name or ordinal.
/etms/WorkFlow/ProductWF/Components.asp, line 193 **********************
The query works fine when i execute it from SQL server but when I integrate it into ASP it doesn't work. Can anyone please shed some light on this. Code:
Do anyone has got any idea about how to deal in ASP page when any link in asp page contains other URL that does not exist or open.
Basically I want to trap this kind of error when user is redirected to other site in a new window and it can't display that page may be due to non existent of that URL or page removed.
I have an exe that is programmed to enter itself in the registry so that whenever the user logs into the machine the exe starts executing. This exe reads data from a text file. whenever the user logs in he gets "file not found" messagebox (the application is in VB) even though the file that it reads from exists.
If we kill the process from the task manager and run it again there is no such error. Its only when the user logs in that he gets this error. The process has to be killed and restarted for it to work.
There is an ASP page in my site which sometimes gives file not found error. This page which is suppossedly missing exists on the server and available most of the time. But sometimes out of the blue, we get this message. When we restart IIS, the page works fine.
The rest of the site is usually fine. This one page gives the 404 error consistently. Obviously anything after this page could not be accessed. There are some other ASP pages as well which become unavailable (giving file not found errors) from time to time.