I'm working on a page that is supposed to generate a PDF from fields in an Access database. The user is supposed to be able to generate a pdf. Instead a " error '80020009'" is returned in line 55. Could someone lend a hand? Here's the code (line 55 is the beginning of the form field document at "WHOLENAME")
I have a function that i am using that is recursive but i get an error when i use it. i have turned off friendly error messages but the error is still the same.
I am a designer who has inherited an ASP site to maintain (and who has somewhat limited skills in this area) and I have come to the end of my rope on this one, and was hoping that some munificent ASP guru could help me out. The page I am referring to has been working FINE for 3+ years and today comes up with an error message:
error '80020009' Exception occurred. /recipe-index.asp, line 91
Here is the totality of the section the error message refers to: Code:
Before the addition of line 28, when a user login it either accepts it if it validates correctly. If the email or pw failed then it redirects to a "bad user name or password page."
After the addition of line 28, when a user login with the correct email and pw then it works normally...
however when a user uses a invalid login entry the error page does not show up... instead it gives a 80020009 Code:
Set Mail = Server.CreateObject("CDONTS.NewMail") Mail.From = "myE-mailHere@myDomain.com" Mail.To = "me@mycompany.com" Mail.BCC= email Mail.Subject = "Welcome to Kindis website" Mail.BodyFormat = 0 Mail.MailFormat = 0 Mail.Body = "<h2>Hello</h2><br><b>This is my e-mail in HTML format</b>" Mail.Send Set Mail = Nothing <---- Line 121 %>
when i try sending the email i get this error:
CDONTS.NewMail.1 error '80020009'
Unable to connect to server
/kindis/register4.asp, line 121
does it have to be with the mail server im sending to or should i be including a file in this file?
Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. /systeminfo.asp, line 0
I could use some input on how to avoid this error. I am fairly new to .asp and scripting, so I'm open to all comments/suggestions. I am geting this error when I try to access an area of the database which does not yet contain data in the record. Code:
i creat one sql server and want another computer on my lan run my web server (i mean the computer on lan can insert data and store to my sql server)but i don't know to do that .i used windows 2003 and IIS6.
I want one particular file to show only on INTRANET not on Internet. Purpose for this is, user can update their profile and view few companies rules only inside campus. Because these informations only belongs to companies's user so I do not want to show on the Internet.
I need a fileuploader that automatic make thumbnails in different sizes when an image is uploaded to the server (ASP/Win2003). Does anyone have experience with this, something to recomend?
I need to make a check for file type at client end, ie allow only files that are images to be uploaded and prevent the others. I tried using the HtmlInputFile.Accept Property, but it somehow doesn't seem to work.
moreover, it claims to support only few browsers. Also, javascript in itself, gets very dirty, if i start making validations for every thing. Does ASP.NET support any control which can cause these validations? what is the most elegant way to do this?
I am working on this school project.. And now i am stuck with how to make file upload. I was planing to make so that a user can upload a "profile" picture to my comp. And it would be resized to and shown as an avatar or whatever. How i can do this? easy way best. And how to limit the upload to jpg, and such, and at the same time place a limit of size in mb / kb etc.
how to make asp pages that could let people to upload files. I use Macromedia Dreamweaver and there is a form for file field, but it doesn't has any help function on how to do it.
I'm getting an '80020009 exception occurred' error for some reason, even though I know that there is a corresponding record in the database. This happens on some records but not most. Any ideas? Code:
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.
When I type out my new stuff in the edit field I click submit and get this error. The next post is my code for the entire page. Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query. /hwnetwork/edit1.asp, line 110
I have perhaps not explained myself clearly, so I'll try it this way. In the code below, where it says "I'd like to include my navigation bar here" is the place I'd like to insert a navigation bar from a page I have called navbar.asp
For some reason, when I insert the <! #include file="navbar.asp" --> in that place, I get an error, a long, hairy error. Can you please look at the code below, and tell me how I should write the code so that the include statement will work? Code:
We recently moved our webserver from Win2K to Win2003. The application works fine. Only problem is that when user views a report as a PDF, IE does not show it. The following code is used to redirect:
IE opens a "File Download" box and if you click the "open" button then nothing happens. If you click the "Save" button the following error comes up:
"Internet Explorer cannot download "myreport.pdf" from "website". Internet Explorer was not able to open this Internet site. The requested site is either unavialable or cannot be found. Please try again later."
I have a form that has many fields on it (selection list, text areas, etc) as well as the ability to upload some files. I'm using Lewis Moten's upload code (works great). No problem so far. However, if the user has a typo or the file does not exist then I want to return the user to the original form with an error (invalid file) and all of their work the way it was before the submission (i.e. if they had selected something from a list - when returned to the form the selection is kept).
Because I'm uploading files I have the form set as this:
In my addform.asp, I have a check for a valid file:
set objUpload = new clsUpload
if objUpload.Fields("document").Length = 0 then ' redirect user back to original page with an error Response.Redirect addform.asp?error="invalid file" end if
On the original form, I have quite a bit of data - may exceed the querystring maximum.
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.