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 > march 2006

Filter by week: 1 2 3 4 5

ASP and Session Variables
Posted by Bill at 3/31/2006 11:22:23 PM
I've noticed that in my ASP application that session variables are not carried over from one IE6 open browser window to another. Can anyone tell me how IE can do this? It seems like it's a useful protection mechanism that I can add to my application. BTW, I'm looking for a way to determine i...more >>

Simple anonymous access question
Posted by rolfejr NO[at]SPAM gmail.com at 3/31/2006 1:58:55 PM
I have what I think is a simple question but I am finding nothing but complicated answers. I have a web site running on IIS6. One directory used to use an alternate account as the anonymous user (not the IUSR_ServerName account) to connect to a database, etc. Now the pages in that directory...more >>

How do I set the authentication mode to Windows in asp?
Posted by jannordgreen NO[at]SPAM gmail.com at 3/31/2006 11:08:12 AM
I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server. I believe the reason is that the instruction <authentication mode="Windows" /> is missing. In asp.net I would put this instructio...more >>

No submit returned in IE form
Posted by Roger Withnell at 3/31/2006 12:00:00 AM
With the simple form: <form action="<%= Request.ServerVariables("SCRIPT_NAME")%>" method="post" name="form1"> <input type="text" name="text1"> <input type="Submit" name="Submit" value="Submit"> </form> If I click Submit it posts "text1=&Submit=Submit". If I select text1 a...more >>

Passing a Variable from one web site to another for ASP
Posted by James Robertson at 3/30/2006 3:29:01 PM
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on the WEB site to mail to passing a variable from the WEB site to the ASPX web site to E-Mail to? Hope I...more >>

asp/sql
Posted by Jeff at 3/30/2006 12:18:41 PM
In my asp script, i am using sql to get a sum. I understand if the row doesn't contain a value, it is skipped. But the problem i am running into is if there isn't a row that meets the criteria at all. i have this set wins8 = conn.execute("select sum(wins1) as wins_8 from matches_8ball wh...more >>

Install of IIS 6.0 Renders Web Site Unusable
Posted by RitaG at 3/30/2006 11:25:40 AM
Hello. I have a Web based application that worked with IIS 5.0. Our server recently had to be rebuilt and IIS 6.0 was installed. Since then I cannot get my application to run. I get "The Page Cannot Be Found" error message. Working with IIS 5.0 my default.htm file was in C:\Inetpub\wwwRoot...more >>

Opening Drop Down lists
Posted by Tony Scott at 3/30/2006 9:37:01 AM
I have a SELECT element on my asp that is autopopulated from a search button. Currently, the user inputs the saecrh term, clicks the button and the drop down is populated from the DB. The user then select from the list. Everything simple thus far. Now I have been asked if I can get the drop d...more >>



textbox.text Property
Posted by DCSTech at 3/30/2006 8:06:01 AM
On my webpage I have a textbox. I would like to be able to change the text in the textbox and via a pushbutton have the value in the textbox written to the .text property so that next time the page is viewed the new value will be displayed. Thanks for any help...more >>

Save all values from a form
Posted by Sanjay at 3/29/2006 7:23:33 PM
Hi, Is it possible to save all the names/values of a form to another memo textfield before a Insert to the database then when required on another page split that memo textfield into the name and their corresponding values retrieved from the recordset ? Thanks, Sanj ...more >>

access.mdb data connectivity
Posted by Hugh Welford at 3/29/2006 3:15:14 PM
Hi - using asp to connect to ACCESS data bases on-line. Does ACCESS or a server behave like ACCESS on a local machine? - in particular are there the same query performance advantages in applying indexes to certain table fields? Thanks Hugh ...more >>

ASP rookie trying to make registration page
Posted by GabrielESandoval NO[at]SPAM gmail.com at 3/29/2006 12:26:29 PM
I need to make a registration page for a community service volleyball tournament our organization is doing. I am VERY NEW to ASP. Would the easiest way to make it be just doing it on frontpage (where i just lay out the form and save it as an .ASP file) and then changing the form properties so...more >>

escaping characters
Posted by Mike P at 3/29/2006 6:49:57 AM
I need to put the following code within a <% %> block : response.write "<tr>" &_ "<td bgcolor=eeeeee><a href=""company.asp?company=rs("companyKey")" & "orderby=name"">"&naym&"</a></td>" How do I escape the characters " etc? *** Sent via Developersdex http://www.developersdex.com **...more >>

how to display a BSTR string returned by c++ component in HTML
Posted by babu17 at 3/29/2006 2:32:13 AM
hi, i have an asp page which creates a object using server.createobject and uses its method. example: set obj1= server.createobject("test.test") ' test is a dll tmp = obj1.method() ' it returns a BSTR string. i want to display tmp in HTML. when i tried to print tmp like <font><%=tmp%...more >>

output format
Posted by kalikoi NO[at]SPAM gmail.com at 3/29/2006 2:25:08 AM
Hi I got a string as follows str= -0.1400,0.2910,-0.2742,-0.2904,0.1087,0.0323,-0.1355,-0.1221,-0.2164,-0.2128#0.0834,-0.4026,-0.2563,-0.0145,-0.3120,-0.2324,-0.1320,-0.0246,-0.1383,-0.1964#0.0711,-0.1743,-0.0128,0.0122,-0.1154,-0.1392,-0.1910,0.0543,-0.0450,-0.0685 i need a code in asp...more >>

Connect to SQLServer 2005 on different server
Posted by BenM at 3/28/2006 3:27:01 PM
I have to connect to two SQLServers in my script. One server is local, the other is remote. I am using ODBC for the local connection: pasConnStr = "Driver={SQL Server};" & _ "Server=(local);" & _ "DataBase=PAS" And I have tried various connections to the remote ...more >>

Streaming file to user: 'File could not be opened'
Posted by CJM at 3/28/2006 3:19:44 PM
[Apologies for previous half-post: I regularly mistype some kind of key combo that submits the post] I have a page on our intranet that is supposed to stream an Excel sheet to the user. I'm using pretty standard code: sFilePath = sFileDir & sFilename Response.AddHeader "content-dispositi...more >>

Stream file to user:
Posted by CJM at 3/28/2006 3:09:57 PM
I have a page on our intranet that is supposed to stream an Excel sheet to the user. I'm using pretty standard code: ...more >>

file system object doesn't work in virtual path?
Posted by mbosco51 NO[at]SPAM hotmail.com at 3/28/2006 1:42:28 PM
Hi. I have a virtual path setup in order to give my web server access to a file on my app server. I am using the file system object to check for the existance of the file and if it exists, it has to validate the file date. The problem is I can't seem to find the file. I can successfully che...more >>

Progress bar in asp while file is downloading
Posted by shil at 3/28/2006 11:39:07 AM
Users can view mpeg movies from my website. When users who don't have DSL, it takes longer time to launch windows media player and play the movie. There is no indication to the users that file download is going on. To them it appears hung. Is there any way to show progress bar on the page whil...more >>

SQL question....
Posted by fuelvolts NO[at]SPAM gmail.com at 3/28/2006 7:46:34 AM
Website in question: http://econweb.tamu.edu/graduate-beta2.asp?yr=0 I want to show all of our Ph.D. students in multiple tables according to years of experience. Right now the code I have only shows the last group since it is the last call to the database in the code (there are 4 others befo...more >>

DropDownList Control Functionality
Posted by Matt at 3/28/2006 7:39:04 AM
Hi. I'm using VS2005 and working with the Dropdownlist control on an ASP page. My dropdownlist has several thousand items, all integers, ranging from 1000 to 80000 (these represent different company acocunts). With that many items, I would like the user to be able to not only choose from th...more >>

asp program trying to open ms access 97 database on network fails
Posted by jannordgreen NO[at]SPAM gmail.com at 3/28/2006 4:37:10 AM
I try to run http://localhost/scroller/scrollertest.asp in my IE 6 browser. The asp program tries to connect to a MS Access 97 database. The program works when the database is sitting on any local drive, but when I put it on a network drive I get this error message: Error Type: Microsoft...more >>

xml object
Posted by J.D. at 3/27/2006 11:11:34 PM
I have an xml data that I want to store in a database. I want the following fields 1. Account-id 2. order-number 3. first-name 4. last-name 5. address-line 6. address-line-2 7 city 8, state 9 postal-code 10 total-points-spent 11 the list of items that were purchased which are in the se...more >>

Using treeview.htc results in DLL initialization error
Posted by itmanager at 3/27/2006 7:38:01 PM
We are using Microsoft's treeview.htc control to display a tree control in our .NET application. When displaying the tree, the browser returns the error: Dynamic Link Library (DLL) initialization routine failed pointing to the following line in treeview.htc: if(oItem.filters.length>0)...more >>

Modify asp page according to Monitor resolution.
Posted by Sivaswami Jeganathan at 3/27/2006 7:20:49 PM
Hi I created an asp page it looks different when looked from an 1024x768 than it looked on 800x600 resolution. how to control this any idea ??? -- Sivaswami Jeganathan ...more >>

Setting Dropdown list on Page Load
Posted by jeffmagill NO[at]SPAM gmail.com at 3/27/2006 11:15:57 AM
Hello everyone, I have what I thought was a simple script but I cant figure it out. Anyway, I want to set the selected item of a drop down list with information i am recieving from request.querystring. Seems like this is a case of when learning asp.net first is a hindrance to what i want to d...more >>

Open Excel File with ASP
Posted by jnb0012 NO[at]SPAM unt.edu at 3/27/2006 10:50:26 AM
I am creating a webpage and have a form where a visitor will choose a day, month, and year. I want to pass the data from the form into an asp page which will process it and put it into a string and open the excel file requested. The excel file to open will depend on the day, month, and year ch...more >>

ASP CDOSYS SMTP Email attachments are being corrupted
Posted by rschaeferhig at 3/27/2006 9:38:02 AM
I have an ASP page that uses CDOSYS to send a simple HTML format email with a PDF attachment. When I open the PDF attached to the email it shows up as a blank page. I log into the web server console and open the same PDF in the source directory and it opens fine. I run a binary comparison of t...more >>

asp cade breakpoints does not stop code execution
Posted by Rea at 3/27/2006 8:37:01 AM
Hi eb I set some 'Stop' statements and also visual breakpoints in asp code (vbscript). I am doing that in Microsoft Script debugger. Than I refresh the original page and expect execution to halt at these breakpoints but unfortunatly it does not.. I had allowed script debugging in both iis home...more >>

How to encrypt an asp file source code?
Posted by iweb at 3/27/2006 7:24:58 AM
Hi, we have an Enterprise Application on ASP and MS SQL 2000. Would like to know if I can convert the asp app to an exe or encrypt / encode / hide the source code so that no one accessing the server can touch / modify / copy the same! Kind Regards, Akshay Shah Mumbai, INDIA....more >>

Very slow to load .asp website
Posted by sommes at 3/27/2006 1:30:36 AM
It's only happen on .asp website, what's the problem? Thank you ...more >>

Using the Response object to download files
Posted by Roger Withnell at 3/26/2006 11:11:42 PM
I'm using the Response object download files from an SQL Server table to the client browser. Having set the content type and AddHeader, I use Response.Write and the file opens in the browser. How do I get the ubiquitous panel, Open or Save this file to appear so the use has this choice? ...more >>

ASP to Word
Posted by Joe at 3/26/2006 7:45:14 PM
SGkuDQoNCkknbSB1c2luZyBBU1AgdG8gcHVsbCBpbmZvIGZyb20gYSBkYXRhYmFzZSBhbmQgb3Bl biBpdCBpbiBXb3JkLiAgRXZlcnl0aGluZyB3b3JrcyBmaW5lIGJ1dCBJIHdhbnQgdG8gc3BlY2lm eSB0aGUgcGFwZXIgc2l6ZSB0byBiZSBMZWdhbC4gIElzIHRoaXMgcG9zc2libGUgb3IgYW0gSSBz dHVjayB3aXRoIExldHRlciBzaXplPw0KDQpUaGFua3MNCg0KSm9l ...more >>

base64 image embedded in xml return document, how to extract?
Posted by Chris at 3/26/2006 4:29:18 AM
If this is not the right place to post, please someone direct me to the correct place. I'm having problems extracting the binary data that's included in an xml response back from a server. It's an embedded PDF file that's been base64 encoded. I've got it narrowed down to to a single node ...more >>

Re: Setting option value to session var
Posted by Mark J. McGinty at 3/25/2006 11:35:25 PM
"Dave Anderson" <GTSPXOESSGOQ@spammotel.com> wrote in message news:u8XvQieTGHA.5172@TK2MSFTNGP12.phx.gbl... > Mark J. McGinty wrote: >>>> Thank you Evertjan! I'll give it a try. How about clearing >>>> the form field values, any ideas on that? >>> >>> "form field values" are a clientside con...more >>

ICS not working
Posted by Dhamziel at 3/24/2006 11:28:25 PM
Hello, I would like to apologize if thread does not belong here, but I dont see where else I could post this. I get my internet connetion from a friend's router, so I already have my IP, subnet mask, default gateway, dns; on my xp pro computer: IP 192.168.abc.def Subnet Mask ...more >>

ASP, Javascript and parsing
Posted by Martin Walke at 3/24/2006 2:51:01 PM
Hi all, Can someone help me out here? I'm been using ASP and VBScript for some years but have just ventured into the realms of using server side Javascript and apart from hitting various niggerly problems, this one baffles me. This is a very simplistic example of the problem. <%@ Langua...more >>

CreateTextFile Excel file formetting problem
Posted by clemorama NO[at]SPAM yahoo.com at 3/24/2006 11:25:43 AM
Hi All, I am having problems with serving an excel file to client web browsers. I am creating a tab delimited .xls from a recordset. Below is the .asp code. Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open strConn Set objRS = Server.CreateObject("ADODB.Recordset") strSQL =...more >>

Message Box At Any Time
Posted by Ben at 3/24/2006 10:28:02 AM
Hello, I am trying to convert a windows app to a web app and I have come accross a problem I was hoping someone could help with. Im creating a page where the user inputs some values and presses 'submit'. I have the code done for the click even of the submit button, however I need to cre...more >>

how to send email from an asp page ?
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
how to send email from an asp page ? -- Sivaswami Jeganathan ...more >>

write from FLASH SFW file to ACCESS via ASP
Posted by aa at 3/24/2006 12:00:00 AM
Is it possible to write from FLASH SFW file to ACCESS via ASP as they write to MySQL via PHP ? ...more >>

how to use logout button in asp
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
Hi I am having 3 asp (not ASP.NET ) page handling sessions. i have a button in the 2nd and 3rd page for logout. how to logout of the given page . -- Sivaswami Jeganathan ...more >>

how to handle more than one submit buttons
Posted by Sivaswami Jeganathan at 3/24/2006 12:00:00 AM
how to handle more than one submit button's request in an asp page. ie........ multiple web pages are leading to a single asp page atlast. i want to distinguish between the web pages that are posting. -- Sivaswami Jeganathan ...more >>

How can I copy files to a web folder using ASP+VBSCRIPT
Posted by Julien at 3/23/2006 12:49:30 PM
Hello, I have some files located in a file server and managed by a SQL database from a web based interface using ASP + VBSCRIPT technology. I need to automatically copy those files to a web folder. I that possible? Thanks. ...more >>

Option Explicit causing VBScript error
Posted by John Kotuby at 3/23/2006 10:59:25 AM
Hi all, I am simply trying to include the Option Explicit declaration at the top of an ASP page and am getting an error: Error Type: Microsoft VBScript compilation (0x800A0400) Expected statement /transferkey.asp, line 2 <!-- #INCLUDE FILE="adovbs.inc" --> <% Option Explicit %> <S...more >>

how to use Request.Form("fieldname")?
Posted by Rich at 3/23/2006 9:07:34 AM
Hi, I was experimenting with some basic sample asp code but can't get it to work correctly: this is bgselector.asp which works OK - you add the name of a basic color like blue, green, yellow and call another asp called backcolor.asp where I have the problem: bgselector.asp ----------...more >>

HTTP/1.1 500 Server Error
Posted by MSUTech at 3/23/2006 7:16:39 AM
Help.... I am NOT running asp.NET ... on this IIS Server ... (Windows Server 2003) .. I am just running ASP ... all of a sudden I have started to receive this error... but, the weird thing is that there is NO RECORD of an ERROR or WARNING in the EVENT VIEWER in either the Server running ...more >>

SIMPLE asp shopping cart
Posted by verb13 NO[at]SPAM hotmail.com at 3/23/2006 6:50:34 AM
I am trying to find an ASP shopping cart with the following properties: -free -unlimited number of product categories -as simple as possible (only few asp pages) I have seen many carts and I am so confused. Can you help me? Please don't suggest a page like this: http://www.aspin.com/home/webap...more >>

issues with MSXML2.FreeThreadedDOMDocument
Posted by s_m_b at 3/23/2006 4:52:53 AM
Using w2k advanced server (test system is standard server) "Set objXML = Server.CreateObject("MSXML2.FreeThreadedDOMDocument") objXML.async = False objXML.setProperty "ServerHTTPRequest", True objXML.Load ("http://news.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss091.xml") If objXML.par...more >>


DevelopmentNow Blog