I have been using the CDONTS component on Windows 2000 to send emails for a
long time now (code below).
However, over time, the report that I am sending has got rather longer and
it now gives me an "unknown exception" error. However, I know that it's
because there's now too much data (If I remove some of the text it goes
fine).
I've "compacted" the message as much as I can, but I've got up to the limit
now of how much I can compact it by...
I've tried to write it to a file and attach that, but the same size limit
appears to hold for attachments too.
What to do....?
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009) Component is disabled /thankyou.asp, line 61
I have W2k pro workstation intsalled on my server and I am trying to send an e-mail with my asp script. I found out how to do it and copied it over on my script.
Just to make it short . it is not doing anything. There is no error message .. Looks like it sent the e-mail. But when I check my e-mail I see no e-mail from this script.
Does someone know the cause of this error? I'm developing a simple christian site for our church and it needs to have an email functionality. When I submit the form I receive this error. Can anyone give me some tips?
I have a COM+ component created in Visual Basic 6 deployed on Windows Server 2003 acting as the IIS Server. The problem with the COM+ component is that now when starting the COM+ component, an error occurs stating:
========================================= Catalog Error ------------ An error occured while performing the last operation. Error code 8000FFFF - Catastrophic failure
The event log may contain additional troubleshooting information. =========================================
Please note that the Windows Server 2003 has automatic updates set ON, and the same COM+ component was working fine few days before. Code:
Can anybody shed any light on this issue ??? Or even ways of temporaily getting around it ???
FISH is an ASP application which uses a WSC object called "finapps.fishapp" to handle the requests to the database. The WSC is created in the GLOBAL.ASA as a Session object using the following line:
The finapps.fishapp object creates an "ADODB.Connection" object that is held open while the session is running, and the Session_OnEnd event should call a method of that object that closes the connections
The website falls over only when there has been a period of inactivity greater than the length of the session timeout, and also after there has been a significant amount of traffic prior to this!
The problem we have only occurs for one of our clients, but occurs seemingly randomly on all 4 of their servers. The returned results of the error are as follows: ----------------------------------------------- Active Server Pages error '8002802b'
Create object failed
An error occurred while creating object 'fish'. Microsoft VBScript runtime error '800a0007'
Out of memory: 'fish' //global.asa, line 36 ------------------------------------------------
After server went down I got this error after submitting Membership form. (win2000, IIS 5.0, Access Database(mdb) ActiveX component can't create object Error Number =429
I'am having similar problems and the resolution posted did not correct the problem here is the line my errors on Set fcLog = fso.GetFile(strCAPSLog).OpenAsTextStream(ForWriting, TristateUseDefault)
I have a very rare error with one of our Windows 2003 server. We have some componentes COM wich ones use the CDONTS in order to send mails. Well, one of our server get the follow error when we try to send the mail.
error '80004005'
Method '~' of object '~' failed
I know it's possible to have CDONTS over Windows 2003, and this article confirms it:
I have registered the cdonts.dll as the article dictates but I really don't know what can be happening with that server.. and I really appreciate any kind of help because that is one of our QA servers.
Currently, I have a form that a user can enter the subject line content and the email body content. They can then send the email which I have set up to use CDONTS. This works fine.
Now I want to add in the ability to attach a file (it will most likely be a MS Word document) to the email being sent out.
I would like to use CDONTS's AttachFile but it's not working for me. I've read up on it and it seems fairly simple except that I'm getting the following error message. 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?
I have just tested code I pulled from the chilli!Mail tutorial to email data via an ASP page.
It worked perfectly the first time the page was loaded, however now I am getting the following error:
Error Type: CDONTS.NewMail.1, ASP 0220 (0x80020009) This ASP file must be transacted in order to use the ObjectContext object. /ContinuousImprovements/test.asp, line 29
I haven't seen this error before and am not too sure what it means, any help would be appreciated.
I want to call ASP object from VB component. When my component is ActiveX dll I can get the request object and read the form controls without any issue. But when my component is ActiveX exe the same code doestnt work Does Activex EXE support accessing of ASP object model.
I was wondering if you guys know if there is a good component for sending fax? the server has a fax-modem and i would like it to "call" an other fax and send data. is that possible?
I don't know to much about asp in general, I'm an ASP.net developer, but my boss wants me to find out the following:
Is it possible to use a COM component from ASP. We have a COM component that allows us to interact with our bank for e-commerce style functionality. Our current site uses ASP and we know need to integrate this COM component in order to let us to some fancier stuff, such as on the fly fraud checking for credit cards.
Can someone advise me if ASP can use COM components and what is involved? Does anyone know of any good resources such as a tutorial?
I build a (vb) component for use within in an ASP. When I put the component in Component Services on the server it will not work if there is no one logged in to the machine. How do I remedy this?
I have downloaded thia DLL that you register then can use the asp object coded into it. can someone give me more information on these component DLL's ?
We have been having problem with our file upload component. It seems that at times the file upload process hangs, and the users get a timeout error. Although the users upload 1 or 2 image files at a time.
I have altered the upload size limit property in the IIS 6 metabase properties, so I don't think that is the case. Because most of the time it works okay, but at other times it hangs....
I have created an asp page that pulls data from SQL server and displays on webpage in the form of Table and Chart.
I use OWC to generate Chart. It work find on my computer with Ms office 2000 installed, but when I upload my the page to my webserver, it doesn't work with the following error message:
006~ASP 0177~Server.CreateObject Failed~Invalid ProgID. For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
Does anyone know how to solve this problem?
P.S. On the production server, Office Web Component had already been installed. WSCript.CreateObject("OWC.Chart") works fine in my colleage's vbscript file.
I am using a free upload component for uploading a file to a database . It is accepting only .txt files. I wanted to upload word documents. Also How can I upload a .doc file to Access database. I don't want to buy upload component.