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 > april 2005

Filter by week: 1 2 3 4 5

session variable between two windows
Posted by Soha at 4/30/2005 4:10:10 AM
i'm using the dundas freelib upload code to upload files in my website. when the user choses to upload a file a new window is opened and the upload procedure goes fine and the file is uploaded successfully. but the problem is the i want to know the name of the file in the parent window to save i...more >>

"To help protect your security, "
Posted by McKirahan at 4/30/2005 12:00:00 AM
What is "active content"? My ASP page just returns HTML.... I have a page with an .htm extension that has a form whose action is an ASP page which generates a report after updating a database with the form data. Under Windowx XP SP2 the IE6 "Information Bar" has the message: "To help ...more >>

Microsoft OLE DB Provider for ODBC Drivers error
Posted by Rajiv at 4/29/2005 11:30:01 PM
hi all , i m trying to coneect to a access database Using DSN dim rcon set rcon = server.CreateObject("ADODB.CONNECTION") rcon.mode = 1 ' adModeRead rcon.ConnectionString ="DSN=report" rCon.Open , but when i try to connect i get an error Microsoft OLE DB ...more >>

Server Variable for querystring
Posted by scott at 4/29/2005 4:06:05 PM
Is there a server variable that returns the query string part of a url? Below gets my page, but i need to capture what comes after ".asp" Request.ServerVariables("URL") returns /mywebpage.asp ...more >>

IDE - new to Asp
Posted by Amir at 4/29/2005 4:02:34 PM
Hi there I'm a linux person who programs in Perl/PHP but because of company demand, I had to develop a site in ASP, and migrate our Redhat 7 server which I had setup to IIS (oh boy was that a headache?!) I used Dreamweaver VBScript capability and managed the site and now for the next proje...more >>

CDO Mail Dilema
Posted by dthmtlgod at 4/29/2005 2:58:39 PM
I have many other sites that use the same format, the textbody of the e-mail is not coming through on this page. Can't understand why. Nothing shows after the subject. Set cdoConfig = CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = cdoSendUsin...more >>

format of URL with asp variables - works in Firefox, not IE
Posted by Tom Petersen at 4/29/2005 9:34:00 AM
I must have the format of the below line wrong for IE: click <a href="cal.asp?sdate=<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2 %>">here</a> to add this information to your Calendar<br> When I hover my mouse over the link, the status bar at the bottom of the page for IE s...more >>

403.1 Execute Access Forbidden Error
Posted by lu1219 at 4/29/2005 7:07:35 AM
I am currently running IIS 5.1, Windows XP Pro with service pack 2. When I try to run an ASP page I get an error saying that 403.1 Execut Access Forbidden - IIS. There are no firewalls up and running. I hav given permission and access to everything, every folder that I can thin to give access...more >>



Byref
Posted by amilani NO[at]SPAM dsi.unive.it at 4/29/2005 12:46:07 AM
The output of the test was: b=5# b=5# b=5# arr(1)=7# arr(1)=7# arr(1)=7# dict.item('K2')=2# dict.item('K2')=4# dict.item('K2')=14# Now, calling subroutines using keyword 'call' or omitting parentheses, I get the correct result: b=5# b=5# b=105# arr(1)=7# arr(1)=7# arr(1)=17# dict...more >>

Print the page without loading it
Posted by Alan at 4/29/2005 12:00:00 AM
While not rs.eof <td><%=rs("InvoiceNo")%></td> <td><%=rs("Name")%></td> <td><a href="InvoicePrint.asp?WInv=<%=rs("InvoiceNo")%>"></a></td> <td>Print this invoice</td> rs.MoveNext Wend Now user needs to click the link to open the invoice, and then select File...more >>

"Out of memory: 'session'"
Posted by Roy Danon at 4/29/2005 12:00:00 AM
Hi, For some reason while trying to retrieve an existing value from the session object I recieve the following error : Microsoft VBScript runtime (0x800A0007) Out of memory: 'session' What can cause this error/ Roy. ...more >>

Generate Word Doc!
Posted by Adam Knight at 4/28/2005 6:25:16 PM
Can anyone point me in the right direction in relation to creating word documents on the fly using asp. I am using SQL Server 2000 as my backend and want to create word documents containing the data i retrieve. Cheers, Adam...more >>

long URLs
Posted by David Shorthouse at 4/28/2005 1:24:29 PM
Hey folks, Is anyone aware of any sort of asp coding to deal with long URLs? I have a few asp that pull URLs from fields within a MS db, which then display on a width-limited table. Is there any way to wrap these long URLs such that my table doesn't get widened? e.g. wrapping at "/" or some...more >>

Spinner
Posted by Vinod at 4/28/2005 12:38:28 PM
Hi, I want to know how we can create a time spinner , similar to the the one which we can see in Date/Time properties , when we click it. I want to include it in my asp program. Thanks in advance Vinod ...more >>

Design advice
Posted by dthmtlgod at 4/28/2005 8:07:46 AM
I am creating a online help desk for my office. I am attempting to cleanup my code and I was hoping for a little advice. I have 30 different categories of requests ranging from the desktop issues to application issues. I am using submit buttons on one version and a dropdown/list box on the o...more >>

Byref
Posted by amilani NO[at]SPAM dsi.unive.it at 4/28/2005 7:44:46 AM
Hi everybody, I've tried to use the byref keyword for passing arguments to subroutines and functions in my ASP pages with VBScript, but it seems that both byref and byval are irrilevant, as simple variables and arrays are always passed by value and objects (I tried dictionary ones) are always pa...more >>

SCOPE_IDENTITY with ASP
Posted by Larry at 4/28/2005 6:19:17 AM
I originally asked this on comp.databases.ms-sqlserver, but they've referred me here. I am seeing a problem with an ASP application, where I have 2 tables. In the first table, the ASP inserts just 1 row and retrieves the primary key of the new row using SCOPE_IDENTITY. It then uses that prim...more >>

Scripting.FileSystemObject.CreateTextFile goes out to lunch
Posted by NeilS at 4/28/2005 4:14:02 AM
I'm developing under IIS V5.1 and testing on an ethernet with IIS hosted on WinXPPro. I am trying to implement file-upload using a polished version of the technique published in <http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnasdj01/html/asp0900.asp> IIS goes out to l...more >>

Refresh the Page
Posted by laura at 4/28/2005 12:00:00 AM
I'm doing a page which gathers some text in the form of a text box in a <form>. This text is saved to a text file, notices.txt and I want to be able to display the saved text on the page, as soon as they click the SUBMIT button - is this possible? At the moment I have a hyperlink called "ba...more >>

custom error for webservice not working
Posted by Nadagouda at 4/27/2005 9:12:12 PM
hi, when i type "http:\\localhost\WebService1\Service1.asmx?wsdl=" its giving me http 500 internal error. I want to display myerrorpage instead of default one. I tried all the options like web.config adding customerrors,global.asax getlasterror and IIS edit properties for this particular...more >>

ASP page won't refresh when changed
Posted by mytrash NO[at]SPAM netcourrier.com at 4/27/2005 7:37:39 AM
Hi ! I just installed IIS on my Windows 2000 system. I tried to place a .ASP page on my C:\Inetpub\wwwroot directory, and it seems to work. However, when I change the page content (the code, or even the text), the page doesn't seem to refresh... (It doesn't seem to be a IE cache problem). I...more >>

Recordsets vs. Arrays?
Posted by SABmore at 4/27/2005 6:26:05 AM
Is there a performance advantage to parsing thru a recordset verus using an array? I'm currently trying to populate a listbox by returning data from my database, then either parsing thru the recordset until I reach the EOF, or putting the data into an array. Thanks for your assistance....more >>

"Cannot download" an excel file from an ASP page
Posted by cajunmaori at 4/27/2005 1:48:45 AM
I am having trouble downloading an excel report generated from our AS pages. We presumed it was something to do with the SSL certificate w just installed, so loaded the ForceSSL.inc script from Microsoft an changed the cache settings by changing this code in our globals.as file: Response.Ad...more >>

HTTP 1.1/400 Bad Request
Posted by Drew at 4/27/2005 12:00:00 AM
I have been trying to figure out why I am getting this message... I have an application that is 20 different ASP pages that works in sequential order (step1, step2, step3...). After each step the app writes the entered text to a cookie. This feature is so that if there is a problem, we can s...more >>

Remove Carriage Returns
Posted by Simon Harris at 4/27/2005 12:00:00 AM
Hi All, I am trying to write a function that will remove all carriage returns from a string, so that the string of words can be used as meta keywords. So far I have: Function RemoveCR(strText) strText = Replace(strText,chr(13),"") strText = Replace(strText,chr(10),"") strText = Repl...more >>

show all values from my database
Posted by news at 4/27/2005 12:00:00 AM
Hello I have a problem with show all values from my database into my html page! Example of my database: Namn: test.mdb Table: tblTest Columns: col1, col2, col3 The thing I want is to search the database for "2005-04-27" in the columns col1 and col3 but I can only get values from col1 !!!...more >>

\\server\file.ext does not like objFSO.FileExists()
Posted by Bob at 4/26/2005 1:00:42 PM
When a file is local to the ASP application, I can use the following code to test if the file exists: Dim strFileName, blnFileExists, objFSO strFileName = Server.MapPath( "\MyFiles\test.doc" ) Set objFSO = Server.CreateObject("Scripting.FileSystemObject") blnFileE...more >>

recordset issues
Posted by at 4/26/2005 9:29:16 AM
Hi Everyone Here is my dilemma I have a database within that, two tables products and images. They are related by product_id. I have designed it so that one product can have many images associated with it. My problem however is when I come to build the thumbnail page. What I would li...more >>

I know this can be done...
Posted by Apple Plexy at 4/26/2005 12:00:00 AM
tearing my hair out here..., I am creating a site to show artists work. I have a database and can retrieve and display a list of artisits, other info, and a related image for each artist - all drawn from the respective entries on the database. What i would like to do is then use that record to...more >>

Session_OnEnd major problem
Posted by Propin at 4/26/2005 12:00:00 AM
Have a problem with below code in global.asa. Same problem as described in this news group before, IWAM_machinename did not solve my problem. Have created the following test code (file is never deleted on my IIS6 Win2003 environment, any idea?): <SCRIPT LANGUAGE="VBScript" RUNAT="Server"> ...more >>

Database Results - Show checkbox
Posted by Graham Taylor at 4/26/2005 12:00:00 AM
I am reading data from an MDB Access database into an ASP page. Four fields in the database are Yes/No fields, and I want to show those on the ASP page as check boxes. How do I do this? The best I've been able to do so far is use some javascript code to print an "X" if the value in the fi...more >>

Check image height and width
Posted by Shawn at 4/26/2005 12:00:00 AM
Hi, I have a page where users can upload images, but sometimes the images are too small. How can get the height and width (in pixels) for an image? I've seen it done in PHP but never in ASP. Thanks, Shawn ...more >>

Active Home Page
Posted by laura at 4/26/2005 12:00:00 AM
I have been trying to produce an intranet for the past few months for a small company. I'm almost there with it - it has some ASP, some JavaScript and about 18 HTML pages. What I need help on right now is this. They want to be able to have a very short, two sentences maybe, Daily Notice on the...more >>

migration issue with ASP on win 2003
Posted by Chris at 4/25/2005 6:05:03 PM
I'm hoping someone can help me, I've searched the posts with limited results. I'm migrating an app to a win 2003 boxwith sp-1 and I get: Server object error 'ASP 0228 : 80004005' Server.Execute Error /rock/userlogin.asp, line 60 The call to Server.Execute failed while loading the page. ...more >>

retrieving a zip file from a url using asp
Posted by kelby at 4/25/2005 12:23:38 PM
Hi, I have a zipfile that is created dynamically for me on a webserver. I have the url of the zip sent as a post value to an asp script on my website. In my asp script I need to be able to retrieve the zip file so that i may extract content from it using an asp zip component. Any idea how...more >>

Code Not Working
Posted by dthmtlgod at 4/25/2005 11:17:28 AM
OK. Here is my problem. My webserver was running Windows XP professional. The below code worked as it should, it provided me with the user name. Set Sys = CreateObject("ADSystemInfo") Set User = GetObject("LDAP://" & sys.UserName) userEmail = user.mail userFname = user.givenname userLname ...more >>

Hiding ASP source code from EVERYONE!!!
Posted by george NO[at]SPAM pebble.tv at 4/25/2005 9:18:53 AM
I am looking for solutions that would hide my source code from everyone, users and administrators. The reason being I have written an ASP application that I want to sell on to other companies. This ASP application works in conjunction with an existing C++ application(s) that clients already ...more >>

Application service provider architecture
Posted by J at 4/25/2005 7:47:10 AM
Hi group, We're developing a hosted application that will be used by hundreds of client companies, each with its own database. Our first release of this product separated each customer into its own virtual directory with a copy of the code (classic ASP/IIS 5). We want to design the next ver...more >>

Debug component used by ASA/ASP?
Posted by Grant Schenck at 4/25/2005 12:00:00 AM
Hello, I built an MTA which is used from an ASA and ASP pages. The MTA was developed in VC++ 6.0. How would I go about debugging into the C++ code? Thanks, Grant Schenck ...more >>

Session Not Working On Server 2000
Posted by Duane at 4/24/2005 1:26:58 PM
I am creating a small program for my workplace in asp. It runs fine o my laptop using XP Pro through IIS. I set IIS up on the server runnin Windows 2000 Server Standard, have IIS set up identically, and i doesn't recognize the session variables. Even trying to run i directly on the server, n...more >>

how to make an ASP page for using the Index server?
Posted by Ben at 4/24/2005 12:00:00 AM
Hi, I need a search engine for my web. The service Index Server (for web) is started (win 2K) but i don't know how to make an ASP page for that. I can make a form like this: <form ACTION="/asp/search_v2/query2.asp" METHOD="POST"> <table WIDTH="500" bordercolor="#FFFFFF"> <td>Give wh...more >>

bbcode parsing
Posted by Rob Meade at 4/23/2005 10:15:56 PM
Hi all, Back on the bbcode parsing (again)... Having a few problems now with nested tags - it would seem that I had written my test string in a way that worked perfectly with the parser - until I changed the order of the parser - then it stopped working... I'm assuming my problem is dow...more >>

Comparing a date field to a date in a form.
Posted by lesjuby NO[at]SPAM anti-spam.iafrica.com at 4/23/2005 9:48:15 PM
"SELECT id, title FROM Businesses WHERE Date_Added >= " & Request.Form("Since_Date") This SQL string returns all records from the table Businesses and does not seem to be able to recognise Request.Form("Since_Date") as a valid date. The Since_Date value is entered into a form field as "01-Ja...more >>

Regular Expression Help
Posted by Rob Meade at 4/23/2005 7:37:09 PM
Hi all, I'm going down the road of learing the pattern matching in regular expressions, and I'm trying to convert the characters into English in my head so I can see whats happening... For clarity with this one... \[b\]([^\]]+)\[\/b\] Ok - the first thing I did was break it up - beca...more >>

Help with Arrays (VBScript)
Posted by joe at 4/22/2005 10:41:22 PM
Hello: I am scratching my head here. I was trying to copy values from a recordset into an array, but whatever I do, I keep getting errors. Let me give an example similar to what my code initially looked like: '--- sql and recorset creation here ...etc. Dim MyArray, intTemp intTemp = 0 ...more >>

ASP strange behavior
Posted by Mei at 4/22/2005 11:29:01 AM
Hi, I'm running ASP under IIS 6 with Tomcat. During the process, Tomcat will forward to an ASP page with some data and those data will be written to MS SQL and display some information in that particular ASP page. The Servlet has no unsafe code. The strange thing is that all the data is ...more >>

Auth_User blank. Please help
Posted by VITA at 4/22/2005 10:51:29 AM
I am trying to use AUTH_USER from request.servervariables but the field is blank. I am using Windoze server 2003 with IIS5. I know there is a fix because I did it a long time ago with our old NT server running IIS4 but I cant remember how I got it to work. We are all authenticated users on our...more >>

Using Access database and security concerns
Posted by Nicolae Fieraru at 4/21/2005 10:28:13 PM
Hi All, I am working on a web site in asp which will be hosted on a Windows 2003 server. I use the following code to connect to the database: Set objConn = Server.CreateObject("ADODB.Connection") Set objRS1 = Server.CreateObject("ADODB.Recordset") objConn.Provider = "Microsoft.Jet...more >>

Passing percent sign in querystring
Posted by Joey Martin at 4/21/2005 7:32:13 PM
I am passing a sql string thru my querystring for the next page to capture. example: www.xxxxxxxx.com/index.asp?str=select * from table where name like '%doe%' Passing a basic string works fine. But, when I use the LIKE statement it does not work. I know it's because of the % sign, so how do ...more >>

Client side Javascript placement in HTML
Posted by Christian Perthen at 4/21/2005 6:52:10 PM
Hi, It is generally recommended to put all client javascript in between the <head> tags. What are the drawback if the scripts are not placed there? It seems that Internet Explorer can handle them where ever they are on a page. Thanks in advance Christian ...more >>


DevelopmentNow Blog