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 > february 2004

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

Strange error "Internal Server Error"
Posted by rover555 NO[at]SPAM indiatimes.com at 2/29/2004 10:52:11 PM
Guys facing a strange problem any clue would really rescue me.. i am using a ASP application with following things Server : Intel Xeon (TM) CPU 2GHz, 2GB RAM, 136GB HDD OS : Windows 2000 Advanced server. IIS5.0 Database: Oracle (Using ADODB to connect to the Database) App server running ...more >>


Closing db connection and redirecting in a loop
Posted by andyza NO[at]SPAM webmail.co.za at 2/29/2004 10:39:38 PM
set RS = conn.Execute("SELECT * FROM TblName") do while not RS.eof if X = "Blah" then 'do something RS.close set RS = nothing response.redirect "report.asp" end if RS.movenext loop RS.close set RS = nothing conn.close set conn = nothi...more >>

how to get the time of milliseconds?
Posted by Laser Lu at 2/29/2004 10:20:44 PM
How to get the number of milliseconds that an ASP page has taken to run? -- Best regards, Laser Lu ...more >>

Howcome the "blendTrans" not work after use "browse in new window " ?
Posted by Andrew Hoi at 2/29/2004 6:36:18 PM
Hi, I have a web site that use META tag like below : <META content=blendTrans(Duration=1.0) http-equiv=Page-Enter> <META content=blendTrans(Duration=1.0) http-equiv=Page-Exit> it work properly when start IE and browse in the same window, Howeve , if press the SHIFT key and click(or right cl...more >>

Connection String in global.asa
Posted by fruddy at 2/29/2004 4:48:25 PM
Hi everybody, I currently have my SQL Server connection string in an Application variable in the global.asa. Could that be a security risk? I have heard that with Cold Fusion, when there is a page error.... the actual Connection String is written to the screen as part of the err...more >>

Bugs in VBScript GetRef()
Posted by Mike Schinkel at 2/29/2004 3:41:44 PM
Does anyone know if there are bugs in VBScript's GetRef()? I'm using VBScript Version 5.6.8515 on Win2003Server w/ASP. Sometimes it returns an object that VarType() says is a vbObject. Other times it returns VarType() is vbEmpty. This is driving me mad! Also, does anyone know what the pro...more >>

upload an executable file disguised as gif or jpg
Posted by aa at 2/29/2004 12:16:15 PM
If I allow people to upload GIF or JPG files on my site, is there a = technical possibility to upload an executable file disguised as gif or = jpg and execute it on my server?...more >>

if statement comparing variable
Posted by mhaas NO[at]SPAM mail.lr.k12.nj.us at 2/29/2004 7:41:44 AM
I'm trying to use a variable of retrieved via request from a form to select records.I'm pretty sure I am having a basic syntax error or something else basic. I retrieve the variable from a prevous form: section_id = request("section_id") I then retrieve some records and run the compare, if i...more >>



making a VID project from existing asp's
Posted by Tomas Galdamez at 2/29/2004 2:14:00 AM
I downloaded sample code and start hacking it away using a plain editor. Now I want to use VID but can't figure out how to make a project while preserving the existing structure under ./wwwroot. VID offers me to create a project by connecting to an existing application, but nothings shows up (...more >>

UTF-8 charset
Posted by Yossi P at 2/28/2004 11:16:05 PM
I'm developing a Hebrew-based web site and wondering wether it would be better to set a specific hebrew charset or UTF-8. As far as I understand the the biggest diffrence is that utf-8 consumes double-size (unicode) characters when saving data to the DB (-that's fine with me). My concern is, however...more >>

OT: Job tracking system
Posted by John at 2/28/2004 7:12:44 PM
Hi We are looking for an online job-tracking system to which our clients can login to and see the progress on their jobs. We will enter the progress on jobs from our end. Any recommendations would be appreciated. Source preferable so we can customise if needed. Thanks Regards ...more >>

lowercase am / pm
Posted by John Berman at 2/28/2004 5:59:17 PM
Hi I use: todaysdatetime = FormatDateTime(Now) to feed the date time into a variable and I get as expected something like this: 2/28/2004 11:51:07 AM but what I want it the am / pm markers in lower case like 2/28/2004 11:51:07 am Would this be easy to achive ? Regards John ...more >>

How to hide ASP or Php code
Posted by Danny at 2/28/2004 1:47:55 PM
How can i make sure my ASP code is hidden on my web server when soebody accesses the ASP page? I want to do all I can to protect against this. The other day I was at a web page and instead of seeing the results of the page, the entire page was displayed to me as text and you couldd see all the...more >>

Replace QueryString part
Posted by Targa at 2/28/2004 2:01:04 AM
Hi, Im working with 3 query strings that I dont have control over: mypage.asp?var1=<%=request("somevalue")%> mypage.asp?var2=<%=request("somevalue")%> mypage.asp?var3=<%=request("somevalue")%> My application is expecting only var1. How can I implement a replace function to replace the var2...more >>

email to link
Posted by Chas at 2/27/2004 11:46:03 PM
I am using this code <table border="1"> <% Do While Not rstSimple.EOF %> <tr> <td><%= rstSimple.Fields("username").Value %></td> <td><%= rstSimple.Fields("password").Value %></td> <td><%= rstSimple.Fields("email").Value %></td> </tr> <% ...more >>

Protect Automated Registration
Posted by Vlada at 2/27/2004 11:05:57 PM
Can somebody help me. I have one registration form with "submit" button. I don't know how to make protection from automatic submit (with picture and security code)? Thanks ...more >>

Sending Email thru ASP
Posted by Amit Shinde at 2/27/2004 8:58:27 PM
Can anyone tell me how to send emails ..thru asp code? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

CDONT to CDO
Posted by Harvey Waxman at 2/27/2004 8:04:41 PM
Can someone show me how to modify this simple code from CDONTS to CDO to bring it up to date? It works fine now and maybe I should leave it alone? <% Dim t1,instructions t1 = "Instructions" instructions = Request.Form("instructions") Dim ObjMail Set ObjMail = Server.CreateObject("C...more >>

Looking for simply script to list professors' publications
Posted by crispy at 2/27/2004 4:43:38 PM
I am looking for a free (or inexpensive) script to list the book and journal publications created within a college department and be able to sort them by author and year of publication. I've searched http://www.hotscripts.com/ and a couple of other sites with no luck yet. Do you have any su...more >>

How to get file size from another web server?
Posted by Konstantin Mironov at 2/27/2004 4:30:38 PM
Hi all! We have the corporate website based on MS IIS 5.0. There's an ASP page for our customers with the hyperlinks to downloadable files that are hosted on external web server (in order to reduce corporate internet traffic). It's demanded to dinamically show the size and the date of creation...more >>

Database Starting Point
Posted by Mary I. at 2/27/2004 3:00:07 PM
If this is the wrong ng please direct me to the right one. I am just starting to think about adding a db to my Webs. I want to use a db to change pages within various Webs and subwebs by scheduling these pages ahead of time so the pages will already be loaded (visible) when a visitor arrives. ...more >>

session/application reset
Posted by Dan Reese at 2/27/2004 1:43:52 PM
Does anyone know of a way through asp code to drop a users application connection and prompt them for their credentials? I would like to offer the ability to log into the application with different NT username and password with them having to close and re-open their browser. I am using basic a...more >>

PHB Request
Posted by Bryan Harrington at 2/27/2004 12:37:24 PM
Ok.. so this morning, PHB drops Licensing in my lap... His requirements.. Enter a License key at install. (No problem, installsheild et. al. can do that) Only allow the application to run on the machine that it was installed on. i.e., can't install on another machine with the same license key...more >>

Assign vars from a for loop
Posted by Dave Karmens at 2/27/2004 10:43:04 AM
for each inputField in Request.Form for each inputValue in Request.Form(inputField) response.write inputField & " = " & inputValue & "<br>" next next Let's say this returns: fld = fish fld = dog fld = cat fld = bird fld = emu How can I get those values into a variables that I c...more >>

Excel 2003
Posted by Al at 2/27/2004 8:31:09 AM
Here is my problem....I have a web site that genrates reports which are displayed in a page called Reports.asp and the user can open multiple reports at once all generated by Reports.asp. The results of the report can be outputed to Excel within Internet Explorer using the HTTP Content Type applicat...more >>

Retrieve pdf files from SQL Server
Posted by Jeff Fenn at 2/27/2004 7:16:09 AM
Hi Doesn anyyone know the proper lines of ASP code to sucessfully retrieve a pdf file from SQL server. Everytime I run my code I get gibberish all over the screen. I would like it to prompt me to save the file to disk Thanks -Jeff...more >>

Remove items from GetRows array
Posted by Patrick G. at 2/26/2004 11:27:10 PM
Greetings all: ASP VB, SQL Svr 2000 I am pulling data from 3 tables. table1 holds item details table2 holds publication types and the item id from table1 table3 holds category types and the item id from table1 when I create a view on these tables joined together I end up getting multi...more >>

generate webpages
Posted by Stas at 2/26/2004 10:50:09 PM
Hello all! I have two webpages main.asp with some codes and text.html I need joint (insert) text into main.asp. I forgotten instructions to insert first webpage into second. How I can do it? Thanks. Stas. ...more >>

Having trouble with an ASP error!?
Posted by slonik at 2/26/2004 10:25:55 PM
Date: 02/26/2004 01:00PM PST Here is the code. '------------------------------------------------' '- Gets Managers details such as name & email -' '------------------------------------------------' Sub GetManagerDetails(id) Dim strSQL, rs ...more >>

ADODB.Stream: Error--Invalid class String
Posted by Mohit Gupta at 2/26/2004 9:56:06 PM
Hi all, I am using Microsoft Visual Interdev to write/develop ASP code. Refering to code below, when I tried to create object of class "ADODB.Stream", an error was reported by IIS/ASP error engine stating "invalid class Cod --------- set testObject = Server.CreateObject("ADODB.Stream...more >>

session ... critical section problem in vb+asp dot net
Posted by asimeerza at 2/26/2004 8:26:07 PM
hi all i m developing web applicaiotn with vb+asp dot net. i ve many links at my page and i m also maintaining session. if the user of my applicaton clicks one link that sends request to the server. before the next page is loaded, user clicks another link. and so on.. i think for each server req...more >>

Access a 'remote' Access DB through ADO
Posted by CJM at 2/26/2004 5:09:47 PM
I have an intranet-based app that links to an Access DB. It works fine on my developement machine, but if I place the DB on a different server, I have problems - the JET Engine (ADO) complains that the DB is "...already opened exclusively by another user, or you need permission to view its data."...more >>

dynamic form values
Posted by Dave Karmens at 2/26/2004 4:49:56 PM
If I have say 10 fixed variables, how can I set their values = to that of a form that is built dynamically? column1 column2 email = formvalue(0) fname = formvalue(1) lname = formvalue(2) etc.. lastvar = formvalue(9)...more >>

checking for www.
Posted by shank at 2/26/2004 4:45:38 PM
I'm trying to qualify email addresses. Is there any reason why the following line would not catch an email address beginning with "www." ? ElseIf Left(Session("em"),4) = "www." Then I put in a dummy email address: www.mydomain@aol.com and it goes through.... <%=Left(Session("em"),4)%> does r...more >>

Downloading files...
Posted by Ruskin Hardie at 2/26/2004 3:28:36 PM
The help is not very informative here, but it says, that it is possible to download files, by using the 'a' tag. What I am trying to do, is create a link, that the user clicks, which will download a file from the server. This works fine for most files, but for things like TXT and HTM, they open i...more >>

display session objects, cookies from app on other server
Posted by starman7 NO[at]SPAM hotmail.com at 2/26/2004 3:20:39 PM
I'm writing a reporting application in ASP. I want to have links to a CF app - specifically VeriSign's eCommerce Manager (on VeriSign's server). The links in my app will need current values for CFID and CFTOKEN in their HREFs - I think these are cookies or session objects the VeriSign/CF a...more >>

How can open a Microsoft Word file by ASP
Posted by Jack at 2/26/2004 2:33:08 PM
Hello, How can open a Microsoft Word file by ASP? Thank you ...more >>

C# and .Net
Posted by James Lattanzio at 2/26/2004 2:32:34 PM
Dear Anyone, I have a windows 200 server version 5.00.2195, running IIS5. I'm using visual interdev 6.0 to develop asp projects. My workstation is running Windows XP Professional. I've been requested to do a C# project. I'm assuming I have to install the .NET Framework 1.1 SDK on th...more >>

401.3 ACL error
Posted by Fox at 2/26/2004 2:29:29 PM
Hi I do not run a domain or Active Directory. I am on IIS 5.0 on Windows 2000 server. When I secure a folder and its files I am having a problem getting the new user to be able to access it. The IIS security tab has Anonymous unchecked. The other two boxes are checked. I have tried also wi...more >>

image question
Posted by Gonzosez at 2/26/2004 10:31:24 AM
I need to resize images to a fixed width. How can I hold the aspect ratio? Thanks ...more >>

Hitting "Back" loses all GET/POST data....
Posted by GregoryOnline NO[at]SPAM bigfoot.com at 2/26/2004 10:09:32 AM
How do I create a form that allows one to submit a form, then press the "BACK" button on the browser, and allow the user to see the data he posted? It seems as though this information is lost. For instance, <form method="get" action="/contact/default.asp" name="ContactForm"> .... </form> ...more >>

OpenTextFile just hangs
Posted by jwallison at 2/26/2004 8:09:33 AM
XPSp1/IIS 5.1 What am I doing wrong? The following code just hangs in asp page at OpenTextFile() - and inet service manager just hangs if I try to unload app at this point - <script runat="server" language="VBScript" > Function JobList filename = "privdata/curjobs.txt" mappednam...more >>

clueless about error 80040108
Posted by Harvey Waxman at 2/26/2004 7:12:00 AM
suddenly get this error: error '80040108' /geta.asp, line 23 which is : ObjMail.Body = "Instructions" & vbtab & instructions & vbcrlf&_ and while I'm at it, why did the 'yourname' and the 'creditcard' fields return blank values, (when there was no error, that is). this is...more >>

single cart on multiple subdomain, is it possible ?
Posted by Tony at 2/26/2004 12:07:49 AM
Hello everyone.. I am in the processof seting up a shopping cart . this cart is not designed by me . is pure ASP shopping cart with access db or i can use SQL .. qustion as follow. this site will have differnt products , in differnt categories. for example. Computer, books, toy, electronics, e...more >>

Check if browser is NOT I.E.
Posted by David at 2/25/2004 10:34:55 PM
On a page optimised for IE, I'd like to check if the browser type is other than IE, so I can direct them to another page. How can I modify the code below to redirect to indextext.asp if they aren't using IE? I've tried changing the = for <>, but get a syntax error. Thanks USER_AGENT = Req...more >>

IF/Then statement doesn't work
Posted by crispy at 2/25/2004 10:07:22 PM
I am sorry about posting such an elementary question, but I just can't get this to work: <%if (Recordset1.Fields.Item("notes").Value)="" then%> <%else%> <tr><td>Additional notes: <b><%=(Recordset1.Fields.Item("notes").Value)%></b></td> </tr> <%end if %> I just want to say if records...more >>

Run script on another NON-IIS server
Posted by Raptor at 2/25/2004 9:30:29 PM
I am trying to perform the following task. I believe it is possible from other asp pages I have seen before. I have a server (ServerA) Win2003 IIS 6 running a web page I have a server (ServerB) Win2003 Active Directory Domain Controller which I do not want to put IIS. I need a user to ...more >>

spider a website
Posted by shank at 2/25/2004 8:43:04 PM
How can I go about sending a spider to a website and retrieving data? I want to sell product for a company that claims the cannot query their database. Ridiculous! Anyway, is there a way that I can automate someway of collecting data from their site? I would need UPC codes, descriptions etc. t...more >>

FormatCurrency question UK £
Posted by Richard Davies at 2/25/2004 8:32:29 PM
Hi all I've just finished a site for a client and am just sorting out some of the finer elements of the site. The client wants prices formatted like £8 £11 rather than £8.00 or £11.00. If the price is £8.50 then it has to show £8.50. Could anyone advise on the syntax for format...more >>

asp session question
Posted by Utada P.W. SIU at 2/25/2004 6:44:26 PM
i have write a class in asp class employee public employeeId public teamid public name private sub class_initialize() end sub private sub class_terminate() end sub end class I have create a new emp class and assign to a session object, but i cannot usin...more >>


DevelopmentNow Blog