Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    ASP




CDONTS And Windows Server 2003


if I can use CDONTS in W 2003 Server environment to send emails the same way it is used in W2K Server. I have heard that CDONTS is no longer available in W 2003 Server and if so, how can I send emails from ASP page.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
CDONTS And Windows Server 2003 / IIS 6
I just set up an acct. with godaddy for a shared virtual dedicated server using Windows 2003 and IIS 6. None of my ASP scripts work to send emails using CDONTS. Research took me to how to install the cdonts.dll file and after doing so I don't get the error about not being able to create an ojbect but rather that of permissions on the line that has the .send. Other research led to me believe that windows 2003 does not support cdonts at all? I'd prefer to use CDO but I was told by Godaddy that the script below is not supported on a shared server - Code:

CDONTS On WINDOWS 2003 Server
Some one has posted this question on 10th August, as CDONTS is not working
on windows 2003 serever. I have the same problem and I copied CDONTS.DLL
from Windows 2000 Server and registered on Win 2003 server but it giving the
error on line when I calling method send of the object.

Error is
Microsoft VBScript runtime error '800a0046'

Permission denied

I tried to register CDONTS as COM+ with Admin user right to execute but it
still giving same error.

Error With CDONTS On Windows 2003
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:

http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/iisdg_dep_tnoc.asp

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.

ASP On Windows 2003 Server
I made some of the web pages using ASP on windows 2000 server, now i wanto to upgrade my Operating system from windows 2000 server to Windows 2003 Server , Are my web pages will work fine if i do this upgradation or there are any configurations on IIS i have to make to work fine ....

Windows 2003 Server With II6
I've had a new server installed for me. with Windows 2003 and II6 with ASP.NET. but I want to run a small (but important) application written in ASP(all .ASP files)

as it stands the server will not 'understand' .ASP files (only .ASPx)To avoid having to modify the whole application ( :-} ) can I get the server to execute. ASP files?(is it as simple as copying over an existing II4 ASP.DLL and installing that?

Windows 2003 Server
We have several extensive sites and all use a lot of include files. We have the coded as include file and virtual include using ../ since it is a shared server etc. The sites were moved by the hosting company to a new windows 2003 server and now we get invalid path error part of the time, others it works fine.

The host says it is our programmers did not follow asp procedures and used ../ I always thought this was ok, it was never an issue before the move...is this new to windows 2003.

SendEmail In Windows 2003 Server
It works properly in my former webserver until it was upgraded to Win2003. Please do the amendments below.

My code:

ASP On IIS6 Windows 2003 Server
At the early testing stages of writing some simple ASP scripts hosted by my Windows 2003 Server but I have hit upon a problem.

When I open an asp page, IE just returns the script rather than expected web page. What have I or am I doing wrong?

ASP Problem In Windows 2003 Server
In Windows 2003 Server, when I include a file in upper directory, it will
occur error.

Active Server Pages Error 'ASP 0131'

cannot include file '../filename.inc' with '..' from upper directory

However, it doesn't have any problem in windows 2000 server

could anybody help me?

Weird Error Windows 2003 Server
I am recieving a weird error when I try to run asp scripts on my local
machine, I can use pages that access a database, but when I try to write to
the file system ie upload a file I get the error message below.

any ideas?

MSWC.Tools & Windows 2003 Server
Hi people, I currently have a website and the asp pages include the following line:

"Set Tools = Server.CreateObject("MSWC.Tools")"

My site is hosted on Windows 2000 server.

The hosting company has offered me a new deal but on Windows 2003 servers, I took them up on this but found that my asp pages did not function as these servers do not have the Internet Information Server (IIS) Resource Kit installed on them. I found this out by
looking at http://support.microsoft.com/kb/q249290/.

As I am not the original creator of the asp pages and have no knowledge of asp, can anyone help me fix this problem where my asp pages will function correctly on the Windows 2003 server?

Running Bat (batch) Files On Windows Server 2003 With Asp
im trying to run a bat file on windows server 2003 and am running into nothing but problems.

i have IIS on my XP workstation that accesses the 2003 server. what im about to explain below works properly on the XP IIs.

i have two files: somefile.asp and somefile.bat. the asp file creates a wscript.shell and then tries to execute the run method for somefile.bat.

however, it isnt working. after an unexaggerated 7 hours of searching google/etc, i have found nothing but frustration and deep, seething anger regarding this problem. Code:

Web Forms And SMTP On Server 2003 (CDONTS)
Not sure which forum this belongs in, so here it is here as well as in the IIS forum

I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:

this is the code: ....

ActiveXObject Problem - WScript.Shell On Windows 2003 Server
I have installed MSDE on my local computer - Windows 2000 Professional. I have created a function which runs me a link whose path is placed in the input field. This function looks like this: Code:

ASP Error Under Windows 2003
Is html based form for upload files. ASP script are get and save files on web server. Works fine on Windows 2000 Server.

Under Windows 2003, if try to upload files more than 100Kb got error:

Error number: -2147467259
Error source:
Error description: Operation not Allowed

in next line:

Binary = Request.BinaryRead (Length)

Any idea why it happen?

Add IP's Manually To Windows 2003 Web?
How do I add additional IP's manually in Windows 2003 Web Edition? I was told to add them to subnet mask? I am not sure about this as I am new to it. Also, in remote desktop connection perhaps? Where after I login?

Website On Windows 2003
some of my sites which is working perfectly on Windows 2000 But when i tried the same thing from Windows 2003, it gives me error..

I am using IIS 6.0 By the way i am getting an error 80005000 login error.

Migration To Windows 2003
I recently upgraded my servers to 2003. Since then the error-information shown in the browser has changed.For example, if under Windows 2000 I executed an SQL statement from within an ASP, and the SQL statement was syntactically incorrect, the error thrown
by ADO would finally show up in the client browser.

If I do the same with an Windows 2003 Server, only a "HTTP 500, internal server error" is sent to to client browser. The IIS LogFiles still show the actual error, but looking there is not that comfortable.Is this some configuration that can be done on the Windows 2003 server?

Windows 2003 Web Edition
Is there a workaround to allow .log files to be accessed

Like: http://127.0.0.1/Test.log

The access is just so it can be downloaded.

I get 404 errors for Windows 2003 but not for Windows 2000 for this.

Authentication Against AD On Windows 2003
I used to have the following ASP code (below) that runs on windows 2000 and authenticates users against the Active Directory. The code is working fine. However, after upgrading from Win2000 to Win2003 (IIS 6), authentication is failing, although the code is still working if run on win2000.

I tried to capture packets during the authentication phase from both win2000 and win2003 and I found out that there is a slight difference between the two although I believe that this is an OS bit not ASP thing. Code:

Cdosys With Windows 2003 Error
I'm using windows 2003 with asp. However, I'm having problems sending email using the cdosys object.

My code is below and I don't believe its the code but on the send command.

<%
dim sch
dim cdoConfig
dim cdoMessage

sch = "http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig = Server.CreateObject("CDO.Configuration")
cdoConfig.Fields.Item(sch & "sendusing") = 2
cdoConfig.Fields.Item(sch & "smtpserver") = "127.0.0.1"
cdoConfig.fields.update

Set cdoMessage = Server.CreateObject("CDO.Message")
Set cdoMessage.Configuration = cdoConfig
cdoMessage.From = "test@gmail.com"
cdoMessage.To = "test@gmail.com"
cdoMessage.Subject = "Sample CDONTS NewMail"
cdoMessage.TextBody = "This is a test for CDONTS message"
cdoMessage.Send
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>

error '8004020f'
/tad/testing.asp, line 30

I'm not sure what's wrong. When I go to my SMTP Virtual Server
settings in IIS --> Properties --> Delivery --> Advanced .

The FQDN is localhost and the smarthost is blank.

Html Form Under Windows 2003
My company has recently started testing Win 2k3 servers to replace our current 2k versions. The problem I have is that our IT group sent out an email to all web developers stating that HTML forms would no longer be supported in 2k3 and all forms would have to be converted to asp pages.Since the form tag is in the html specs, I find this rather hard to believe.

CDO Message Not Working In Windows 2003
I have and ASP form that sends out an email on Windows 2003. I get the following error: ActiveX component can't create object. What should I do to fix this? Code:

ASP 3.0 - Migration To Windows 2003 Question
I have a ASP 3.0 web application that uses IIS 5.0 with W2K (with parent
paths enabled). In my research about migration to IIS6 with W2003 it says
that you need to change every INCLUDE FILE= to INCLUDE VIRTUAL=.

I call an ASP page at the root of the website and that ASP file has an
include that also is at the root, and the include is like this:

<!-- INCLUDE FILE="copyrightstuff.htm" -->

So what I've read say that this has to be changed to VIRTUAL like this:

<!-- INCLUDE VIRTUAL="/websitename/copyrightstuff.htm" -->

I could do this for one website that has one name listed in IIS. However, my
website code was designed to work on many different websites, each with
different domain names. It seems like a LOT of work to have to change ALL
the includes to accommodate the name given to the site in IIS. Code:

Download Of Files To Windows Mobile 2003
We have a WEB-based application (developed in Visual Studio 2005) running on
handheld devices in Internet Explorer on Windows Mobile 2003. The application
needs to print tickets on a Bluetooth printer, which is accomplished by
preparing a RTF-file on the server and then downloading this file to the
handheld device. We use a third-party application (PrintPocketCE from
FieldSoftware) for the actual printing of the downloaded file. However, when
the file is about to be downloaded we first get a question saying "Download
<filename> to the My Documents folder in Main Memory?" with Yes, Change and
Cancel buttons.

Is there a way to avoid this question and download the file
directly? We need the checkbox "Open file after download" to be checked (as
it is by default when the question is displayed) to get the file processed by
PrintPocketCE after download.

To avoid adding file by file to the handheld device we always use the same
filename for the downloaded file. This leads to another question on each
download, asking whether to overwrite the previously downloaded file. Since
the file has no interest after being printed this question is always answered
with Yes. Is there a way to avoid this question too, for example by setting
some Registry value?

Connecting To SQL 2000 Database In Windows 2003 X64
I'm trying to connect to a SQL 2000 database on my Windows 2003 x64 Enterprise edition server, and so far I've got the error:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Driver Manager] Data source name not
found and no default driver specified

My ASP code is straight forward: Code:

Slow ASP Pages On IIS6 / Windows 2003
User clicks a link that displays a customer card and financial stats (has a
lot of database calls). Every 5 times the user clicks the same page/link it
takes about 30 seconds (normal response time is <1 second) to display. Code:

Email Program Won't Send In Windows 2003 - Queue_Manager
I have a client that just switched to Windows 2003 server. Their website
has always run fine under Windows 2000, using an email program
queue_manager.exe to send order and support emails (sending a receipt to the
sender). This seems to work under Windows 2003, but won't send the email.
I suspect it's a security configuration issue, but can't seem to pin point
it (since I am a novice with 2003 server). The server also has Exchange
Server installed.

Windows 2003 'ASP 0178 : 80070005' COM+ Security Problem
I am getting the following error in my asp page
Server object error 'ASP 0178 : 80070005'

Server.CreateObject Access Error

/exctest/test.asp, line 7

The call to Server.CreateObject failed while checking permissions. Access is
denied to this object

The dll in question has been installed on a windows 2003 server as a COM+
application. This has then been exported as an application proxy to another
windows 2003 server.

The web app has been set up for Basic Authentication only. If when running I
logon as a Domain user, who only has domain user rights the above error
occurs, if I add my domain user to the administrators group on the server
where the actual com+ application resides everything is fine and works as
expected. However, having a domain user a member of the administrators group
is not ideal. What am I missing in security configuration so that domain
users can create and run with the com+ application.

Problems With Windows 2003 Service Pack 1 And IsolatedStorage
I have developed an ASP.NET (version 1.1) application which I have deployed
to a number of webservers.

The web application works fine on Windows 2000 Server computers. It also
works OK on Windows 2003 Server UNTIL Windows 2003 Service Pack 1 is
installed! Code:

Corrupted Double-byte Characters In Windows 2003 / IIS 6.0
I moved ASP WebPages from Windows 2000 server to Windows 2003 server platform. Those double-byte characters (Japanese) retrieved from SQL server 2000 are corrupted.

I am using Macromedia Dreamweaver MX as the development tool, by encoding webpage as "UTF-8" as the following, <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I also add

<%
Response.CodePage = "65001"
Response.Charset="utf-8"
%>
into my ASP page. But it does not solve the problem.

My ASP pages are working perfectly in Windows 2000 server, but they are not working on Windows 2003 server (Web edition & Enterprise Edition).

Is there anyone encountered the similar problems before ? I research the Microsoft website, no any answers on that.

On Windows 2003 IIS (6.0) Failed To Download A File From ASP Page
The ASP application uses the "File" active-x control. On windows 2003
IIS(6.0), the download the file fails with the Error: Request object error
'ASP 0104 : 80004005'

The above error is retuned by my asp code: lnBytes =
Request.BinaryRead(lnByteCount)

I did not see this error on windows 2000 server. Is there any solution/workaround available on Windows 2003 IIS(6.0) for this issue.

APS Pages Not Working Now After Windows 2003 Service Pack 1 Install
Has anyone had any problems with Win2003 Service Pack 1 messing up things in IIS regarding asp pages? I had a small test site working yesterday and last night I ran the Windows critical updates on the server that included Service Pack 1. This morning my asp pages are not working.

Also I'm using Dreamweaver MX 2004 and I'm trying to setup another database connection for another page. I connect to the access .mdb file and it tests successfully. However, when I go to look at the tables in Dreamweaver, it shows that there are NO tables.

I know that there are tables and it was working yesterday. Nothing has changed between yesterday and today except for the windows critical updates. Any ideas??

ASP On Win 2003 Server
My window server is going to be upgraded from Win NT 4.0 Server to Win 2003 Server. I don't know if I can put an ASP web application on this new server without any problem. I guess ASP.NET would be better but right now I just have a classic ASP. Can you help me about this? Or any article about this issue would be greatly appreciated.

Slow ASP On Server 2003
I just migrated an NT4.0 website (all ASP) to Windows Server 2003 (small business server - deluxe edition) and some pages are very slow to render on client.

Seems to be pages with tables. I can stop the browser by clicking "X" and the table will be partly rendered. The table only has 26 rows and very little content.

Any ideas why this is happening would be appreciated. I have read of others with the same problem but no solutions.

2003 Server ASP Extensions
I have two servers, both running windows 2003 and both containing the exact same roperties for IIS.I have a set of asp intranet pages that are located inside the
c:inetpubwwwroot est folder.On one of the servers, the asp pages run fine, however on the second server the asp files are not recognised as asp pages. If you double click them, windows pops up a message box stating "Windows cannot open this file".

If I try to view an asp page via the browser, I get page not found.I have IIS installed, and under Web Service Extensions I have allowed every item that can be set.Does anyone know why windows cannot make an association with the asp page?

Cdo Failing On 2003 Server
Just migrating from server 2000 to 2003. cdo was working fine on 2000 but on 2003 I get...

-2147024891 Access is denied.

The code creating the cdo object in in asp/vbs.

Upgrade To Server 2003
When I upgraded to Server 2003, I get this error now in my asp script which
is saving a form to an asp database. Do I need to do something different
now? I have used FP to design my forms, and to do my data results pages. I
am now using sharepoint services also which I was not using previously.

The Include file '../_fpclass/fpdbform.inc' cannot contain '..' to indicate
the parent directory.

800a0e7a Error On Win Server 2003 X64
We have just set up a Windows Server 2003 x64 system for the purposes of being a dedicated web server/media streaming server. Up to this point, we have been using Windows Server 2003 x86 environment and everything is running well.

I have migrated the IIS settings over to the new server and all appears to be going well when tested except that I have now lost all DB connectivity to the 3 small Access databases that I have in the server. All permissions and set ups are the same.

Based on past experience, I thought that it had to do with my Jet 4.0 drivers not being up to date, but a check of those against that on the service pack 8 indicates that my versions are the same as those in that Service pack...but to be sure,

I downloaded the x64 version of the software and the install says that while the version is valid, it is not for the correct machine type ???? So I downloaded the x86 software, and that also did not work (of course). I then checked my Jet 4.0 drivers on my x86 machine...and they are OLDER than the ones on my x64 machine...I am totally confused and do not understand...

Here is the code that I use to call the databases:

strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:Star Thrower Websiteforum.mdb"

Asptear For Microsoft 2003 Server
i want to get some xml files from another server and save them on my local server uising. I first tried to use xmlhttp but I got a connection error. Then i read somewhere about asphttp, installed it but it doesn't work on 2003 server.

ASP Not Running - Sharepoint/Server 2003
Our inter/intranet server has just been upgraded to Windows Serve
2003, IIS6, running Sharepoint.

I cannot now run even a "Hello World" ASP (not aspx/.net) script
although static html displays fine.

We have enabled ASP in IIS/Web Service Extensions but still nothing.
There is no error msg, scripts just do not run. Are there furthe
switches in Sharepoint or IIS that I need to know about ??

Include Virtual Does Not Work On 2003-server?
I have 9 asp-sites on a Win2003 server, and would like to use the same
include file, but it does not work.

The path for the servers default website (which is not where the
problem is) is c:inetpubwwwroot and the rest of the sites are at
c:inetpubwwwrootwebsitesSite1 , ..Site2 etc.

I tried using the following on the secondary sites:
<!--#include virtual="Websites/Include.asp" -->
<!--#include virtual="/Websites/Include.asp" -->
<!--#include file="../Include.asp" -->

All works fine on my development machine (Win2k) and on the server
(Win2003) when it is accessed through the LAN, but when I cut the LAN
and access the server through www (e.g. http://www.site1.dk) it does
not work.

I suspect that the internet user does not have rights to the virtual
path, but how do I solve that?

Problems With Script After Upgrade To 2003 Server
I am currently using the following script on Window 2000 and it works fine. However i am trying migarte the site to Windows 2003 server. I have just about got everything else to work but this one page stops working.

I have checked the obvious, the database is there and that all works as the previous page requires info from it and it works fine. Code:

Windows NT Index Server
I have written a search logic for my website using microsoft indexing
service. I designed it on Windows XP. It works great.

Then i copied that to our Windows NT webserver and it is giving me the
following error

Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
/search.asp, line 25

Line 25 is
Set QueryObj = Server.CreateObject("IXSSO.Query")

Version Of Windows Server
Just starting with ASP but I have to order our server and serversoftware ASAP. Does it matter which version of Windows Server I go for? Our plan is to create serachable catalougue with dinamic pages using ASP VBscript and Microsoft Access. I am guessing it might depend weather we host the site ourselves or use a provider

IIS Server On Windows XP Home
is there a way to install the IIS server on Windows XP home? Like the one you get wih Windows XP Proffesional CD. I have found this website which has a method of doing it, although it says here tha Microsoft says you need Windows XP Professional to install this and that this is only a workaround I wasn't sure if this was true or not.

The main reason I thought of this was because I would have thought Microsoft would have had a file you can download from their website or some thing like that, although I haven't found any other way of doing this yet.

SQL Server Windows Authentication
I have being told my our web developers team that it is not possible to use Windows Authentication on a SQL Server 2000 database and ASP application. That it can only be possible on a ASP.NET. On the other hand thur seraching the web I found out that this task can be accomplished by just turn on Windows Authentication and shut off Anonymous access in your website properties using IIS Manager on the Web server.

Installing IIS Server On Windows Xp Professional
I have a computer where I installed windows xp professional. However, during installation, I did not choose the IIS server component. Now, I need to install the IIS Server.

At the moment, I am not carrying the windows xp CD. Is there any IIS server download for xp available in the web so that I can get a local web server up and running real quick?

Windows Server 2000 Question...
Will CDO work under Windows Server 2000? I'm guessing it will. The problem is that I wrote a nice little ASP app under Windows Server 2003 which works REALLY well. Sends out the email with NO problem. 'Course, it uses an external SMTP server, but I'm assuming this shouldn't matter, right?.

Because when I port it over to Windows Server 2000, it blows right past it. Is there a particular setup procedure that needs to be done for Windows Server 2000 to enable CDO to work properly?


Copyright © 2005-08 www.BigResource.com, All rights reserved