Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score SET NOCOUNT ON?
Rob Meade - 17 Jun 2006 10:19 PM - 4 messages
Hi all, I'm trying to insert a record into a database via ASP, and then extract the id of the current row using @@IDENTITY... I've read the articles on ASPAQ and somewhere else regarding the use of the ...
Score ASP 0113 Error "Time Out"
Usama Zulfiqar - 17 Jun 2006 7:48 PM - 3 messages
Hello guyz, One of my colleagues has made an upload website. We upload big data over the server via asp. Whenever I wanted to upload 5Mb file or more i receive ASP 0113 error. Is there any way to stop this error so that i can upload bigger ...
Score Calculate total in repeat region
Simon Gare - 17 Jun 2006 6:14 PM - 1 message
Hi, I need to calculate a total based on fields in a repeat region, these values are stored in an SQL db, all are numeric and written in ASP. fields are TOTAL_COST            VAT         GRANDTOTAL (Page selects records based on ...
Score TABLE question
Ron Hinds - 16 Jun 2006 9:37 PM - 5 messages
I know this is a HTML question, but I can't seem to find an *active* Microsoft HTML newsgroup. If anyone knows of one... Or maybe someone can help me here. The MSDN documentation for the TFOOT tag states, in part (emphasis [*] ...
Score email form w/ attachments error
Gaby - 16 Jun 2006 9:11 PM - 6 messages
I made this form with a very basic code <HTML>     <HEAD>         <TITLE>Submit Papers</TITLE>     </HEAD>     <BODY> ...
Score username and password validation
Eugene Anthony - 16 Jun 2006 6:24 PM - 15 messages
Is this method of validation for password and username considered to be secured. In my previous post I was given a solution that uses command object and the values are parsed by parameters. But the solution only worked well for insert and delete, but not select. ...
Score validating my website and indexing
MOE - 16 Jun 2006 5:55 PM - 1 message
Dear Supporter, i posted my one page website hosted on free domain , which is autogenerating some ads as shown [link] i have some questions: 1- does my website has to be valid to get listed ...
Score shop cart list page with several remove buttons, no javascript
wolfing1 - 16 Jun 2006 4:14 PM - 7 messages
how would I go doing it without javascript and using 'POST'? Having a page with a variable list of items in a shopcart, each item with its own 'remove' button.  How could I do this without a javascript and using POST as the form type? (so having <a href="page.htm?remove=2> ...
Score binary stream saving at server instead of client
Pedro Leite - 16 Jun 2006 12:45 PM - 5 messages
Good Afternoon. the code below is properly retreiving binary data from a database and saving it. but instead of saving at client machine is saving at the server machine. what is wrong with my code ?? thank you Pedro Leite From Portugal ...
Score Print Variable Data Type
Jess - 15 Jun 2006 7:39 PM - 4 messages
Is there a way to print a variable's data type - like int, string, dbl? ...
Score Oracle and asp.....still cannot figure this out.
clinttoris - 15 Jun 2006 7:00 PM - 25 messages
Could some please finish this line of code.  For the life of me whatever I try it does not work. I am trying to insert the current date time into oracle.  Now I know that in oracle if I run ...
Score split question
peashoe - 15 Jun 2006 1:11 PM - 5 messages
Can anyone help me with a simple split problem. I've never done it before and I have no clue. I have value sSearch = Lastname Firstname I need to split it into two separate field: sLast = Lastname sFirst = Firstname I tried ...
Score MM_KEEP_URL Help
Simon Gare - 15 Jun 2006 12:43 PM - 1 message
Hi, I have a record summary page in a repeat region, when I click on the link it takes me to the detail page, problem is when I go back to the summary page the original URL keeps the unique identifier. When I click another link on ...
Score website permissions
raj chahal - 15 Jun 2006 11:34 AM - 1 message
Hi There Could someone help tell me what permissions I need to set my websites to that run under IIS5 (on a windows 2000 server) At the moment I have folders of websites within the c:\inetpub i.e web1 web2 ...
Score Force new page in printed repeat region
Simon Gare - 15 Jun 2006 10:18 AM - 1 message
Hi, I have an ASP page that users print off onto headed paper, question is how do I force a new page when the length of the data varies from at times less than a page to many pages at other times? ...
Score Return value
solomon_13000 - 15 Jun 2006 9:36 AM - 9 messages
The code bellow functions well. However if I want to obtain a return value using the code bellow, how is it done? <% Sub RunQueryString (pSQL,parms) on error resume next Set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & ...
Score How To Pick Winning Stocks
info - 15 Jun 2006 8:07 AM - 1 message
To pick winning stocks, you need the tools to separate the companies with superior sales and profit growth from the ones who are just making a lot of noise. Besides choosing the right companies to invest in, you must learn how to read the market's trend so that your timing ...
Score Form Validation
solomon_13000 - 15 Jun 2006 5:53 AM - 1 message
What is the best way to validate a form field and display an error message. Are there better examples than shown bellow? <% Sub ValidateForm(sValue,count) If Len(Trim(sValue)) > count then session("boolean") = false else session("boolean") = true ...
Score Small business starterkit deployment issues
Damian - 15 Jun 2006 1:27 AM - 4 messages
Has anyone on the team responsible for the smallbusiness starter kit every ran this thing on anything other than the Visual Studio Development Server. After spending time getting used to this kit and adding my pages to it (only pages no custom code), I tryed deploying it to my hosting provider. After ...
Score Session variables was lost using response.redirect
Dornel - 14 Jun 2006 8:35 PM - 1 message
Hi all, My session variables are lost when I using response.redirect at first time... In the second time, the problem not exists. example in page 1(create session and redirect): session("nome") = "teste" response.redirect = "page2.asp" page 2(show content of session): ...
Score SHOW IF statement Help
Simon Gare - 14 Jun 2006 8:11 PM - 3 messages
Hi, how could apply a 'Show IF' statement that would only show an entry if the entry was a building name and not a number to the section below. <td class="Collection"><span class="DataSetText"><%=(Pricing.Fields.Item("COLL_BUILDING_NAME_NO").Value)% ...
Score protecting password
solomon_13000 - 14 Jun 2006 1:11 PM - 21 messages
I am using ms access database and asp 3.0 as my front end. In my database there is a table called account and a field called password. How do I protect the password stored in the database. ...
Score configured identity incorrect error
ads - 14 Jun 2006 7:30 AM - 3 messages
we have just migrated to a new server both with database and web server- migrating all web projects and all databases.then we decided to rename the new server.we tried running all web projects on the new server but it doesnt ...
Score Problem With CDO in sending formatted text mail
k.visube - 14 Jun 2006 6:15 AM - 5 messages
In my ASP application,i need to send a formatted text mail (i.e with newline characters). here in my application  i used a function in javascript which construts the mail body sample  snippet strbody=strbody +"dear customer,\n"; ...
Score Cannot send mail from ASP using CDO
Rajani - 14 Jun 2006 5:54 AM - 3 messages
Hi friends,     I am sending mail from ASP program. My server is win 2k, IIS 5. SMTP server is configured. I am generating a report(purchase order) and the same sending as an email to the supplier. upto last week it was sending well. Now its returning bounce ...
Score [ASP/vbScript] Shopping Cart - removing items by quantity - theory..
Rob Meade - 13 Jun 2006 10:00 PM - 10 messages
Hi all, Ok - so I've got the array thing going on, and the session thing going on, and up until now its all been ok. I've got my view basket page which is displaying 3 rows (as an example) - I ...
Score stream excel sheet from binary database to the browser
Pedro Leite - 13 Jun 2006 3:59 PM - 2 messages
hello. got stalled at at point that i can no longer get my thoughts together. the point, is in classic asp, stream an excel file from a firebird database. temporarly save it if necessary stream it to the browser delete the temp file ...
Score Visit Us
farhad.jalali - 13 Jun 2006 1:46 PM - 1 message
Visit most user friendly ISPs billing software at [link] ...
Score Opening new asp page using response.redirect
anuragsji - 13 Jun 2006 11:39 AM - 10 messages
Hi, I have one combo box and GO button on the click of GO button page submitted and according to selection of one of the option from combo I want to redirect my page to some new asp page but at the same time in ...
Score Forward XML request
Bingo - 13 Jun 2006 9:55 AM - 3 messages
Hi group ! I am trying to write an ASP page that would forward an XML request to a remote server, and then write the response to the client (a kind of proxy, if you like). I am sending the query to this ASP via a VBA (access2k) procedure, ...
Score Include a CGI file in an ASP file?
Bill - 13 Jun 2006 4:23 AM - 2 messages
How can I include a .cgi file in an .ASP file? I've tried #include, Server.Transfer, and Server.Execute (yes, I know the last two are only for ASP, but I tried it anyway). If I have to, I guess I'll use ASPHTTP to do an http call to the file but first I wanted ...
Score CDO + Cookies
surf_doggie - 12 Jun 2006 11:20 PM - 5 messages
I found that a number of my sites that send email using CDO failed withing the past 30 days. Consider the following. I know its not the best coding practice to open and close the connection so many times but ...
Score Opening and Filling New Windows
EA - 12 Jun 2006 9:01 PM - 5 messages
The code below successfully open a blank new Window, the OpenWin function is held in a separate file and I use it successfully to open windows elsewhere on my site.  However the window is completely blank and "about:blank - ...
Score [ASP] Arrays - removing an item?
Rob Meade - 12 Jun 2006 8:05 PM - 10 messages
Hi all, I have an array of lets say 10 items, I now want to remove an item, lets say from somewhere in the middle, based on one of the element values equalling a value I specify - is there a "clever" and "quick" way of doing this or, will ...
Score Re: error '80131509'
bseddon - 12 Jun 2006 6:42 PM - 1 message
Jason Rowland wrote: This reply is being posted (two years too late) because I ran into the 80131509 problem and this post is the most frequently presented by Google in response to this error number.  However the thread doesn't (didn't) contain an answer. Having spent two hours cracking the problems, others might save a bit of time knowing an answer. ...
Score CDO in header?
Keith D - 12 Jun 2006 6:24 PM - 2 messages
I have multiple asp files which used CDONTS.  As we are switching over to CDOSYS these files need to be updated.  Is there a way that the cdo commands can be called from one general area, rather then have to modify each file? ...
Score asp insert
Eugene Anthony - 12 Jun 2006 5:49 PM - 12 messages
The code bellow functions well when I attemp to delete a record. But when I attemp to insert a record I am getting the following error -2147217900:Syntax error in INSERT INTO statement. How do I solve the problem?. <% ...
Score Code for alternating colored rows.
crab.dae - 12 Jun 2006 3:36 PM - 5 messages
Not sure if any one can help but I'm loading data into a table that I've like to alternate the background color of the rows (White then pink).  Can someone tell me what I need to add to do this? ...
Score Alternative component for Commerce server's page object
Christian Perthen - 12 Jun 2006 1:25 PM - 3 messages
Hi, I am seeking an alternative component for MS Commerce Servers page object. Mostly used for creating and retrieving URLs Exemple, Dim strVar strVar = mscspage.requeststring("strVar", null) Dim intVar intVar = mscspage.requestnumber("intVar", 0) and <a href="<%="default.asp?" & mscspage.URLargs("strVar", strVar, "intVar", ...
Score Field Calculation SQL
Simon Gare - 12 Jun 2006 12:27 PM - 2 messages
Hi, would like to calculate field based on the entry in another i.e.; field3 = field2 X field1 field1            field2            field3 ...
Score Recyling of sessionID in ASP.NET 2.0
Ibrahim. - 12 Jun 2006 10:46 AM - 2 messages
When a new request is made to the server a new session id is issued to the client (a browser instance). The problem I’m  facing is that session id that is already assigned to a browser instance is getting recycled for another ...
Score help needed in usps services
vijender.mca@gmail.com - 12 Jun 2006 8:55 AM - 3 messages
Hai friends,               I am trying to send an XML transmission to the US Postal Service to retrieve shipping rates but so far have been unsuccessful.             Can any one help  me and provide me  a source code for usps ...
Score Reoprt
amatuer - 12 Jun 2006 8:44 AM - 1 message
Hi, im tryng to display some data in a report. The data im displaying is corect,but it contains calculating totals as well. The totals that r displayng r incorrect.Plaese hav a look at the code below to see if u cn spot anythng im doing wrong. ...
Score Paging
Eugene Anthony - 11 Jun 2006 5:24 PM - 4 messages
The code bellow does paging of recordset. How do I create the next and previous button for this code? Also is there a way of implementing paging without including adovbs.inc? <!-- #INCLUDE FILE="adovbs.inc" --> <html> ...
Score I need Help
Rizwan - 11 Jun 2006 7:29 AM - 2 messages
I am writing this code for file upload in asp 3.0 on my webpage........ It is working on local system but when i want to upload an image on my website from client machine it is not working ....... can somebody help me ...
Score Master Pages causing me grief
Chad - 11 Jun 2006 5:44 AM - 3 messages
I want to pass a string variable from default3.aspx to default2.aspx. I create a property in default2.aspx, called "X", and assign a value. I then call Server.Transfer("default3.aspx") In default3.aspx I have this code: ...
Next »