i just found a solution to one of the wierdest bug i have ever seen and i am still trying to find the reason ...
i got a old CMs in Classic ASP. in the editor page theres a javascript changing an image property
function removeimg(objimg){
objimg.onclick = "";
objimg.src = "/Logiciel/_Altitude_image/interface/Gestion_acces/space...
I am scraping some information from a 10 year old website that was built in ASP using Frontpage(originally) and Dreamweaver(lately). I am using PHP.
I am getting back strings with whitespace that is not spaces. Using the PHP trim function, some of the white space is removed but not all.
original string: string(47) " School Calendar"
...
Hi there,
I have a single Classic ASP page that I wish to display a search form and the associated results.
When a user first comes to this page, I want to display a search form and the 10 latest properties. If a user decides to use the search form to retrieve more relevant properties, then i want the default 10 latest properties to be...
Working in ASP classic (not .NET) is frustrating. I really need a define statement akin to the define statements in C, C++. Is this possible?
...
I am trying to consume a WCF logging service from classic ASP without deploy a Com wrapper. I found a method of doing so here. Here is the vb script, simplified.
Dim addr
addr = "service:mexAddress=""net.pipe://localhost/Services/Logging/LoggingManager/Mex""," _
& "address=""net.pipe://localhost/Services/Logging/LoggingManager/classic...
I couldn't find much documentation on the web
so far now, the obvious difference seems to be that you cant mix html and vbscript using the "script" tag
for example, this is ok
<% public sub display_literal() %>
literal
script language="vbscript" runat="server">
public sub display_literal2()
response.write "literal2</br>"
end su...
I am working on a ASP application and the code, template and files are organized in a way that does not allow me to alter anything outside the body tag. So I am thinking about inserting the meta tags inside the body -- like this:
<!-- FEW ASP INCLUDES -->
<html>
<head>
<!-- FALLBACK TITLE AND DESCRIPTION -->
<title>Default T...
Hey everyone,
I've never developed in ASP in my life, but a client wants some additional functionality in one of his really terrible ASP programs extended. I've tried to pick up as much as I can in a short period of time, but I'm running into a mystery bug here.
When I unit-test this code on my local system, it works fine. On their w...
I have classic ASP running on IIS 7.
Even though I configured the ASP "Debugging Properties" to "Send Errors to Browser = True", the web app REFUSES to send errors to the browser and continues to send a 500 internal server error.
My browser has "Show Friendly HTTP Error Messages" unchecked.
Failed Request Tracing is installed (not...
We have a website that uses classic asp.
Part of our release process substitures values in a file and we found a bug in it where it will write the file out as UTF8.
This then causes our application to start spitting out garbage. Apostrophes get returned as some encoded characters.
If we then go an remove the BOM that says this file is...
How can I return a specific http status code from an asp classic?
...
I have a recordset that contains all of the data needed to import into an Excel file. Is there a way I can clone my live recordset into the one created when I open an Excel file?
Here is what I'm trying right now with no luck.
Dim connection : Set connection = Server.CreateObject("ADODB.Connection")
connection.Open "Driver={Microsoft ...
Hi there,
I have a single Classic ASP page that I wish to display a search form and the associated results.
When a user first comes to this page, I want to display a search form and the 10 latest properties. If a user decides to use the search form to retrieve more relevant properties, then i want the default 10 latest properties to be...
I have 2 collections of asp files that are auto generated by a job. Collection 1 has a virtual path of "/collection1/" and collection 2 has a virtual path of "/collection2/". Both collections have the same asp code:
<!-- #include file="../SSI/Template.inc" -->
Inside Template.inc I have some typical html templating. However, I'd li...
How would I go about creating a HTTP request with POST data in classic asp (not .net)? Google hasn't been much help
...
I want to send a mail but it gives me a the following error
Paragraph is too large
i want to know that what is the maximum length of a mail while sending in asp vbscript
...
Hi there,
I have an Classic ASP page that lets users search for properties and a results page that then emails the property agents who have matching properties to let them know that there are tenants interested in their properties.
Some agents may have more than 1 property, in which case the agent only needs to receive 1 email rather t...
I have an Classic ASP page that lets users search for properties and a results page that then emails the property agents who have matching properties to let them know that there are tenants interested in their properties.
Some agents may have more than 1 property, in which case the agent only needs to receive 1 email rather than an emai...
Note: I couldn't decide whether this was more appropriate for Stack Overflow or Serverfault, so if you have some insight into that, let me know.
Background: Recently, my server (Windows 2000, MS SQL 2005, IIS 5.0, ASP Classic) experienced a spike in traffic to a specific set of ASP pages. This spike caused a massive drain on the process...
Hi,
how to implement url rewriting in classic ASP
thanks,
Aaryan
...