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 > july 2007

Filter by week: 1 2 3 4 5

postback and focus problem
Posted by mr peanut at 7/31/2007 12:00:03 PM
Say I have a textbox (autopostback=true) and a button. I enter a new value in the textbox then - without clicking anywhere else first - I click the button. The box's text isn't changed prior to the button's click so the new data in the box isn't evaluated at the server. The user has to click ...more >>


­»´ä¤@¦W¿D¬w¬Ó®a¾¥º¸¥»²z¤u¤j¾ÇRMITªº¯d¾Ç¥Í,¦W¥s"¼ï³ÍX/Poon Hoi X",
Posted by cancer_taxi_man_1977 NO[at]SPAM hotmail.com at 7/29/2007 6:48:25 PM
rbu05KRAple/RKx3rNOuYb6lurilu7J6pHWkar7HUk1JVKq6r2S+x6XNLKZXpXMivO+zzVgvUG9v biBIb2kgWCIgKGthbnBvb25AaG90bWFpbC5jb20pLAq0TsWqY29tcHV0ZXIgc2NpZW5jZa7JLCCo 4qa4ptKzbqXzpHW1e1uqzqjQXSykzr3QW7pqpOJdpU6o5LC1pHW90qTOptK41SwKpl2qRrWhqMa1 bywgs1G2fbCjvsem7C4gpl605KvhrLCkRqZBq9eo+rFvvsem7MPSrtGlSKtLpHWnQC...more >>

Returning the records before and after a specific record
Posted by Newbie Supreme at 7/29/2007 6:08:52 PM
If this is the wrong group to be posting to, please forgive me. I am working on improving an online store that uses a SQL back end and ASP/vbscript combo for returning returning store items to the web pages. Currently, when a user clicks a category, the asp/vbscript displays 5 records per p...more >>

Question For ASP veterans
Posted by hamiiied NO[at]SPAM gmail.com at 7/29/2007 8:36:53 AM
Hi All ... How can you set asp response cookies to unicode language like chinase, arabic, etc... For your information; response cookies by default is english, if you use it by default it will print any unicode letters to ? quationmark ... Waiting Your Solutions ............ ...more >>

URL rewriting with ASP
Posted by daddywhite at 7/28/2007 5:23:38 AM
I need to rewrite a URL like: FROM: /mypage.asp?my_id=78 TO: /contact-us Where contact us is the name of that page stored ion a database. I can easily use a ISAPI filter to change it to: /page/78/contact-us HOWEVER i do not want the "78" in the URL. The reason for this is that ...more >>

XML Content Type
Posted by Jim at 7/27/2007 7:22:02 AM
Does anyone know why Response.AddHeader "Refresh" does not work when Response.ContentType = "text/xml"? The code is very short: <% Response.ContentType = "text/xml" Response.AddHeader "Refresh", "5;URL=http://localhost/ReturnXML2.asp" %> <CiscoIPPhoneImage> <LocationX>-1</LocationX> ...more >>

errors while connecting to Sql server with DSN connect
Posted by Swagener at 7/27/2007 12:00:00 AM
The aim is to get it working on this machine so I can port everything to a Enterprise Version but can't get around this error for the last two days. Any help is much appreciated, as I am not getting any further with this. Internet Explorer Error: HTTP 500.100 - Internal Server Error - ASP err...more >>

Returning recordsets from a stored procedure
Posted by stjulian at 7/27/2007 12:00:00 AM
(IIS 6.0, SQL Server 2000) I have a block of code that populates a recordset from a stored procedure. The problem is, the recordset seems to be forward only (which would be OK), but can't jump with the "AbsolutePage" property (which isn't OK) How do I define the recordset that will allow thi...more >>



Set File/User Permission with ASP/VBScript to a File
Posted by david.didonato NO[at]SPAM gmail.com at 7/26/2007 2:35:58 PM
hi i would like to add a user and set file permission to a file with ASP. (No component). is that possible ? do you have a link ? an example ? thanks david ...more >>

MSXML2.XMLHTTP.3.0 error
Posted by Dave at 7/26/2007 10:32:21 AM
I am running the following code and I get an error: Set xmlHttp = Server.CreateObject("MSXML2.XMLHTTP.3.0") xmlHttp.Open "Get", URLToRSS, false xmlHttp.Send RSSXML = xmlHttp.ResponseText The error is: msxml3.dll error '800c0005' The system cannot locate the resource specified. It p...more >>

Will ASP 2.0 pages be able to consume webservices
Posted by Microsoft-DayLightSaving at 7/26/2007 2:20:02 AM
Hi all, Could anyone tell me where ASP 2.0 will be able to consume webservices provided by a application running on .Net? our Application is running on IIS 5 thanks Pradeep.V...more >>

Can ASP 2.0 consume webservice
Posted by Microsoft-DayLightSaving at 7/26/2007 2:06:05 AM
Hi all, Could anyone tell us where ASP ver 2.0 will be able to consume websevices which is built on .net framework, ASP 2.0 runs on IIS 5 server. Thanks, Pradeep.V...more >>

Help needed
Posted by suryadevara.srinath NO[at]SPAM gmail.com at 7/25/2007 9:53:57 PM
Hi All, Can any body give me a clear cut idea on HTTP Header CRLF Injection (HTTP Response Splitting) Thanks, Suryadevara ...more >>

Timeout value & session variables
Posted by doug at 7/25/2007 4:20:01 PM
I support several intranet sites one of which had NO STATE. Even though content has ASP extensions, it was all rendered HTML. Site had NO session or application variables being managed. Site had no global.asa. IIS Manager had site timeout set to 20 minutes. We had to add an ASP includ...more >>

ASP FSO File Name Problem
Posted by KEN at 7/25/2007 3:52:14 PM
I have a script that reads a directory and creates a xml doc based on that directory. I just got the file count and walked through it adding lines to the xml. I used While int(filecount) >= b xml_to_silo_string3 = xml_to_silo_string3 & "<FILE" & b &">" xml_to_silo_string3 = xml_to_silo_s...more >>

putting C# classes in App_Code
Posted by accessing C# classes in App_Code at 7/24/2007 1:54:02 PM
I've a simple aspx page whose code behind instantiates a simple class which exists in a .cs file in the App_Code folder of my project. Runs fine in the IDE. When I copy the app to my IIS server I get this error in my browser: Compilation Error Description: An error occurred during the compi...more >>

need help updating mulitple records w/ Checkboxes
Posted by bcap at 7/24/2007 7:28:18 AM
Hello, I really would apprciate help! =) What I want to do is be able to change the status of mulitple records using a drop down and a checkbox. I have a drop down called "ChangeStatus" with the values to change the status to Pending, Accepted, Declined, Cancelled, Completed. In the st...more >>

populate dropdown from sproc
Posted by Mike P at 7/24/2007 6:25:15 AM
I am trying to populate a dropdown from a stored procedure, but I am getting the error 'Object doesn't support this property or method: 'Next' : <!--#include file="include_connection.asp"--> <!--#include file="adovbs.inc"--> <% set objConn = server.createobject("adodb.connection") obj...more >>

Response.Redirect problem to secure server
Posted by Lasse Edsvik at 7/24/2007 12:00:00 AM
Hello I have a strange problem, I'm using Debitech for a system that handles payments. And I have this Response.Redirect(https://long address) that is sent to their server with a long querystring. For some reason Response.Redirect renders a "Page cannot be displayed" error (and no asp-error) ...more >>

Moving from ASP Sessions to Database Sessions
Posted by Bookham Measures at 7/23/2007 4:48:41 PM
Hello We are planning to set-up a load balanced web environment. Accordingly, we are going to change the session management on our website from the classic ASP Session State and session variables, to a database method. Does any one have any pointers as to how I might approach this, so tha...more >>

getting Reffering site info
Posted by TdarTdar at 7/23/2007 11:00:03 AM
Hello, I want to get reffering site info like if the way they got to the site is from google, While that is easy enough, of course, but I want to get that info after they have been on the site for a while, I was thinking that I could get the reffer in the session_onstart event, and make it ...more >>

Strange <table> behaviour
Posted by Francisco Ramos at 7/23/2007 2:32:01 AM
Hello all I'm getting a very strange behaviour with my <table> html elements when designing my aspx. See this screenshot: http://personales.gestion.unican.es/ramosf/strangetables.jpg This screen is formed by several frames. The top table has 2 rows, one being 100% with (correct) and one...more >>

Help needed for ASPUpload - Cannot access Form elements
Posted by Sagar at 7/22/2007 9:51:21 AM
Hi, I wrote this simple code to use the ASPUpload component within my asp page. I have ASPUpload 3.0 installed. The problem is, Iam not able to access the Form collection items with the Uploader object. Can anyone help ? Heres the code. <% Dim Uploader Set Uploader = Server.CreateObject(...more >>

Server Error in '/' Application: Can't find _Default
Posted by Brian Westcott at 7/21/2007 11:16:12 AM
I am trying to test the following simple program on my Web Server and I get the message: Parser Error Message: Could not load type '_Default'. Source Error: Line 1: <%@ Page Language="C#" CodeFile="Default.aspx.cs" Inherits="_Default" %> Line 2: Line The file"default.aspx" is i...more >>

Going back
Posted by terryshamir NO[at]SPAM gmail.com at 7/21/2007 7:35:23 AM
Hi - I'm doing my first ASP project. In my App I present one asp page with parameters for a search (search.asp) - when they do a search the form is posted to another ASP page (displayresults.asp) which displays the results. They then select one of search results and submit to another page. ...more >>

How to form a method to change HTML TD Attributes when passed element ID?
Posted by Shannon at 7/21/2007 5:36:25 AM
Hello, thank you for taking the time to read this. I am totally stumped on this one. I have a ton of TD attributes that have to be changed based on the data in the DB. All TD elements are ID and runat=server. Changing the attributes of a SINGLE TD is simple: <td id=thisTD runat=server>...more >>

How to send email to inbox folder and not to spam, using CDOSYS
Posted by Orgil at 7/19/2007 9:57:47 PM
Hi all, I'm using ASP 3.0 and CDOSYS to send email. After sending to any email-id (someone@yahoo.com ...), the email is in spam folder! how do I send email to inbox folder not to spam? .... Orgil ...more >>

Data size too large in IIS
Posted by IT Manager at 7/18/2007 2:34:01 PM
We are using Windows Server 2003 along with IIS 6. When trying to browse to an ASP page, the following error is returned: Active Server Pages error 'ASP 0107' Data size too large. Size of data being sent in the request is over the allowed limit. The asp page in question is about 5 K...more >>

XML Package and IP Address
Posted by Dave W at 7/18/2007 12:00:00 AM
I have been developing an online payment system using classic ASP which uses Msxml2.ServerXMLHTTP to submit an XML package to a 3rd party payment system. The website the payment system is part of is one of many on a Server 2000 / IIS5.0 installation. Each web site on my server has its own IP ad...more >>

UNICODE
Posted by ManishJain at 7/18/2007 12:00:00 AM
Hello list I want to Use Hindi(Indian Language) in my application How can I do that some one suggested me Unicode but I'm a newbie so please tell me where to start any tutorial would be a great help ...more >>

ASP Function not returning what I want
Posted by Drew at 7/17/2007 4:57:29 PM
I am trying to build a page to generate some random data for a database that I am working on... I thought this would be simple, but it has proven to be more difficult... I am trying to create some functions to build a random date. It keeps returning a string like, "9172006//" instead of "9/17...more >>

Server.CreateObject("Scripting.FileSystemObject") on another serve
Posted by Todd at 7/17/2007 11:36:25 AM
trying to access files located on another server within the network. the folder is shared out and we created a virtual directory as well. The error is Microsoft VBScript runtime error '800a004c' Path not found Here is my code <% dim fs,fo,x set fs=Server.CreateObject("Scripting.FileSys...more >>

Old clunker re-visited: Session_OnEnd in Global.ASA
Posted by Bob Milutinovic at 7/17/2007 12:00:00 AM
Greetings, folks. Through the years there's always been trepidation about relying on the Session_OnEnd routine being fired at the conclusion of a user session, hence my instinctive avoidance of using it in anything I've created. Now comes a time when it'd actually be desirable to use this ...more >>

Sample Code to Read MSMQ queues
Posted by KEN at 7/16/2007 6:14:06 PM
I have created an app in C# that sends xml messages to a client via MSMQ. I have another app that savesthe xml data sent back but I have to post each xml in the messages. Could someone give me some sample code to read each message in a queue and process it. Preferably I would like C# or class...more >>

Ajax
Posted by John Peach at 7/16/2007 3:17:43 PM
Can anyone please advise why this wont work ? The fisrt page of code reads data from a database and populates combobox, depending on the selection made the second combobox can be poputated, but the second procedure (select_via_ajax_include.asp ) does not return the variables in the function ...more >>

ASP -- Server.CreateObject("MSWC.NextLink" problem on Vista with IIS 7
Posted by John Connic at 7/16/2007 10:17:30 AM
Hi All: I just setup a new machine with Vista Business Edition and IIS 7. I had to turn on IIS 7 attributes including the IIS Manager. Not sure what options I needed I turn them all on that even remotely look like I might need them. The IIS Manager looks total foreign to me but eventually I...more >>

URGENT> Starting up a VB application from ASP
Posted by tim at 7/16/2007 12:00:00 AM
Hi all, I want to execute a VB application from a ASP page (not .Net). Want I want to do is that I write some parameters to a database and then start the external application that will pickup these parameters and run in the background. I looked for a sample but I can't find any. Who can help ...more >>

Object reference not set to an instance of an object.
Posted by Ganesan selvaraj at 7/15/2007 8:34:00 PM
Hi We are using .net 1.1 on windows 2003 server. This is we are facing in our production server. When we are doing the load testing we are getting the bellow error. While the load testing this error is not coming frequently. When we run 20 threads for 3 mins we are getting this error mes...more >>

Error 8004020f when using CDOSYS
Posted by Larry D at 7/14/2007 2:07:49 PM
I have a client with a site that users can register at, we collect their emails, if they have one, in an Access db. I have a page that uses CDOSYS to send messages to those emails but I am getting "error '8004020f" when I do this. About 75% of the members have emails so some email fields in th...more >>

How to persist checkbox selections across recordset pages
Posted by Parag Gaikwad at 7/13/2007 9:04:01 AM
Hi All, I have a large recordset to be displayed on a ASP 3.0 page. I am using recordset paging for this. For the next and previous link i am passing href as <a href=<Page URl>?page=<%= iPageCurrent - 1 %> for Previous. Now when i display the contents i also add a checkbox (for deletion) to ...more >>

Hebrew Text from MS ACCESS shows ???? in ASP
Posted by Michael Groysman at 7/13/2007 12:00:00 AM
Hello. I am working in classic asp. Some of the field values inserted in hebrew language(for mutli lang. site). It shows question marks or other symbols inside asp page. I tried different codepage and charset commands but it does not work. Please advise. Michael ...more >>

Make sure first letter is uppercase
Posted by Middletree at 7/12/2007 11:31:56 AM
I want to take a value that users type into a field (actually 2 fields--first and last name) and convert the first letter to Upper Case. I htought I could use UCase, but it seems to only work for an entire string. Anyone got a suggestion? ...more >>

Microsoft.XMLHTTP
Posted by Vanessa at 7/11/2007 10:14:00 PM
I've been searching everywhere online to find an alternative method besides using Microsoft.XMLHTTP (as it freezes the server up alot!!) but with no luck at all. I am using server side ASP, and some said to use Microsoft.ServerXMLHTTP instead. However I have tried that as well and it still...more >>

String functions run on empty string
Posted by Tim Slattery at 7/11/2007 1:55:17 PM
I have a form in which several elements are expected to be all digits. Some of those elements can be left empty, but if specified they must be all digits. I have this Sub to edit them: Sub NumEdit(ByRef Req, ByVal value, ByRef size, ByRef name, ByRef tag) Dim allDigs Set allDigs = new R...more >>

IIS 5.1, ASp.net 2.0 and session state
Posted by abhya at 7/11/2007 1:40:53 AM
HEllo, I hav developed web application using ASP.net 2.0 there are just 2 pages only. Both are works fine in visual studio. But same when i run on IIS 5.1 ....the page without session variable works fine. But the page with...even the Sub() with session variable won't works.....even it automati...more >>

Call an asp page without opening a web Browser.
Posted by Miguel at 7/11/2007 12:22:13 AM
Hello, I need to call an asp twice a day and I want to do it with an scheduled task. The matter is that I want no Internet explorer window to be opened. I do not need to see anything in the page. This ASP page just executes an DB actualization, so it just have to be run. Do you k...more >>

Web page write local application
Posted by Garry at 7/10/2007 6:13:28 PM
I need to build a web site that can automatically download a file from the server to the users local C: drive and then open the file in Word on the local PC) How can I do this ? One way would be to deploy an ActiveX control, or a .NET control, although I dont know how to do this? Any id...more >>

Emailing Form Results in HTML
Posted by Rob at 7/10/2007 10:16:02 AM
Hi, I have a form (it works fine) but what I want to do is email the form exactly as it is with the populated information. In otherwords, I want the email sent to look just like the form that was filled out. I was able to get it close but the problem I am having is that the form has a table...more >>

How to display the text using the response from the Radio button i
Posted by manju1234 at 7/10/2007 5:48:03 AM
Hi, I need to write a code where if the user selects a radio button depending on that i need to display the text. can any one tell me how i can do this ? Thanks in adavnce...more >>

Don't submit form on Enter button
Posted by MichaelK at 7/9/2007 4:59:35 PM
Who knows how to prevent submitting a form on the press Enter button before all fields on the form are filled up. People just enter the first field hit Enter and it submits the form and doing validation, of course flushing with the bunch of messages because rest of the fields are empty. I re...more >>


DevelopmentNow Blog