Home All Groups Group Topic Archive Search About



Active Server Pages (ASP) Programming Discussion

microsoft.public.inetserver.asp.general
Score Upload Limits - Change in Code?
Andrew Virnuls - 13 Oct 2006 2:27 PM - 7 messages
Hello all! We run a service for children who are off school for medical reasons, and we had a web-site that allows them to "submit" their work to teachers for marking.  The site uses ASP code to upload the files into student folders ...
Score execute() not working
iulian.ilea - 13 Oct 2006 9:29 AM - 7 messages
Hello, I have this code: ________________________________________________________ if VarType(eval("inTotal" & arr(4,i1)))=0 then    response.write "ok, dim"    execute("dim inTotal" & arr(4,i1) & ":inTotal" & arr(4,i1) & "=" & arr_(i1,i2)) ...
Score Handling checkboxes, a question of style?
Sean S - Perth, WA - 13 Oct 2006 6:51 AM - 3 messages
Hi all, I have an edit form for records that belong to numerous categories. Records are joined to categories with a join table in a many-to-many relationship. When displaying a record for editing I loop through the category recordset, ...
Score ASP/XML stream to Excel
Xanthus - 13 Oct 2006 2:47 AM - 1 message
My webpage opens a vbscript only page that gets data in xml format and streams it to Excel. (As described at [link] -  Using VB and ASP with XML to generate Excel 2003 workbooks). ...
Score help with ASP RSS creation
XML noob - 12 Oct 2006 5:52 PM - 2 messages
hi everyone. im new to the rss "movement" and would like to implement it on one of my companies internal sites. we have a site that allows users to leave messages for other users based on email address. so for example i can ...
Score highlighting user selected option after form submit
brendan.wong - 12 Oct 2006 5:29 PM - 8 messages
hello.  i have a really simple form that asks the user to select a Month from a dropdown.  the first time a user visits the page, the highlighted option should be October, which works fine.  then, if the ...
Score errors in asp code
hemdagem - 12 Oct 2006 2:49 PM - 6 messages
<% 2. option explicit 3. ' 4. set fs=CreateObject("Scripting.FileSystemObject") 5. set tfile=fs.CreateTextFile("c:\somefile.txt") 6. test = "Hello World!" 6. tfile.WriteLine(test) 7. ' 8. response.write("<table>") & vbcrlf 9. ' 10. for again = 1 to 50 ...
Score Focus on HTML File Field Control
kishore.reddys - 12 Oct 2006 10:37 AM - 2 messages
hi,      I have a specific requirement.I have a html file field control in my page..i browse for file to upload and when i close the dialog box,the cursor position should be in the text box of that file field ...
Score Global resources problem on production server
Gediminas - 12 Oct 2006 10:04 AM - 3 messages
Hello,   We made a project which is using global resources strings for buttons (ASP.NET 2.0). On development workstation (Windows XP, VS 2005 with .NET 1.1 & 2.0) everything was fine, but when we deployed project to production server ...
Score ASP - Excel to Database
cancer10 - 12 Oct 2006 4:02 AM - 1 message
Hello All, Can someone help me with this problem? I have 3 colums in an excel sheet (Serial No, Name, Mobile no), I want to put all the data in the excel sheet into the database which also has 3 colums (Serial No, Name, Mobile no) with a single click of a button ...
Score Can user IUSR_SVR1 on SRV1 get permissions to files on SVR2?
Marceepoo - 12 Oct 2006 1:14 AM - 3 messages
I have a vbscript that runs from an ASP file on a server (SVR1) that I want to be able to manipulate files on another server (named SVR2) in the domain.  Can the user IUSR_SVR1 on SRV1 (the ASP server) be given permissions to ...
Score authentication mode
wdy - 11 Oct 2006 9:58 PM - 2 messages
I try to build a simple web aplication in ASP.NET in Visual Studio 5. When I run finished web aplication from inside VS5: localhost:1675/test2/Default.aspx everything is OK, works good. But when I just navigate in my browser to: ...
Score Session State question
Rob - 11 Oct 2006 7:24 PM - 3 messages
I have a problem where the session state will not be enabled on the server.  We are using Framework 1.1, a non-Sql Server database, and will be moving the application to a web farm in the future. Is there any way to keep the session ...
Score New session for every page???
ssattert - 11 Oct 2006 5:34 PM - 7 messages
Hey All! I recently bought a new web server and am in the process of migrating all of our websites over.  We're going from Windows 2000 IIS 5.0 to Windows 2003 IIS 6.0.  I've been able to get everything to work ...
Score displaying a drop down selection with ASP
bvlmv - 11 Oct 2006 4:59 PM - 7 messages
Hello, relatively new to programming and just trying to create a simple asp page. I have the following drop down menu on a html page and when submitting i would like to call out on asp what someone has selected. ...
Score Help in writing SQL using request.form.item(i)
Michael Kujawa - 11 Oct 2006 4:12 PM - 5 messages
I am using the following to create an SQL statement using the names and values from request.form. The loop goes through each item in request.form The issue comes in having an additional "and" at the end of the loop and the value of x3 as not all options may be selected ...
Score 404 error when accessing an ASP page from a remote machine
ken.beutler - 11 Oct 2006 4:01 PM - 2 messages
I am getting a 404 error when trying to access an ASP page from a remote machine (via Internet Explorer).  However, the asp page is processed successfully when accessing this page from the local machine. I checked permissions from IIS administration and from explorer and ...
Score ExecuteWinApp not able to run the command
kk.simhadri - 11 Oct 2006 3:35 PM - 1 message
Hi all I want to run a bat file in the server through an ASP page. The following is the code in my ASP page. <html> <body> <html> <body> <form runat="server"> ...
Score ADODB.Field error '80020009' Cannot find record
peashoe - 11 Oct 2006 3:16 PM - 1 message
I get the following error: ADODB.Field error '80020009'  Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. This is my code: ' Get if module is hand-approved or not. ...
Score ADODB.Field error '80020009' Cannot find record
peashoe - 11 Oct 2006 3:16 PM - 5 messages
I get the following error: ADODB.Field error '80020009'  Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record. This is my code: ' Get if module is hand-approved or not. ...
Score Carriage Return and Response.Write Output Issue
crjunk - 11 Oct 2006 3:14 PM - 9 messages
I have a field in a SQL Server table named DetailedDescription that is a varchar.  If the  user adds/edits a  detailed description, they do so in a MulltiLine TextBox control.   Therefore, they are able to click ...
Score cdo.message
hugh welford - 11 Oct 2006 1:50 PM - 2 messages
Hi - using cdo.message to send site generated messages to our members. Is there a cdo function (such as cdo.validate for example) whereby one could check the validity of an address before one sends, thereby avoiding the flood or error messages caused by people discontinuing an address without ...
Score Percentage Calculation question....
David - 11 Oct 2006 1:14 PM - 7 messages
Hi, I have the following calculation I am trying to work out ..... Not sure how ? Variable 1 = minstock Variable 2 = oDict(oKey) I need to test if my variable 'minstock' <= 40% of oDict(oKey) I've tried IF minstock <= oDict(oKey)*0.4 then ...
Score Request.BinaryRead(count)
Water Cooler v2 - 11 Oct 2006 9:36 AM - 3 messages
Just trying to experiment with the Request.BinaryRead(count) method. What's wrong with this script? <SCRIPT Language="VBScript" runat="server"> Dim b b = Request.BinaryRead(Request.TotalBytes) Dim Counter If IsArray(b) Then     If Not IsEmpty(b) Then ...
Score wierd
amatuer - 11 Oct 2006 9:25 AM - 3 messages
Response object error 'ASP 0251 : 80004005' Response Buffer Limit Exceeded /reenval/reen_10_1.asp, line 0 Execution of the ASP page caused the Response Buffer to exceed its configured limit. Above is the error msg that i receive wen quering some data. Before the ...
Score search on pdf files
PM - 10 Oct 2006 10:43 PM - 2 messages
I want to implement a search funcionalitý on a site, that searches on pdf files. Is there a (free and easy) way to do that on win server 2003? ...
Score Multiple sessions, how to kill only one
Mangler - 10 Oct 2006 7:30 PM - 4 messages
I have 2 sessions that get created.  One when the user logs in called "uname" and another called "idrma" when that user choses to begin a repair request.  I know <%session.abandon%>  will kill both sessions, ...
Score Convert the code from gb2312 to unicode in ASP
wood0000 - 10 Oct 2006 6:15 PM - 8 messages
Hi, I know the code of a character is -12590, do you know how to convert to the character in ASP (It is a Chinese character in gb2312 format)? Or, do you know how to convert this -12590 to its unicode format 25105 ...
Score Cannot read application settings
vvenk - 10 Oct 2006 12:35 PM - 3 messages
Hello: I've defined two application settings in my web.config file. But in the following code :         Dim rootWebConfig1 As System.Configuration.Configuration         rootWebConfig1 = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration(Nothing) ...
Score XML - load contents onto page.
SuperMario - 10 Oct 2006 10:15 AM - 3 messages
Hello, We have a web site using CLASSIC ASP, and a client with what would appear to be a non conforming XML document. Their remote XML document in its entirety looks like so: <?xml version="1.0" encoding="utf-8"?> ...
Score Problem with ASP
alegreen - 10 Oct 2006 9:20 AM - 1 message
Here my code: [I cannot attach the code!!! The server claimed errors!] Any suggestion? Thanks! [/B] ...
Score Problem with ASP
alegreen - 10 Oct 2006 9:17 AM - 2 messages
Hi! I am new with ASP. Recently I'm trying to use a db + ASP but got this error: Microsoft OLE DB Provider for ODBC Drivers error '80040e10' [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. /list.asp, line 198 ...
Score error mesage...help
amatuer - 10 Oct 2006 8:12 AM - 3 messages
Microsoft OLE DB Provider for SQL Server error '80040e24' Rowset does not support fetching backward. /reenval/reen_mnde1.asp, line 16 code:     do while not(rstMainJr.eof)     JaarAantal = JaarAantal +1     rstMainJr.movenext ...
Score how to run a bat file in remote PC through ASP
kk.simhadri - 10 Oct 2006 6:13 AM - 3 messages
Hi everybody, I want to run a bat file which is on different PC in the same network. I am able to run a batch file in my PC through the following code <%     set wshell = CreateObject("WScript.Shell") ...
Score Dan <-- 香港IT界超级溅人
hkhellhkhell - 10 Oct 2006 4:25 AM - 1 message
Dan <-- 香港IT界超级溅人 在香港一间IT公司名叫Advanced Telesoft, 有个程序员叫阿Dan, 平时扮cool, 背後插你, 在老板面前数你不是, 践踏你的技术. 第一, 作为一个男人, 根本无可能做出数臭人家的事, 这个是小女人所为. 第二, 为何你只数臭新入来的员工, 不是怕得罪高层是甚麽 第叁, 你只懂asp.net, 你不说给我知做asp.net会变成电脑高手,所以你根本无资格笑人 第四, 人家入来工作只有一个月, 平日和你都无两句,你又知人家技术好不好? hkhellhkh***@hotmail.com ...
Score Running Bat file from ASP on Windows Server x64 problem.
GP - 10 Oct 2006 2:20 AM - 4 messages
Hi, I'm having trouble running a bat file from an ASP page. It works fine on Windows 2003 Std x32 server but fails now we have upgraded to the x64 edition In the ASP we are trying to run the following ...
Score ASP Looping Weird Behavior
John - 9 Oct 2006 2:34 PM - 2 messages
Hi Everyone, I have a strange little problem which I am having difficulty overcoming. I have a loop in ASP: <% For x=0 to 10   Response.Write("Some text...") Next %> Right after the loop I have some text: ...
Score Assign Javascript value to asp session variable
philin007 - 9 Oct 2006 6:58 AM - 5 messages
Hi , I have the following javascript codes: ****************************************** <script language="JavaScript"> <!-- .... ..... if (nextRow >5) { <%Session("txtTotal")=%> = nextRow; for (var i=1; i<NewTotalRow; i++) { <% 'session("txtBeginDT" & i) = 'session("txtEndDT" & i) = %> ...
Score Accessing ATL web service from ASP
Sujith Manuel - 9 Oct 2006 6:49 AM - 4 messages
Hi All, Could someone have got samples on how to use ATL web services from an ASP page?. Thanks in advance, Sujith. ...
Score Richard Mueller... you out there?
Jim D - 8 Oct 2006 6:18 PM - 3 messages
Hi Richard. You've helped me out in the past so I thought I'd present you with the latest problem that we can't seem to fix. Consider an ASP page with a form that has a few text fields... name, ...
Score retreiving data from html page
Jeff - 8 Oct 2006 1:36 PM - 9 messages
I asked this question sometime ago. some help was given, but A.) i didn't understand the help and B.) I can't find the post. i am looking for a way to take a table of stats on an HTML page, and turn ...
Score Quizz script performance bug -- too many questions?
marc_r_bertrand - 8 Oct 2006 11:12 AM - 17 messages
To all asp/db pros: The quiz code below works. But there is a problem when too many questions are answered (radio buttons clicked). I am not an asp pro. So, is there a pro out there or an amateur guru who will be so kind as ...
Next »