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 > december 2004 > threads for december 1 - 7, 2004

Filter by week: 1 2 3 4 5

COM objects / internal server error
Posted by hans at 12/7/2004 11:42:30 PM
A customer is using our com object with IIS and ASP. If a method failed, ASP displays a 500 internal server error. How to get information with method failed in which error code was returned? thanks ...more >>


Using WaitFor1.0 issue
Posted by JayB at 12/7/2004 8:36:15 PM
After searcing the archives and www.aspfaq.com I found software called waitfor1.0 that I can use to make my script pause for a few seconds before resuming. I'm using this to send email to a list of subscribers on our database (about 10,000). I want to send 250 emails, wait for a little bit, ...more >>

Creating an XML document object in IIS 5.0 W2000 professional wkst
Posted by Malcolm Reid at 12/7/2004 3:41:06 PM
I am attempting to open an XML file in an asp on my personal IIS server. The VBscript code is: set xmlDoc = Server.CreateObject("Microsoft.XMLDOM") xmlDoc.async = False xmlDoc.Load("bpm.xml") When I test for errors, I receive this message from the xmlDoc.parseError.reason property: ...more >>

Submit button on form
Posted by viktor at 12/7/2004 3:03:50 PM
Hi, I have a small problem with the form. I am using OnClick() event to prrform some check before i submit the form. When i click wit the mouse works fine, but wheni enter the value into a field and hit ENTER is submiting the form with out checking. any ideas check the attachment for code t...more >>

http to https
Posted by dave at 12/7/2004 2:31:57 PM
Hello I have one simple form (myform.asp) and it posts to query.asp I had put below code in both file on top of the page to redirect this two pages in https:// so any one can access it thru http , it changes to https:// if Request.ServerVariables("HTTPS") = "off" then method = Requ...more >>

Computer name in ASP
Posted by Shahid Juma at 12/7/2004 2:20:50 PM
Hi, How can I retrieve the computer name of the browser and output it to the webpage in ASP/VBScript? Thanks in advance, Shahid ...more >>

Protecting ASP code
Posted by John at 12/7/2004 1:25:02 PM
Dear all, I've got a security question that is so difficult that "maybe" there will be no answer for it. It's regarding protecting asp code. I did write some asp code, that I sell to companies, to control several dbases. Because I sell the code, it's not that they own the code and can sell ...more >>

Passing value from page to page
Posted by viktor at 12/7/2004 10:51:01 AM
Hi , I have a small problem.How can I pass value from form thru a few pages. I try with hidden field but my second page just validate and redirect to other one and when I use Request.Form("field") it's nothing coming back. Any help please. thanks ...more >>



Click Cancel during Download with ADODB.Stream object
Posted by A NO[at]SPAM Rome at 12/7/2004 2:29:05 AM
Hi all, I have an ASP page that downloads file with the ADODB.Stream object. I've found that if the user click cancel in the "Save file as" window or during the downloading, the download is no more available, the page hangs over and and the session have to be closed. (In some cases you have...more >>

Will ASP query be slow if field names are lengthy?
Posted by ynott at 12/7/2004 1:30:58 AM
I have an Access database with 58 fields in one table. I wrote many of the field names so that they were descriptive so that others could figure it out in the future. As an example, one field name is called MissingPart14990aDescribe. Should I be worried about the length of the field name? I...more >>

Write Farsi ( Persian ) in Access by Web form
Posted by Pedram Rahimi at 12/7/2004 1:21:01 AM
... I have a new Host that do not working probably . In other Hosts I had not any problem . In this one , I could not write Farsi data ( Unicode ) in Bank by web form . According to my ASP source , maybe this server thinks these are nul characters . Maybe this Host Can not support Farsi or Un...more >>

picking up image buttons
Posted by Patrick at 12/6/2004 6:00:03 PM
I have an "image button" that appear like so (from View source from IE) <input alt="Delete Items" src="../UserMods/butt_deleteItems.gif" type="image" name="delete" value="Delete Incomplete Order" border="0"> the form is posted using HTTP POST. <form METHOD="POST" name="restoreCart" action="cus...more >>

multiple non-administrators publishing to an iis server with VS.NE
Posted by AGoodSpellr at 12/6/2004 1:59:05 PM
Is it possible to use Visual Studio to create ASP.NET projects on a web server, without giving the various people that will be doing this full administrator privliges? Each user will need to have independent folders that they can modify (ie, one user cannot change the contents of another us...more >>

asp/iis hanging and failing without error message!
Posted by frank at 12/6/2004 11:19:03 AM
Hi all, I have a largish asp-driven site that's crashing intermittently in a way that's just causing me to scratch my head a lot. I've not seen this happen in about five years of developing asp apps. This is what happens: asp v3 access 2000 database win 2003 server. 1. It runs on m...more >>

Handle Session Timeout And Lost MemberID
Posted by Edward Rothwell at 12/6/2004 4:14:12 AM
I have a web site where once a user has logged on I store their MemberID in a global variable in the global.asa file. Then in other pages I find out which member I am dealing with by looking at this variable, ie: <% Private lgMemberID lgMemberID = Session.Contents("MemberID") %> ...more >>

Array variable
Posted by Wen at 12/5/2004 5:08:05 PM
Hallo, I have 2 asp pages. I'd declared phoneNumbers as Array in page1, the value of this array must be used in page2 again. Does somebody know wat should I do? Thanks In Advance, Wen <%Option Explicit%> <html> <head> <title>phonebook</title> </head> <!-- --> <body> <% Dim Name(3), P...more >>

Photo Manipulation
Posted by a new guy at 12/5/2004 1:36:21 PM
Is it possible to do any photo (jpg) maniputlation in an ASP script? I'd like to be able to rotate a photo. Also, if it can be done, reduce a file size to produce a thumbnail. If so, can anyone point me to the resources for learning to do this. Thnanks in Advance....more >>

iis(internet information server)
Posted by peeteruk NO[at]SPAM yahoo.com at 12/5/2004 1:23:48 PM
hi everyone Please I need help with trying to add iss( internet information server). i have found a web site to access iss on xp home addition and i went to view the options of the control panel/windows components. its there but it cannot be clicked on and installed. Can anyone help thanks P...more >>

Multiple web sites
Posted by Mark Goldin at 12/5/2004 5:26:27 AM
I have registered a domain that forwards every hit to my home PC. I have configured Default Web site to show one Web from my PC. So when people navigate to www.mydomain.com they see that site. What if I want to how more then one web site? Is there a way of doing that? Thanks ...more >>

Anyone got any ideas?
Posted by Rob Meade at 12/5/2004 1:54:13 AM
Hi all, This will sound REALLY stupid, but I wrote some code a fair while ago (beginning of this year), and I've done something a specific way, but for the life of me I can't remember why, or whether the difference between the 2 ways that are used in the code really matters... I think Aaron...more >>

IIS, ASP.Net Development and Norton Internet Security 2005
Posted by TC at 12/4/2004 4:39:36 PM
Hello All, I have recently had the pleasure of installing Norton Internet Security 2005 and finding that I can no longer create or open a web-based application in Visual Studio .Net. The IDE just freezes. I tried fiddling with the configuration settings of the Norton Firewall but was not ...more >>

404 Redirect Question
Posted by dan NO[at]SPAM danceholidays.com at 12/4/2004 1:18:25 PM
Hi all, I want to build a custom 404 error page that using asp will dynalically build the page. Here is my problem. I am building a directoy website which has over 3000 categories. I do not want to create a category page for each one so I though I would try and cheat a little and use the 40...more >>

Problem with error reporting when executing multiple sql staments in asp
Posted by Dean g at 12/4/2004 9:44:20 AM
Hi, I have a problem with running multiple sql statements using asp. Basically if there is an error with any of the statements inside the query a rollback is done. the sql and rollback work fine, But on the actual asp page no error is detected unless it occurs in the first statement in the query...more >>

form data missing
Posted by Dominic Tocci at 12/3/2004 8:40:47 PM
When I submit a form to an asp page, the request.form is not getting the data. This only happens on my local copy of IIS, and not on my web host. It's a simple request.form, so I know it's not a coding issue. The pages all load fine and access the MSAccess database perfectly. However, when I...more >>

Newbie: OnClick reassignment
Posted by Ted Singh at 12/3/2004 5:41:01 PM
Is there anyway to dynamically change the OnClick method for an object? I keep getting a BC30390 compilation error. Essentially what I'm trying to do is dynamically put up buttons on the page w/o putting <asp:ImageButton ...> in the html. Is there a better way? Here is a snippet of my cod...more >>

Array puzzle
Posted by Lasse Edsvik at 12/3/2004 3:51:17 PM
Hello I was wondering if you guys could help me solve this one: I have an array that looks like this: a(1) = "A" a(2) = "B" a(3) = "C" a(4) = "D" a(5) = "E" And i would like to "switch" positions, i.e move A to a(4) like this: a(1) = "B" a(2) = "C" a(3) = "D" a(4) = "A" a(...more >>

Can't execute code from freed script
Posted by Martin Waller at 12/3/2004 3:09:36 PM
Hello, I have a situation where I'm trying to control the temporary files created by a series of web pages and ASP scripts. I have an object, call it Y that manages these files and saves away in a scripting dictionary all the temorary files that have been created. Y is basically JScript class ...more >>

Syntax error when defining class
Posted by FaYYaZ at 12/3/2004 11:26:04 AM
Hi All I am getting error "Syntax error " when trying to define a class Like Class myClass Public height Public ID Private t_width any idea why its like this Kind Regards ...more >>

Access / Security
Posted by Dthmtlgod at 12/3/2004 10:29:37 AM
OK. I have rolled out my simple ASP site, just updates a few fields in a database, it works fine for administrators, but the local users are getting a page can't be displayed error stating the database is opened exclusively (this is not the case) or they don't have rights. The database s shared...more >>

Javascript Validator help - how to require a field if checkbox is checked
Posted by ziggs at 12/3/2004 10:08:37 AM
I'm trying to find a reference to a validator code that will do the following. If checkbox called frmPrivate is checked (value=-1 is set for the value in this case) then I want to require the user to fill in a text box called name="CompanyName". Can someone point me in the right direction? T...more >>

HTTP 500.100
Posted by David C at 12/3/2004 9:10:48 AM
I am getting the following error when trying to run an SQL insert in my ASP page and I cannot find anything in TechNet that references this error. Below are IIS messages: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services Error Type: Microsoft OLE DB Provider for ...more >>

How can I change Enter=ButtonClick
Posted by Denzen Stupilla at 12/3/2004 9:07:03 AM
hi all, I have a asp.net webform with textboxes and buttons. What's the trick to disabling the button on-click events to fire when Enter key is pushed? i want the server click events for the buttons to fire ONLY when the button is clicked with the mouse. thanks so much. Denzen...more >>

IIs Resets continiously
Posted by maarten NO[at]SPAM profvoetballers.nl at 12/3/2004 4:19:05 AM
Hi all, I really hope someone can help. Im having a problem that IIS constantly is restarting (and after 5 restarts ofcourse quits). We have tracked all possible causes but failed to achieve any results. About the configuration: Win 2000 server IIS 6.0 Not using any unusual DLL's/compo...more >>

asp Timer
Posted by Mike at 12/2/2004 5:26:48 PM
Hi, I need help writing a script that checks to see how long an asp application has been active on the server. The basic logic is - If the timer and application exceed 60 minutes then refresh the application and start over. The reasoning behind this is that I am pulling in a header navigation...more >>

SOAPACTION
Posted by freddy parra at 12/2/2004 4:35:06 PM
Can someone please provide me with a sample ASP page where i use SOAPACTION to submit parameters to my web service and get back the result? i need samples or URL with Web services in ASP that uses SERVERXMLHTTP and request with SOAPACTION? ...more >>

ASP / SQL Question
Posted by Dthmtlgod at 12/2/2004 4:16:39 PM
I can't remember how to send values to my Access DB through an SQL statement Conn.execute ("INSERT INTO MISSING_IMAGES (SubmitterID, UserFullName, PCN, ClaimNumber) VALUES ('SubmitterID','UserFullName', 'PCN', 'ClaimNumber')") Please help. ...more >>

DCom got error Overlapped I/O operation is in progress.....
Posted by AmyAdmin at 12/2/2004 11:55:06 AM
I am running windows 2000 with IIS 5.0 and I have ASP and .NET apps running on that server, and I've been getting the error message in my event viewer: DCom got error "Overlapped I/O operation is in progress" and was unable to logon .\IWAM_servername in order to run the server. Followed by...more >>

Paging
Posted by Al at 12/2/2004 11:30:21 AM
Hi, all can any one suggest me what would be the best approach for paging information out a recordset. Explain. I am building up a search engine with .ASP 3.0 using sql server database for data listing and what I Like to do is display max 10 items in one page per search query and have Prev ...more >>

Date function
Posted by g_sharad NO[at]SPAM yahoo.com at 12/2/2004 10:26:40 AM
Friends I need a date simple date function that would append the coming month value in my current month like monthname(month(date)) : gives me current month in string i need next month , a string value added to it. The problem I am facing is this.. prevmon = monthname(month(date) + 1) ...more >>

Enter Date and Time into a form
Posted by danieloconnor NO[at]SPAM dbt.net at 12/2/2004 10:04:25 AM
Hello, I need a good way to have my users enter the date and time into a form. Could someone please give me some ideas here. What is the preferrable method for doing this in an asp form page? Should I use java script to pick the date and time? If so please tell me where I could find this. ...more >>

Bind variable in asp
Posted by Hermes at 12/2/2004 12:19:18 AM
Hi all, I'm using bind variables in sql in some asp pages, but something strange is happening with a few of the pages. I'm trying to add a bind variable to do an arrange and order of the output. When I run the query it does not do the arrange and order, but if I type it in how the bind sen...more >>

Remote_addr will return my web server ip address
Posted by xarrisx at 12/1/2004 11:26:39 PM
I have a web server with a firewall. The problem is that when i use request.servervariables("remote_addr") the ip i get is my server's ip. Is there any other way to retrieve my visitor's ip? Looks like the firewall cought the visitor's request and then request's this page from the web server...more >>

remembering link that was clicked
Posted by slim___shady at 12/1/2004 9:35:02 PM
On my site the homepage is accessible by all. The other pages need a password. When a visitor clicks a link, they get redirected to the login page instead of the page that they want to see. That part is under control. If they provide the right password, they need to be sent to the page that ...more >>

Remove similar numbers in array
Posted by Rimuen at 12/1/2004 9:15:08 PM
Have a string contains numbers from database. But there is similar numbers want to remove Example: 1,3,6,6,6,12,13,14,15,15,15,15 Want to remove the similar numbers so it would be like: 1,3,6,12,13,14,15 Any help ?? ...more >>

image path
Posted by TJS at 12/1/2004 8:49:34 PM
when using a relative image path const imgDir = "_images/divisions/" the relative path is converted to a physical path in an img tag as <img src="c:\app\_images\divisions\mypicture.gif"> how can I prevent this from being converted to a physical path ? ...more >>

IIS and ASP
Posted by Woody at 12/1/2004 4:39:13 PM
Windows 2k, sp4, IE5, front page 2003. Im trying to setup IIS and PWs so that i can publish to myself inetpub/wwwroot so i can test my own apps before taking them online. So far i keep getting error that im not allowed to publish a disk based page to that location as its not disk based... a...more >>

Newbie Forms
Posted by TNGgroup at 12/1/2004 3:58:53 PM
Hi, I have a problem with some forms. I created 2 pages, one (list.asp) is an overview of all my record. for each record I put a button. When I click the button I would like a second asp page (edit.asp) to open with that specific record. This is a part code of my list.asp. the link should be...more >>

for x =...next, how to assign variable with the X value?
Posted by news.cablevision.qc.ca at 12/1/2004 10:30:48 AM
Hi! I want, using a form, enter a number and then, read that number of records in a database and store information in variables. The only way I see to do this is to do a FOR...NEXT to the number entered in the form, and then include the database reading into it. THE PROBLEM: <% for ...more >>

Problem filtering recordset by values held in array
Posted by timothy.pollard NO[at]SPAM btinternet.com at 12/1/2004 6:39:05 AM
Hi I am trying to filter a table of users to select only those records whose roleID matches a value in an array. There could be any number of IDs held in the array from one to a few hundred. The array is generated by splitting a comma delimited memo field from a second table in an Access DB. ...more >>

Some SQL/ASP works and other similar bits do not. Please help, sob!
Posted by Si at 12/1/2004 12:01:25 AM
Hi All. This may be DB issue, but rather that cross post, I'll post here first. I have a page on a site that submits a form to search for various different values in a database. It's a property site and the various different fields searches all perform as expected apart from 1. I have be...more >>


DevelopmentNow Blog