Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
all groups > inetserver asp general > june 2005 > threads for june 1 - 7, 2005

Filter by week: 1 2 3 4 5

ENCTYPE and Response.Form.Item(...) conflict?
Posted by nick at 6/7/2005 10:01:01 PM
I have an simple ASP form and I am using the following statement to get the values: emailFrom = Request.Form.Item("ctrl:EmailFrom") emailTo = Request.Form.Item("ctrl:EmailTo") However, after I added attribute ENCTYPE="multipart/form-data" to the HTML tag <Form> for uploading files (not im...more >>


Checking for missing DB table
Posted by Pietro at 6/7/2005 5:40:20 PM
How can I check if a table exists in a DB with ASP/VBscript? Thanks in advance. ...more >>

Detecting Firefox with request.servervariables("HTTP_USER_AGENT")
Posted by Sharon at 6/7/2005 2:08:55 PM
Can I use request.servervariables("HTTP_USER_AGENT") to determine if the user has Firefox or Internet Explorer? Is the return string differentiated enough? Thanks for any input. ...more >>

Booking form with calendar capabilities...
Posted by Abs at 6/7/2005 12:35:07 PM
Hi, I'm looking for a ASP form with calendar (and emailing) capabilities built into it. Does anyone know of some good ones? It does not have to be free. Thanks in advance!! ...more >>

Help with Quotes
Posted by scott at 6/7/2005 11:13:24 AM
Can someone help me my quotes in LISTING 2 below? LISTING 1 works fine in HTML, but I'm having trouble with quotes in LISTING 2 near the javascript code when trying to response write the entire button code. LISTING 1: HTML <INPUT TYPE=BUTTON VALUE="<< Previous <%=iMaxRecords%> Records" ...more >>

BinaryRead Error after upgrade
Posted by Davie at 6/7/2005 10:25:17 AM
I had an ASP page which implemented a file upload feature. However, after moving this application from NT4 to Windows 2003 I receive an error which is caused by the Request.BinaryRead read. The error says this operation in not allowed. Anyone any idea, I presume it will be an IIS setting, bu...more >>

How Do I Find How Many Occurrences of ";" there are in a value?
Posted by MSUTech at 6/7/2005 6:28:04 AM
Hello, I am working on an asp page.. I would like to find out how many semi-colons exist in a request variable. I thought I could use something like INSTR, but, that just tells me WHERE the first occurrence is. Is there another way to find out HOW MANY occurrences there are within an enti...more >>

Proxy cached our website
Posted by shaopu NO[at]SPAM learningedvantage.com at 6/7/2005 2:53:56 AM
We encountered a very strange problem. We host a web site: www.[our_site].com and a large number of our users belong to an organization group with central network control and they can only access our web site through two headquarter proxy servers: x.x.a.7 and x.x.b.8, which was set in security d...more >>



Server.HTMLDecode
Posted by b.Wurm at 6/7/2005 12:00:00 AM
how can I write a server.htmlDecode function? thank you ...more >>

Simple username checking
Posted by nix at 6/7/2005 12:00:00 AM
Hi I want to create a simple user validation script without using a database. Let's say I have a text file in my asp folder with a list of valid usernames. How can i do something like the following using ASP? // IN: sUsername try AUsernameList:=TStringlist.create; try AUse...more >>

Passing Value (All records)
Posted by TNG at 6/6/2005 7:46:46 PM
Hi, IS it possible to pass a value in an URL to get all records ? something like file.asp?item=selection&lang=% where % represent all records ? Regards TNG (Classic ASP / SQL Server 2000 / IIS 6) ...more >>

Session Variables
Posted by James at 6/6/2005 4:55:51 PM
We have different types of logins for our accounts on our intranet. When a person logs in, a Session variable is set to determine their level of access. For sake of argument, say the two LoginTypes are Manager and Employee. When I log in (as a Manager), I get a certain set of options on the ...more >>

Stop caching
Posted by ZagrebMike at 6/6/2005 9:36:03 AM
On our (intranet) web site we have an ASP page that runs a report which serves up the results in a dynamic Excel file (i.e it specifies Response.ContentType = "application/vnd.ms-excel"). This works fine for most people. One user is having a problem, though: she generates the report once, ...more >>

Line Break in SQL Value
Posted by James at 6/6/2005 9:32:30 AM
We've built a page that allows users to enter items that will ultimately become a list. One particular user enters them into the textarea on the page and for some reason always puts a hard return into the textarea before she submits. This goes into SQL as a line break and it's screwing up how ...more >>

SP OUTPUT VALUE PROBLEM
Posted by Savas Ates at 6/6/2005 12:00:00 AM
ERROR Error Type: ADODB.Command (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are line : .Parameters.Append .CreateParameter("@inparm", adInteger, adParamInput) MYPROC IS CREATE PROCEDURE st_myProc @inparm INT , @outparm INT OUTPUT AS SET @outp...more >>

Error in Connect Access Database
Posted by Thomas Tsang at 6/6/2005 12:00:00 AM
I am using ASP + IIS + MS access, when running the following codes: set Conn=Server.CREATEOBJECT("ADODB.CONNECTION") conn.open "DRIVER={Microsoft Access Driver (*.mdb)}; " & Server.MapPath("db.mdb") The following erorr is show: General error Unable to open registry key 'Temporary (volatil...more >>

Creating sub-recordsets
Posted by Giles at 6/5/2005 10:55:27 PM
How do I create a recordset from another? e.g. sSQL1="SELECT * FROM ThisTable" rs1.open sSQL1,conn sSQL2="Select * from (rs1?) WHERE name='fred' " rs2.open sSQL2,conn TIA Giles ...more >>

Email Blasts to registered members on a site
Posted by tanya at 6/5/2005 10:03:20 PM
HI, I am trying to send out email blasts to over 6000 users of a website (Not Spam) However when I try it with the following script, it crashes at times and sends it through at times. I need a more reliable way of sending out emails to a large number and this is the mail feature of the websi...more >>

CDOSYS with SBS 2003
Posted by tp at 6/5/2005 3:18:02 PM
HI..... I have made simpale web site inside that i am generating email page which send form as email. i have setup small business server with Exchange server 2003 and i have hosted my website with this server. i can not generate email using following code while same code working with ...more >>

How do I set the default command button?
Posted by John Svercek at 6/5/2005 1:09:02 PM
On an aspx page, I notice when the page opens there is no default command button (press enter & nothing happens). However, once I set the focus on a text field one of the command buttons becomes the default (press enter & the command button is executed). How do I define which button should be...more >>

Problem with IIS and asp.net
Posted by Gary at 6/5/2005 10:56:56 AM
Hi, When I attempt to create a new project "asp.net web application" in Visual Basic.net, I get this message: "Web server reported following error when attempting to create or open the web project located at following URL: HTTP://LocalHost/webapplication1. HTTP/ 1-1 500 server error" ...more >>

ASP and Oracle
Posted by Soha at 6/5/2005 3:23:25 AM
I'm building a website using the oracle database engine. i'm conneting to the database using the odbc. the database is created on a webserver. when i'm using the odbc on my local workstation the connection works. but when i'm trying to publish the site i receive the following error: Microsoft OL...more >>

asp running program with wscript.shell
Posted by bbxrider at 6/4/2005 3:54:15 PM
for win2k adv server/iis5.0 trying to run an external program from my asp routine that has multiple parameters, see following set shell = server.createobject("wscript.shell") shell.Run """f:\phsData\htmldoc\htmldoc.exe"" --webpage -f phsnew.pdf phsnew.htm" program either doesn't get invoke...more >>

Sessions & Cookies
Posted by Ik Ben Het at 6/4/2005 12:11:30 PM
Hello, I posted a simular question in the "IIS Security" group but it think it is more usefull to post it here. I want to do something very simpel. Make a part of my website available only for users with a username and password. The site is mainly ASP based. The webserver is an IIS6 and...more >>

RESULTSET PROBLEM
Posted by Savas Ates at 6/3/2005 7:48:52 PM
I have a stored procedure below.. When I run it with a well parameter in query analyser 3 of select statements return me. (i named select statements 1,2,3) But in asp page when i call this procedure same as query analyser it returns me 2 select statements value? what is the problem ? CRE...more >>

Prepared statements in ASP
Posted by No one at 6/3/2005 7:25:46 PM
I am trying to create a prepared statement in ASP, but am having problems with creating the parameter object. I do the following Set fnParam = peopleUpdate.CreateParameter("@firstname", adVarChar, adParamInput, 50, peopleSourceRS("firstname")) But this gives the following error on the br...more >>

Counting the number of downloads
Posted by Luc Dal at 6/3/2005 12:38:19 PM
Hello On a site, I've documents that can be downloaded. To fill the html page, I read a table in an access database and I write my code Each document has a title, an url, an id and a variable "counter" How can I increment the counter (in the database) and open the docuemnt in the same oper...more >>

ASP Syntax Question??
Posted by Patty-O at 6/3/2005 12:08:06 PM
Good day, I'm very new to ASP and programming in general and I'm not sure if this is the correct place for this question so I offer my apologies in advance. I'm creating a press release page with Dreamweaver in ASP for a client. I've created a small Access database to contain the informati...more >>

Problem retrieving value via Request.Form
Posted by Chico at 6/3/2005 9:16:22 AM
Hi, I have the following code in my form: Response.Write("<form name='Testing'>"); Response.Write("<INPUT type=hidden id='Testing_txtbox' name='Testing_txtbox' value='a simple test'>"); Response.Write("</form>"); If I type the following in the very next line, I get a value of "undefined...more >>

USA time distance and map search script
Posted by Benny at 6/3/2005 8:04:17 AM
Hi All, In an application I write, I need to have some mapping service, where I can select two locations, which shall calculate the distance and mainly the time(could be approximate) to travel from one place to another. Is there any ASP scripts or DLLs(APIs) provided or sold by any third pa...more >>

ASP upload over slow network
Posted by EKT32 at 6/3/2005 2:02:01 AM
Hi, I'm facing problem with file upload over a slow network. Whenever I tried uploading a file that exceeds 3Kb, the browser will freeze for a few minutes before I get the "page over found" error. I've tried different ASP upload solutions, including 1 from ABCupload, Smartupload and ASPupl...more >>

Capturing simultaneous user login.
Posted by ashutosh.bhardwaj1980 NO[at]SPAM gmail.com at 6/2/2005 10:25:00 PM
Hi, I amdeveloping a web site in ASP and it is a secure site. I would like someone to help me on this: -->i dont want 2 users to accesss my site with the same username parallely. --> Also how can I capture window.close event in my application and then call a asp script in that function. ...more >>

How Do I send the current form as e-mail
Posted by Kassam at 6/2/2005 12:53:18 PM
Hi MVPs out there. I have constructed an order form and the users will enter the informtion. I now need to send the filled out form as an e-mail (body being the HTML with the fille din data) to a predefined e-mail address. I know how to use CDO. I don't want to go to another page to recontr...more >>

newbie question - select/option
Posted by please-answer-here at 6/2/2005 11:19:51 AM
Is he following possible in any combination of asp / javascript. The number of options and the values of the options should be dependable of a checkbox other place in the form ...more >>

ASP and SQL
Posted by Athmaus at 6/2/2005 8:01:03 AM
I have this login script for a certain portion of our website for a while, and have around ~7500 users in a database that the script accesses. I added two new columns in this table, the reason for this is because i found a new trick for adding more security for the section of the site that ...more >>

ASP page and 302 HTTP Status Code in IIS Log
Posted by probashi at 6/2/2005 7:35:52 AM
Hi, I have an ASP page that inserts a record into database. Some times I find that multiple records are being inserted (with same data) in to database. I checked IIS log and found the following: Test.asp 302 0 0 917 7266 HTTP/1.1 ... Test.asp 401 5 4692 1834 0 HTTP/1.1 ... Test.asp 302 0...more >>

Pass array via SOAP from asp page to dotnet webservice
Posted by Jon Maz at 6/2/2005 12:00:00 AM
Hi, I am trying to pass an array from an asp page (JScript) to a dotnet web service using the SOAP Toolkit 3.0. This is still at the Hello World stage, as you can see: WEB SERVICE METHOD [WebMethod] public string AcceptArray(object[] parameters) { return "no error!!!"; } Ca...more >>

VB6 Activex .DLL for IIS
Posted by Al at 6/2/2005 12:00:00 AM
Does any one know a way how to use a visual basic 6 written activex .DLL without registering it with classic .ASP? Reason why my hosting is charging me for registering .DLL. TIA. ...more >>

Insert into SQL Server issue
Posted by JP SIngh at 6/2/2005 12:00:00 AM
I am having problems inserting data into a simple table Insert into Forums (Title, PageUrl, ContractId) Values ('54249', 'test01.asp',54249) Microsoft OLE DB Provider for SQL Server error '80040e2f' Cannot insert the value NULL into column 'ForumID', table 'LegalOnline.dbo.Forums'; column d...more >>

Create PDF from HTML on the fly ?
Posted by Joel at 6/2/2005 12:00:00 AM
Hello, I use ASP on a website and i'd like to create PDF files from HTML pages that are on the website. Which free software or component can i use to do this ? Thanx a lot ! ...more >>

err.raise
Posted by abcd at 6/1/2005 1:45:14 PM
I have a VB compoonent I am using err.raise err.number, err.source, err.description my ASP page doesnt show me the error raised....its shows err.number = 0 any clues ...more >>

<link> don't match the css file
Posted by HernĂ¡n Castelo at 6/1/2005 11:04:04 AM
hi i'm trying to do : <link rel="stylesheet" type="text/css" href="myurl..../inc/css/style.css"/> from the url field of the browser i can normally open the "style.css" with notepad but thru the <link> tag, IIS don't match the file ?? should i add some configuration to run CSS ? i'm using ...more >>

error 91
Posted by abcd at 6/1/2005 9:52:31 AM
I am using asp page and a VB component VB component has a simple method which inserts a record into Access databse like Dim conn As New ADODB.Connection Dim cmd As New ADODB.Command conn.Open strDSN Set cmd.ActiveConnection = conn cmd.CommandType = adCmdText strQuery = "Insert into T...more >>

cdoSendUsingPort vs cdoSendUsingPickup
Posted by Andy at 6/1/2005 4:27:24 AM
aspfaq.com Article 2305 "Why does CDO.Message give me 8004020F errors?" recommends "using a SendUsing value of 1 (pickup) instead of 2 (port)" to try and resolve 8004020F CDO.Message errors. But when should we use cdoSendUsingPort and when should we use cdoSendUsingPickup? Is one better...more >>

ActiveXObject problem - WScript.Shell on Windows 2003 Server
Posted by Marcin Zmyslowski at 6/1/2005 2:58:27 AM
Hello all! I have installed MSDE on my local computer - Windows 2000 Professional. I have created a function which runs me a link whose path is placed in the input field. This function looks like this: function runCommand(zmienna) { if (zmienna==-1) { var oShell = new ActiveXOb...more >>

IE Display gibberish if i am going to a specific page first!!!
Posted by Julia at 6/1/2005 12:00:00 AM
Hi, I have an ASP page which display a record from access data base. The record is not changed Sometime IE display hebrew letters as gibberish and some time not!!! it seems that if i am going to my login page and than go the the second page i get gibberish I dont know what to do. ...more >>


DevelopmentNow Blog