Hi,
I am running a classic ASP website where my online users can attach files to the internal message system. But whenever they upload an attachment with more then 3 characters in the fil extension, the server gives me a 404?
Files like mypicture.jpg works fine, but files like mydocument.docx doesn't work?
Any suggestions?
Best regar...
Hi there,
I am trying to create a menu using ASP (I have never used ASP before, im a PHP man) using values stored in a database.
basically the html layout i want is as such:
<ul>
<li>
<ul class="sub-menu">
<li class="sub-menu-li">Test</li>
</ul>
</li>
</ul>
I need to loop around the root menu items rs("AD_Level") which is e...
Here is an extract from the XML:
<?xml version="1.0" encoding="utf-8"?>
<usa_map_locator>
<map_data>
<state>
<id>2</id>
<link/>
</state>
<state>
<id>3</id>
<link/>
</state>
</map_data>
</usa_map_locator>
I need to assign a value to the link node for state 2 (or 3 or 4 or 5 and so on)...
How can I show an nvarchar column that stores unicode data (Entered with the zawgyi1 font) in a classic ASP web page?
When I retrieve and write the value to the page, it shows "?????". I set my ASP page's content type of UTF-8 with the following meta tag:
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
Unfortunat...
Hi all,
OK, I'm at my wits end. This seems like it should be a completely trivial thing to do, yet after an hour I still just cannot make it work.
I'm trying to get a list of time zones from the Campaign Monitor API; unfortunately the page I need to do this in is written in classic ASP/Javascript so I can't just use the API wrapper.
I...
I have a classic ASP page that submits back to itself. Strangely, the values being returned from the selects have commas being added to the ends of them. Has anyone run into anything like this before? Any troubleshooting steps or tools recommended?
I'm expecting the values to be returned just as numbers - they are the IDs of the values ...
Hi,
I am displaying data in a web report from table using Recordset.
This works fine upto 5000 records but fails while more then 5000 records.
Recordset.Fields.Count gives Zero (0).
Please let suggest me any alternative.
Thank you
Sugam
...
I'm using the ASP Classic ReadLine() function of the File System Object. All has been working great until someone made their import file on a Mac in TextEdit. The line endings aren't the same, and ReadLine() reads in the entire file, not just 1 line at a time.
Is there a standard way of handling this? Some sort of page directive, or ...
Is there ASP code which can retrieve the users current language? In javascript I know this works...
if (navigator.appName == 'Netscape')
var language = navigator.language;
else
var language = navigator.userLanguage;
But is there an equivalent for ASP/VBScript?
...
I have a Classic-ASP application running in IIS 7 (integrated mode) that needs to call a .NET library that was properly registered as COM.
Everything seems to work find, but I cannot debug the library even if i put several breakpoints in it. The VS debugger seems to step over without breaking.
This is my ASP code:
Dim sso: Set sso = S...
I'm wondering if it possible to register assemblies with COM without having to register it with the GAC. We need to deploy some .net libraries that are exposed to classic asp using a CCW. But deployments are a nightmare.
...
I have a configuration file that i would like to update with classic asp.
Lets say the conf file looks like this:
[Parameters]
param1 = 'foo'
param2 = 'boo'
param3 = 'moo'
param4 = 'choo'
What I would like to do is write a script to change param2 and param4 to have different.
As I am not all that great with asp, I was wondering what...
Hi all, I am writing a small application in Classic ASP. I have a page which has a form, which posts to a second page. Included with the form's POST, are file uploads, hence the need for a POST method.
The second page though is NOT seeing ANY of the fields being sent by the first page. Calling either Request("param") or Request.Form("...
Let say i have querry structured like below which indicates dates
search.asp?date=091210
I want to find each record that includes "0912" string how can i inquire it on the link structure.
...
Hi,
Using VBScript with ASP I am trying to set up an HTTP GET Request which will visit a page which in turn generates a line of ASCII (non-HTML). I then want to extrapolate that ASCII line which will have 4 values delimited by semicolons back into 4 variables in my original ASP page so that I can take those values and do something with ...
I've got an ASP page that I've converted from frames to scrollable divs, but when I post back to the page I lose the position in the scrollable div. The users want me to return back to frames if I can't solve the problem with DIVS.Any ideas? I'm using classic asp.
...
Hi,
I have some ASP (Classic) code that queries a SQL 2005 Express database. I'm currently handling programmatically if this DB goes down by handling the error when someone tries to connect and can't. I capture the error and bypass subsequent db queries to this database using a session variable.
My problem is that this first query take...
I understand that if the all the inputs being entered as a, b, and c and all the checkbox are checked then the output would look like this.
response.write( request.form("a1") ) = a, b, c
response.write( request.form("chk") ) = 1, 1, 1
Is there a way to determined if the corresponding input text checkbox is checked if not all checkbox ...
I have seen a couple of instances now where some legacy code I'm working on exhibits what seems buggy behovior and I wonder if I just don't understand something.
rsCaspio.Open sql, dbCaspio, ,adLockReadOnly
response.write(rsCaspio("fieldname") & "<BR>")
response.write(rsCaspio("fieldname") & "<BR>")
It will write the contents th...
Hi guys,
is there any possiblity to get multiline string in classic asp (I think vbscript is the language)?
I want a multiline string like in python or groovy:
def str = """hello
I am a
multiline
string"""
I searched a lot but didn't find a solution.
Workarounds are welcome too.
BTW: I had in javascript the same problem and solved ...