all groups > inetserver asp general > february 2007
Filter by week: 1 2 3 4
Request.ServerVariables("SERVER_NAME") is only returning IP
Posted by E L at 2/28/2007 1:50:22 PM
We have the Request.ServerVariables("SERVER_NAME") used in a classic ASP
page using IIS 6.
It used to return our website name: www.xxx.name.this when using IIS 5,
now it is returning the IP address when we type the full www. url.
How can I fix this behavior?
*** Sent via Developersdex htt... more >>
Hidden data in hyperlink
Posted by David at 2/28/2007 3:51:00 AM
Hi,
I have a set of asp hyperlinklinks on my asp pages which direct the
user to specific products.
i.e. the link jumps to ....../product.asp?product=productA&ID=1
is there anyway to still carry over the ID, but hide it from the link,
so that visitors will only see
/product.asp?product... more >>
Opening a aspx page withing a aspx page
Posted by Kevin Humphreys at 2/27/2007 6:40:46 PM
Hi There,
I have an asp.net page that I would like to open up another asp.net page
within the first one. Like a parent - child relationship.
I need to display a graph in the child on the parent.
Best Regards,
Kevin.
... more >>
Displaying XML in ASP
Posted by lejason NO[at]SPAM gmail.com at 2/27/2007 1:32:20 PM
I am having trouble with a really simple problem! haha. How do you
display that data from on xml file. Here is my xml file called
"test.xml"
<?xml version="1.0" encoding="iso-8859-1"?>
<test>
<person>
<name>Jason</name>
<color>blue</color>
<number>16</number>
</person>
<person>
<name... more >>
Classic asp and IIS 6.0
Posted by anon at 2/27/2007 7:51:20 AM
In our application we need to increase the session timeout to 2 hours when
the user requests a certain page.
We use the following code to do that.
Session.Timeout = 120
This works fine on IIS 5.0.
After we moved the application to IIS 6.0 the session timeout does increase
when the page in ... more >>
Populate Dynamic dropdown box
Posted by Simon Gare at 2/26/2007 9:15:15 PM
Hi,
have form on asp page that recalls data from the recordset and populates all
the fields except the dynamic dropdown box that doesn't, just shows default
value. How do I make it populate based on the entry in the db?
Regards
Simon
--
Simon Gare
The Gare Group Limited
website: ... more >>
Autofill field based on entry in another
Posted by Simon Gare at 2/26/2007 9:14:38 PM
Hi,
have form on asp page with an email address field, when the user enters
their email address I want it to populate another field automatically on the
same page, some kind of OnBlur event. Have worked extensively with dropdown
OnChange events but cant get my head around this one.
Regards
... more >>
How would you face this problem?
Posted by MarcoG at 2/26/2007 3:02:29 PM
Hi,
I have an online application (written in .asp) that requires a login to be
accessed and used. I have a login.asp page that asks for username and
password, looks up in a MS SQL db if a combination of those
username/password is available and, if so, sets a session variable and goes
to home... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Syntax Error in SQL Update Statement
Posted by Maximus at 2/26/2007 11:15:56 AM
Can some one help me with finding the error is this statement?
strSQL_Update = "UPDATE tblWJS_SuperInput SET JobNumber= '"&
strJobNumber &"', " _
& "WeekendingDate = '"& strWeekEndingDate &"', "_
& "CurrentHours = '"& strCurrentHours &"', "_
& "CurrentHoursTaping = '"& strCurrentH... more >>
MS SQL Database access
Posted by Lubomir at 2/26/2007 10:51:43 AM
Hi,
I am learning how to access MS SQL database from ASP.NET and run into 2
problems:
1/
When a user from asp page is connected to database, I can not connect to the
database from windows management console. My database was created as local.
Could be this be a problem?
Is it preferab... more >>
If record exists if not Insert
Posted by Matt at 2/26/2007 9:00:33 AM
I need some guidance on how to handle an issue. I have an .asp page
that correctly queries a table and returns data if a 'job number' and
week ending date exist and the user can update the information that is
there. What I need to do is, if a record does not exist the page
needs to create one ... more >>
view content of remote folder
Posted by Marco Firenze at 2/25/2007 2:43:45 PM
Hi to everyone
this is my problem :
I have a dynamic SELECT code like this
<select name="risposta1" id="risposta1" >
<% Set file1 = CreateObject("Scripting.FileSystemObject")
Set file2 = file1.GetFolder(server.mappath("myfolder/"))
Set file3 = file2.Files
For Each file in file3 %>
... more >>
Setting a default option for a comb box
Posted by Doogie at 2/25/2007 10:47:47 AM
I posted this question a few days ago but I think that post is drying
up and I still do not have an answer. I need to set a default option
for a combo box that is not the first item in that combo box. Below
is an example. I can put the code below into a simple HTML file and
it works fine. It... more >>
Using wildcard w/Access database
Posted by Dave at 2/25/2007 10:22:02 AM
[I posted this in the Access forum but the more I think of it, it's probably
more of an ADO issue since I can get it to work in Access but not ASP 30.]
I need to filter an Access 2000 result set in ASP 30 using the ADO
recordset.filter.
I build the filter in pieces. The first clause of th... more >>
Data Type Mismatch
Posted by Matt at 2/24/2007 11:23:33 AM
can anyone help with why this is returning a Data Type mismatch error?
dim strTestDate, strJobNumber
strTestDate = "3/8/2007"
strJobNumber = Request.QueryString("JobNumber")
strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=\
\CALSJ1\PMAPPS\Intranet\pmdata.mdb"
Set conn = Ser... more >>
Date question
Posted by Matt at 2/24/2007 10:18:38 AM
I have a form field area that I need to always have display the
upcoming thursday date. ie. this week I would need the form field
area to display 3/1/2007. Then beginning on the Friday 3/2/07 i need
it start displaying 3/8/2007. any suggestions..
... more >>
Data not visible ASP VBScript & SQL
Posted by Simon Gare at 2/23/2007 7:46:38 PM
Hi all,
Some pages wont display dynamic data from the SQL DB unless the data is in a
certain order, when I move the dynamic element up the page it becomes
visible.
Does the layout in the SQL DB determine the layout on the page?
Regards
--
Simon Gare
The Gare Group Limited
web... more >>
Default value for combo box
Posted by Doogie at 2/23/2007 3:50:10 PM
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file
examples before (and works if I put it in a HTML file by itself, but
not if I use it in a ASP 3.0 app.
<select name="cboCompany" style="text-align:right; font-si... more >>
OnClick Submit & Fresh
Posted by Matt at 2/23/2007 2:41:04 PM
I have an ASP page that once a user puts a check in form field
checkbox I would like to have the the record updated and the page
refreshed? Any suggestions on how to handle this? This is currently
what I have for my checkbox:
Response.Write "<td valign=middle align=left><input type=checkbox
... more >>
Classic ASP - Custom Login Page - Redirects to Windows Auth websit
Posted by Parag Gaikwad at 2/23/2007 8:09:00 AM
Hi All,
We have a requirement where we have to develop a custom Login Page which
will accept user's NT credentials ( Username , password, domain name).
This then needs to be passed to a website which uses Windows Authentication
Now my question is how do we pass these credentials to IIS in ... more >>
Updating Records in two tables
Posted by Matt at 2/22/2007 4:40:23 PM
Using ASP and Access is it possible for me to update recordsets in two
different tables from data collection in one page? Basically, I need
user input on 1 page that contains multiple form field areas and upon
submit it updates the records in two different tables. Any advice,
direction, or sug... more >>
Create a combo box in ASP 3.0
Posted by Doogie at 2/22/2007 3:11:34 PM
How is this done? I want to take a text box that is in a grid and
make it a combo box: Here is what the first part of the HTML looks
like now:
<input type="text" name="txt_SERVICE_SN"
onkeypress="filterNonNumeric()" size="5" maxlength="3"
style="text-align:right"
onchange="fieldEdited(t... more >>
Daylight Savings Time?
Posted by J at 2/22/2007 10:36:38 AM
Hello. Our webserver is running Windows 2000 Server iis5 and was wondering
if anyone knew if the new Daylight Savings Time rule will affect any classic
..asp pages? I think I'm mainly concerned with the date functions like
DateDiff() or Now() that is used in these classic .asp pages that our... more >>
Codepage problem
Posted by ssijakovic NO[at]SPAM gmail.com at 2/22/2007 6:07:48 AM
Hi,
I don't know where to ask this question, and I hope this is the right
group for this.
I've made one ASP+Access site. On that site I have few parts where
it's grabbing data from the database, and shows only those that match
particular query. When it's open, url looks something
like: ...da... more >>
javascript and email (part 2)
Posted by rvj at 2/21/2007 8:08:54 PM
Ive come a cross another issue when trying to convert CDO VB to JS
The basic send generated the SendUsing configuration is invalid which I
understand means I have to specify the smpt server (amongst other
things)using the configuration object
**********************************
Set obj... more >>
OracleClient Pooled connection
Posted by DSISupport at 2/21/2007 11:33:35 AM
I have an ASP.NET application runinng on IIS 5 .NET 1.1 Sp1 and recently
we've been experiencing this error when the users are trying to print reports
that connects to Oracle database. The only way to solve the issue right now
is to restart the server or IIS and this is the error message:
--... more >>
Weekend dates
Posted by Joey Martin at 2/21/2007 9:53:25 AM
I have a sql database and ASP pages.
How do I find out the DATES of THIS WEEKEND (fri-sun).
If today is Tuesday, I want to show information posted for THIS WEEKEND.
My table has a field called THEDATE which is what we need to search and
in the format MM/DD/YYYY.
Thanks!
*** Sen... more >>
HTML Coding query
Posted by telsave at 2/21/2007 9:37:16 AM
Hi Hope someone out there can help me. I have just developed my first
WEB page to sell an ebook I have written. I have of course included a
squeeze page to capture details but what I am looking for is the
coding I can put into the squeeze page so that if someone leaves my
site by clicking the li... more >>
ASP 0115
Posted by Balaji at 2/20/2007 9:51:05 PM
Hi All,
For past 4 years the application is running perfectly (Windows 2003 Server).
suddenly it throws the error from last month, the error is
Provider error '80020005'
Type Mismatch
\default.asp line 90
Active Server Pages error Asp '0115'
Unexpected Error
\Index.asp
A trappable err... more >>
Classic ASP and IIS 7
Posted by Marc Llenas at 2/20/2007 5:42:47 PM
Hi all,
I'm migrating a classic ASP site from IIS 6 to IIS 7 and I'm finding some
minor problems that I'm assuming are IIS 7 config related.
The problem I'm concerned with right now is that when I run the asp pages,
they have lost all their image and CSS links.
Functionality is fine (th... more >>
can an event be controled in classical ASP?
Posted by c676228 at 2/20/2007 11:28:20 AM
Hi all,
I guess this probably a very silly question. I am not sure if this can be
done in classical asp. A button has to be clicked if a selection in drop
down list has been changed. If not, a pop up message pops and reminds the
user you need to click the button before continue. Can this be ... more >>
asp error
Posted by Pepper at 2/20/2007 11:06:46 AM
Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/gsic_completion/lib/utility.ASP, line 75
The call to Server.CreateObject failed while checking permissions. Access is
denied to this object.
... more >>
ASP upload fails when files dimensions exceed 3MB. Why ?
Posted by Newcomsas at 2/20/2007 7:39:57 AM
Hello.
I'm experiecing a problem with file uploads from ASP pages.
On a Windows 2000 - IIS 5 server we're running an ASP Classic
application that features an upload form for files of great dimensions
(100+MB). Problem is, when we try to upload a file exceeding 3MB we
retive almost immediatl... more >>
How to change the names of types in the wdsl generated by
Posted by Peter Rayment at 2/20/2007 1:09:35 AM
Hi
I have the following class:
namespace CSWWebServices
{
public class HistoryField<T>
{
private T m_name;
private string m_value = string.Empty;
public T Name
{
get { return m_name; }
set { m_name = value; }
}... more >>
Asp with linux
Posted by mido1971 at 2/19/2007 3:51:25 AM
Hi,
Can i use web developer asp to create web sit for linux serves . if yes how
can i do it thanks for help... more >>
Building an INSERT statement in ASP 30
Posted by Dave at 2/18/2007 11:42:25 PM
I have an old web app that ues an Access database and ASP 3.0.
I need to build an INSERT statement based on the contents of a form.
What is the best way to handle blank text boxes that are submitted with the
form?
For example, I collect all my name/value pairs that are submitted with the ... more >>
Is there a way to force a post without using submit button?
Posted by JimO at 2/18/2007 3:19:26 PM
Is there a way to force a post without using submit button?
Thanks,
Jim
... more >>
database connection
Posted by SOC at 2/17/2007 8:01:52 PM
I am familiar with connecting asp pages to sql server when both servers are
on a LAN.
Can anyone advise on how to connect when the servers are remote from each
other?
Thanks Soc.
... more >>
FTP Question
Posted by SteveT at 2/17/2007 9:46:29 AM
OK I know this question doesn't belong here but there are a lot more
knowledgeable people on this forum and since most of us use FTP to transfer
our ASP files and we are concerned about security I am hoping someone has
done this before.
I want to change my FTP port number. It works internally ... more >>
Syntax Error in IF statement
Posted by Nate at 2/17/2007 6:20:48 AM
I am trying to use the following IF statement, and whenever I use a
single or double quote, I receive a syntax error. When using no
quotes, the syntax is accepted, but the statement does not perform
properly.
***The problem line***
<% if violation_type=''Tardy'' THEN %>
***rest of the statem... more >>
HELP: IIS6 pernamently caches XSL uri and won't change!! woes ...
Posted by Andrew Wan at 2/16/2007 8:23:02 PM
Okay, this is really weird. We have two Windows 2003 Server SP1 PCs. One
hosts IIS6 website, and the other hosts our DCOM service program. Our
website is ASP/XSL. An ASP page uses Msxml2.DOMDocument.4.0 to transform a
XML top node via XSL stylesheet outputting to HTML. We have set up the
web... more >>
CDONTS
Posted by SimonW at 2/16/2007 9:08:25 AM
Platform WinSVR 2003 IIS 6
Having installed and registered CDONTS.dll in \system32, I am still
experiencing the following error message when runnng the intranet web site.
(And my boss is getting edgy with me)
============================
Processing..........
Microsoft VBScript runt... more >>
Response.AddHeader problem when using Javascript as the server-side scripting language
Posted by Andyza at 2/16/2007 4:43:21 AM
With reference to the ASPFAQ 2161 article -
http://classicasp.aspfaq.com/general/how-do-i-prompt-a-save-as-dialog-for-an-accepted-mime-type.html
Does the 'Content-Disposition' code work if the user is using
JAVASCRIPT as the SERVER SIDE scripting language, i.e.:
<%@LANGUAGE=JAVASCRIPT%>
I... more >>
MSXML2.ServerXMLHTTP works only with text files?
Posted by lopi at 2/16/2007 2:42:48 AM
Hello.
I'm trying to remotely get a pdf file - http://remoteServer/file.pdf -
in order to store it into another server, maybe with
Scripting.FileSystemObject
However the following code doesn't work properly:
------------
url = "http://remoteServer/file.pdf"
set xmlhttp = CreateObject(... more >>
include file outside web site
Posted by SteveT at 2/15/2007 7:00:18 PM
Is it possible to have an include file that resides outside of the web site
parent folder?
For instance, lets say you have several websites under
Inetpub/global/websites/ but the include file is in Inetpub/inc/
I get a file not found error trying file/virtual starting with the root and
even usi... more >>
Store Dictionary Object in Session not working
Posted by J055 at 2/15/2007 4:18:31 PM
HI
Can someone tell me what is wrong with this? The first 'if' condition works
but the 'else' condition seems to get the right Count but the contents of
the key and items are lost.
Set dic_qs = CreateObject("Scripting.Dictionary")
If Request.QueryString("new") = "1" Then
Set Session... more >>
nightmare with ASP, IIS6 & VC6 PSDK
Posted by Andrew Wan at 2/15/2007 3:10:40 PM
I have been having a nightmare with ASP/ASP.NET & IIS6.
We use Msxml2.DOMDocument.4.0 object to create a XML object in ASP. The
Msxml2.DOMDocument.4.0 is from the Windows Platform SDK Feb 2003 (the last
version compatible with VC6). Then we use
TranslateXSLT(XMLDocument.transformNode) passing ... more >>
Problem creating a web app in ASP
Posted by BigAl at 2/15/2007 10:55:11 AM
Can anyone help me? Here's the error: Unable to create WebApplication1. The
file path: 'C\inetpub\wwwroot\webapplication1' does not correspond to
Http://localhost/webapplication1.....access denied
It seems like the inetpub\wwwroot path is not mapping to the localhost
location correctly.
... more >>
ServerVariable Caching
Posted by rclowser at 2/15/2007 8:37:02 AM
Everyone,
I don't know if I'm putting this in the right group or not (sorry). I'm
developing a website, using ASP VBScript, and I'm using
Response.ServerVariable("cert_subject") to get information about the client's
certificate (smart card). But this variable is cached, the user can take the
... more >>
Debugger getting confused - any suggestions?
Posted by Griff at 2/15/2007 12:00:00 AM
Hi - I have completely rebuilt my PC from scratch and it's running XPsp2 and
VS2003 sp1.
Sometimes when I run my ASP code (this is CLASSIC asp by the way) through
the VS2003 debugger, I get the following error message (the following is an
example):
---------------
Microsoft VBScript compi... more >>
|