Undeterministic Asp Failure
I use an asp page to upload a word document to the web
server (with Soft Artisans SA file-up), but sometimes it
doesn't respond, seems to return with a zero sized answer.
I use IIS 6 on Windows 2003 Server and I use this machine
as a client too. The communication goes throught ssl
channel, HTTPS by certificates. If I use Windows 2000 as a
client from another place (that case there is a firewall
between the client and the server) sometimes the same
incident happens, but the Internet Explorer shows
the "Cannot find server or DNS error" message instead of
the blank
response. The problem happens independly of the parameters
which I fill in the form and independly of the file what I
choose. Sometimes the document uploads and sometimes not
with the same parameters. I cannot define the cause
exactly .
View Replies
ADVERTISEMENT
I have an Intranet-based app at work, and I have it in two places there: a
dev machine and a production box. In both cases, the ASP files and SQL
Server 2000 database are on the same box. I have it running smoothly in both
places at work.
However, I've been trying to set it up at home, and cannot make the SQL
Server connection work for some reason. I've been working on this off and on
for weeks, and I just don't get what I am missing. Code:
View Replies
View Related
error '80004005'
Unspecified error
when sending an attachment, how do i debug this?
i found out that by default, ASP apps can only access files that are on the computerthat the server runs on. how can i change this so the IIS will take the files off the client's computer?
View Replies
View Related
With the following code snippet:
<%="complexid =" & rsComplex("ComplexID")%>
<% rsPhoto.filter = "complexID =" & rsComplex("ComplexID") %>
<%response.Write("<br>ID: " & rsPhoto("complexID"))%>
I get an 80020009 error on the last line.
The first line appears in the HTML output as complex=589, so I know
that there is a valid value available for the filter.
This worked once and hasn't worked since.
The rsPhoto recordset is viewable in a seperate page. The complexID in
the associated table has a value of 561 in the complexID column.
View Replies
View Related
I am trying to do a very simple piece of asp on a w2k3 server on the company intranet where i work (using IIS 6) the code is simply trying to get an xml stream via a ServerHTTPRequest.
The code I have works absolutely fine, I have tested it on a free asp friendly server on the net and it does exactly what i want it to! however when I run the code on the company intranet I get hit with the following problem.... Code:
View Replies
View Related
I've create a custom com object and I use it as follow:
set test = Server.CreateObject(myObject.classID)
' --> all OK the istance of the object is correctly created
retval = test.function1(par1, par2 ...)
' --> as soon as I call every function of my com object the system returns
the following error: 0x8000FFFF: catastrophic failure.
I do not know why
View Replies
View Related
to some mail accounts, I can't send mails to them?Whoes fault is this?
the part of code is as follows.
<%
set mail=server.CreateObject("cdonts.newmail")
mail.To=aaa@aaa.com
mail.From="system@aaa.com"
mail.Subject=today & " New Messages"
mail.Body="<html><body><a href='http://admin_main.asp'>go message
board</a></body></html>"
mail.MailFormat=0
mail.BodyFormat=0
mail.Send
set mail=nothing
%>
View Replies
View Related
Is there any way to check that database connection has been established or not ( ASP connection with oracle)
am using this connection
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Provider=MSDASQL;DRIVER={Microsoft ODBC for ORACLE};UID=nnn;PWD=nnn;Server=yyy"
View Replies
View Related
i have a variable called newvalue1 which contains a date such as
newvalue1 = request.form("tf1")
where tf1 is the date sent from the previous page in the format 4/5/2005
now when i give the following statement it gives an error
objrs.find ("date") < newvalue1
"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another."
also if i give:
objrs.find ("date") = newvalue1
i get a " type Mismatch" error
any thing wrong?
View Replies
View Related
I use the method below to send emails from an asp page that's part of a
web application:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<%
On error Resume Next
Dim cdoConfig, cdoMessage
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = 2
.Item(cdoSMTPServer) = "MailServer.Name.com"
.Item(cdoSMTPServerPort) = 25
.Update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "Me<mailsender@mymail.com>"
.To = "You<mailrecipient@somemail.com>"
.Subject = "Surprise!"
.TextBody = "Helloooo..."
.Send
If err.number Then
Response.Write("Houston! We have a problem...")
End If
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>
On the production server (Windows 2003 Server) everything works fine
and I don't have a problem sending the mails from the application.
However, I recently upgraded my development box to Windows XP Pro SP2
and the code fails with with the following error:
CDO.Message.1 (0x80040213)
The transport failed to connect to the server.
The from and to email addresses that I'm using are valid and part of my
domain (not a Hotmail or other freemail address).
The SMTP service is up and running on the dev box.
I also tried replacing the mail server name with the IP address of the
mail server, but again it's failing.
We are running Exchange Server for email and if I change the
cdoSendUsingMethod to 3 (for cdoSendUsingExchange) the mail is sent
correctly without errors.
Will I not able to use the cdoSendUsingPort method to send the email if
I'm on Exchange? Am I forced to use cdoSendUsingExchange?
View Replies
View Related
Anyone got much of a clue how best to send emails to selected people from a database table and to be able to track them, maybe as much as a read receipt, or perhaps just checking that they don't bounce, or end up in the bad mail folder.
Is this best/possible to try and code or is there a free/cheap component that does this simply.
View Replies
View Related
I'm having a bit of trouble with an ASP form that I'm maintaining. Someone else wrote it and I'm new to CDO objects. I have a CDO.Message and a CDO.Configuration.
I set up the configuraton fields for the port and smtp server's ip address to be used. The configuration property of the message is set to be the new configuration object.
Then there's a ton of stuff appending bits and pieces to the text body.
Finally we have the message's Send method being called. That's where it breaks.
It seemed to just stop working one day. When I submit the form, the message returned is simply:
error '8004020f'
I know from the MSDN website that this error code means 'Failure in obtaining user token.' What I don't know is how to fix it!
View Replies
View Related