Test If A Host Supports Collaborative Data Objects
Is there a way to test if a host supports Collaborative Data Objects like
Server.CreateObject("CDONTS.NewMail")
something like phpinfo to show the servers ASP setup? which components are installed etc? i've got a form mail script im testing that seems to parse ok (no errors),but am not receiving the email at any of the recipient addresses im sending it to.
I am building a shopping cart where orders are send by email. Even though it says it's sent, I receive nothing. So I did a test script to send an email using CDO since we are using an exchange server for email and it's on the same network as the site. Code:
I've made a feedback form for my website, but I'm struggling to find a hoster that it works on! All those which I have tried so far support ASP, but not CDONTS.
I have just uploaded my asp pages online and set permissions to to read write and execute but i am still having trouble, it displays this message.You are not authorized to view this page The URL you attempted to reach has an ISAPI or CGI application installed that verifies user credentials before proceeding. This application cannot verify your credentials. Please try the following: Contact the Web site administrator if you believe you should be able to view this directory or page. Click the Refresh button to try again with different credentials. HTTP Error 401.5 - Unauthorized: Authorization failed by an ISAPI/CGI application. Internet Information Services (IIS)
We've had a Fasthosts reseller account for quite a few years now and have been relatively happy until now.Unfortunately they've started to push out MySQL DBs (I think 4.2.x or 5)that don't work very well with classic ASP and basically said you can b*$£*"s if it don't work with your apps.
In which case, we do not wish to pander to the FHosts machine anymore and are looking for a new host.Bearing in mind what the Windows based FHosts reseller account can provide,can anybody suggest a better host?
Please note we were stung badly by 2 'from the attic' ISPs before so wedon't want to go down that route anymore.
Is it possible to host ASP (not .net) to host on Linux,( hopefully yes then whats required extra on Linux). If some one know any issues related to that or any reference site hosting ASP on linux.
is anybody know how to capture lan id(localhost id ) address in lan. u can check the same under dos using command ipconfig. but i am not geting the same id using bewlo code
I recently moved all my files and db to a new host. I cannot get the site to function properly. The site appears to be pointing to an old test template my programmer set up, and not my index page. I have lost my programmer, and I don't know ASP at all.
I haven't ever used ASP on a web host but will most likely be shortly with a members area and was just wondering if someone could answer these questions. Do I have to have the ASP files in a certain file and with the database?
Do I only need to have the asp files or do I need a file like adojavas.inc like if I am using in on my local computer with a web server?
I'm trying to obtain the IP of the hosts connected to my webserver.
Code:
<% on error resume next
'trying to obtain host IP ip = request.servervariables("remote_addr") response.write "IP addr: " & ip & " --- " ip = request.servervariables("remote_host") response.write "IP host: " & ip %>
If I use the above script, it shows me the IP of my ISP webproxy, not mine.
I am writing a website in asp for a take out restaurant. Customers can place order from their website. What I want to do is, print out the order form from the restaurant's printer when an order is placed, so none is required to manually print out the order list. Is it possible and how??
I'm sending emails to a database of 2000 people (that will be double that in the future). My web-host provides ASPQmail. I have to send the emails out in groups of only a few hundred at a time to avoid the page timing out (I have set the timeout value to a very high value). Once in a while it seems as if either the SMTP server or the web server is running slowly and I can't get it to send even a few without timeout problems. I never get the log file showing anything.
Is there a better web-host situation and email/SMTP I should look for? Do I need a dedicated server? Any suggestions as to how to go about a bulk email scenario? At least when I do have problems I would like to know which clients received their mailing and which ones didn't.
..Error Type: Active Server Pages, ASP 0134 (0x80004005) The object has an invalid ProgID of 'MSWC.MyInfo'. //global.asa, line 1
This error comes after on Page not Found error after entering http://localhost .I have done all the localhost not found suggestions in the localhost not found thread. I also looked up the error in the knowledge base and the Anonymous login was not checked for the localstart.asp file. I also ping 127.0.0.1 just fine.
I have been using the ShellApplication object in an ASP script to retrieve some file characteristics that the FileSystem object does not access (this is one of my clients' sites on a commercial host, running IIS 6.0).
The script ran perfectly for about 6 months, then began returning "Microsoft VBScript runtime error '800a01a8' Object required". The code had not been changed. The script doesn't produce an error on the creation of the object, but at the first use of it.
The hosting company rebooted the server and it again worked fine, but then failed again.
The hosting Co's attitude is "you are the only client using this object and the only client affected by it failing - find a different way to do what you want to do"
My contention is that they started/stopped doing something that has caused this to fail and just don't want to be bothered researching/fixing it (I use the object with no problems on several other hosts).
Can anyone shed some light? Is there a known problem with the object or something known to cause it to fail?
I download an application from a 3rd party for a forum that uses Microsoft Access. When I try to log in, I keep getting an error about the database being read only. I go to the hard drive and right click and uncheck "Read Only" but it never works, I've done this on the database file, the directory it is in, the parent directory, the wwwroot directory, the Inetpub directory.
I get the new window to open but it also affects the "host" window. The "host" window is left with the word "[object]" in it. If I refresh the window that says [object] the new window opens again. Why and how can I make the new window open without affecting the previous one?
When I use a host file entry to point to the host header of the site that I have created on a Win2k server running IIS5, a cookie is not created to hold the session id. The result is that Session_OnStart is run every time a page is requested.
If I set up a DNS entry on the DNS server it all works fine.
I never noticed this problem before we put in Active Directory so it may have something to do with that.
I have set "allow per session cookies" to promt(under Custom Secrity settings in IE) to see if this is being attempted and it is not. So the browser is not even trying to create the session cookie when using the host file.
I have two .aspx web pages. The first one has a form with ASP textboxes, validation controls, an a submit button which calls an event handler using VB to insert data into an Access database then redirect to the second page.
Both pages work fine on my local host computer (IIS). But on my remote host, when I click the submit button, it just sits there and does nothing. When I remove the validation controls, the event handler works fine.
How can I get the validation controls to work on the remote server?
I've just been caught out by a host that doesn't support #includes in my ASPs. What's the best strategy for replacing these calls to files that include everything from subs and functions, global constants, other #includes, script directives, etc.??
I have always used this in ASP to test if the client is accepting cookies:
<%@language="VBScript"%> <% Session ("nc") = 1 If Len(Session("nc")) = 0 Then 'Cookies Off Else 'Cookies On End If %>
But I only ever tested it in Microsoft Internet Explorer 6 though not sure. Anyway with Microsoft Internet Explorer 5.5 SP2 Len(Session("nc")) <> 0 always whether cookies are on or off. Can anyone suggest a better cookie test that will work in most browsers?
I have a PC running Win XP Home and want to learn how to write ASPs. In order to test them I think I need a web server installed on my PC. Since I don't believe IIS can be run under Win XP Home I downloaded and installed the Apache web server. I'm stuck at this point and would appreciate opinions on whether I am on the right track, and, if so, advice on the following. 1. Having written a test asp page how do I use Apache to test it? 2. Can Apache handle VBScript on an ASP page? From the info on the Apache web site I don't think it can.
iam making asp test engin and i dont want the user to use the keyboard so is there a way to disable the keyboard of the computer that have the exam on ? its not a website world wide. i will make it on my room computers. is it possible ?
The current code (see below) works. But, I wonder if there's better way to test if a node object has something or not.
<% ... ' want to find if /Root/Node's id attribute is 1, ' if yes: get its child node <num> Dim nodeA : Set nodeA = xmlDoc.selectSingleNode("/Root/Node[@id='1']/num") ' test if nodeA have something If TypeName(nodeA) = "Nothing" Then ' -- NO: nodeA has nothing Else ' -- TypeName is "IXMLDOMElement" ' -- YES: nodeA has something End If ... %>
I have tried other functions, such as IsEmpty(), IsNull(), IsObject(): none can get the result I wanted.