all groups > inetserver asp general > september 2005
Filter by week: 1 2 3 4 5
How to keep the data in the form fields visible after the submit button is pressed
Posted by karenmiddleol NO[at]SPAM yahoo.com at 9/30/2005 9:37:00 PM
I have the following form the user enters the From and to period and
presses the Submit button and the form fields are cleared once the
submit button is pressed.
Is there a way I can keep the Form fields visible and not cleared.
Also when I display the message I want the original form cleare... more >>
CDONTS error - too much data?
Posted by Griff at 9/30/2005 5:34:10 PM
I have been using the CDONTS component on Windows 2000 to send emails for a
long time now (code below).
However, over time, the report that I am sending has got rather longer and
it now gives me an "unknown exception" error. However, I know that it's
because there's now too much data (If I... more >>
Help!!!!!!
Posted by namssalg at 9/30/2005 4:20:15 PM
Hi i have a web page for a glazing business and want to offer a online
price calculater, the options to select would be :
Type of window Wood,Upvc, Aluminium (drop down box)
Type of Glass : Clear, pattern (drop down box)
Decoration : Georgian, leaded , etc (drop down box)
Size : Width... more >>
Visual InterDev 6 web project wizard and IIS question
Posted by strutsng NO[at]SPAM gmail.com at 9/30/2005 11:36:42 AM
I have 3 questions regarding IIS and ASP project creation in Visual
InterDev 6.
1) In Visual InterDev 6, When I create a new project using web project
wizard, I
put C:\Inetpub\wwwroot\proj as location, and it shows the following
error:
cannot create a disk-based web application in
'C:\Ine... more >>
Basic Authentication
Posted by Vittorio Pavesi at 9/30/2005 11:23:42 AM
Hello,
I'm using MSXML2.ServerXMLHTTP to get a web page using an url with basi
c authentication (e.g. http://user:password@www.mysite.it).
Microsoft denied basic authentication within Internet Explorer URL (see
KB 834489) so I'm unable to get the page contents.
The client-side workaround ... more >>
searches and returns with an apostrophe
Posted by JJP at 9/30/2005 11:12:04 AM
hi,
I am searching a SQL database from an ASP page.
When the user enters criteria with an apostrophe in it, result set is empty
when there should be records.
For example, the SQL database contains the record Children's Museum
When a search is done without an apostrophe i.e. "children", the r... more >>
Suspecting submit form error
Posted by Andy Kasotia at 9/30/2005 10:39:30 AM
I have an ASP UI with VB Dll as a COM object that access the DB2
Database.
I have a "Calculate" button on the ASP Page which when clicked does form
validation (javascript) and submits the form (Javascript) to the same
ASP page. When the ASP page receives the form information it stores all
the... more >>
What is wrong I want the form and the form validation in the same page
Posted by karenmiddleol NO[at]SPAM yahoo.com at 9/30/2005 7:01:09 AM
I have a simple form to accept two form fields and display the values
entered on pressing the submit button. The following is the form I have
created to accept the two entries and display the form fields on
pressing the submit form. It does not work can somebody please correct
the code or provid... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP ... ? somone help PLEASE!
Posted by zac123 at 9/30/2005 6:52:11 AM
thanks for that everyone, i will have a look at the free ms program a
suggested. but i think i will probably stick to designing static htm
pages, which i have just about mastered.
its just a shame - i wanted to be able to do the whole thing, desig
and applications. it just seems a bit silly t... more >>
show all files in the directory, but how to show directory control??
Posted by strutsng NO[at]SPAM gmail.com at 9/30/2005 12:14:47 AM
I want to write an asp page that allows the user to choose the
directory, and it will show all files in that directory.
I used the tag <input type="file">, but this is for selecting a file,
not directory.
<form action="process.asp" method="post">
<p><input type="file" name="mydir">
<p><input... more >>
Check if a document is loaded in ASP
Posted by vanisathish NO[at]SPAM gmail.com at 9/29/2005 9:45:07 PM
I am using an ASP to update some table contents on my HTML page by
calling the ASP page using hidden frames.
But the ASP script seem to get called even before the HTML FRAME is
loaded ie.(operlayout_preload.html). Is there a way to check in ASP
that it should start running only after the html ... more >>
How to log ASP-error codes?
Posted by Michael Bender at 9/29/2005 6:39:26 PM
Hi everybody,
I would like to write ASP error codes in a log file. Error message would be
for example:
ADODB.Fields error '800a0cc1'
Item cannot be found in the collection corresponding to the requested name
or ordinal.
/ASP-application/page1.asp, line 67
I've learned that it is possi... more >>
Browser Capability
Posted by Prabhat at 9/29/2005 3:07:56 PM
Hi All,
I have IE6.0 SP1 and I executed one asp file with the below script to check
the browser capability but see the result below the script...Copied from
MSDN :)
<% Set bc = Server.CreateObject("MSWC.BrowserType") %>
Browser: <%= bc.browser %><BR>
Version: <%= bc.version %><BR>
Support... more >>
Server Application Unavailable
Posted by Chris Davoli at 9/29/2005 12:28:02 PM
I'm getting these errors:
IN VS.NET:
The web server reported the following error when attempting to create or
open the web project located at the following URL:
'http://localhost/webapplication1. 'HTTP/1.1 500 Internal Server Error'.
IN BROWSER:
Server Application Unavailable
The web a... more >>
ASP ... ? somone help PLEASE!
Posted by zac123 at 9/29/2005 6:29:20 AM
Thanks Jeff,
what i'm looking to do is to be able to create forms and have a secure
login area.
how can i get the data that a user inputs to my ms sql database and
then collect that data from my desk top pc?
lets just say i have a simple contact form , should this page be html?
and how... more >>
Post result to inputbox in other html
Posted by tony wong at 9/28/2005 10:42:41 PM
i have a html form to select fax number.
i wish to post the fax numbers at such layout (123456;234567;34567) to the
inputbox at other html page.
Can i do it? Thanks a lot.
Tony
... more >>
asp 3.0 or IIS 6 issue
Posted by jose.mendez22 NO[at]SPAM gmail.com at 9/28/2005 2:28:43 PM
I'm working with ASP 3.0 and IIS 6. I have an ASP script file that
when I post, it makes as call to a DB to process a stored procedure.
The time to complete the db process varies from 2 to 5 to 10 min.
I've set the ScriptTimeout to a large number however the page never
gets rendered with a resu... more >>
Cookie Expires - can't set in sub?
Posted by Chad Richardson at 9/28/2005 11:54:45 AM
I have several users data elements that I want to maintain and persist. I've
created a cookie with keys to do this, but having problems with it
persisting.
1. Do you set the .Expires at the Cookie level or at the Key level?
2. Once you set the .Expires, do you need to reset it, if you then... more >>
how to track iis generated email status
Posted by Dica at 9/28/2005 11:11:02 AM
i've got a client that wants to be able to review records about IIS
generated emails.
in his own words, he wants the "ability to track and report message status
(i.e. how many messages were sent successfully, how many were blocked, how
many bounced back with an incorrect address)"
i'd start... more >>
ASP ... ? somone help PLEASE!
Posted by zac123 at 9/28/2005 8:54:03 AM
I know this sound stupid but i just dont know which way to turn....
i have a MS hosting package so i know i need to use an ASP language -
but which one, there would sem to be severeal ASP,ASP.NET, ASP VB, C#
all kinds ????
And do is there any software that ill produce the code for me?
... more >>
-260=B0C_centigrade_problem
Posted by Jayesh at 9/28/2005 6:19:11 AM
Hello...I am using xp_smtpsendmail procedure in order to send mail for
my web base application.
But when i sent -260=B0C user will get -260°C. which is scrap.
Please give me some idea if anybody have overcome through this problem.
Welcome your suggestion.
Thanks,
Jayesh Patel
... more >>
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression
Posted by dcarson NO[at]SPAM displayspecialties.com at 9/28/2005 6:04:52 AM
I've read about this error in several other discussions, but still
can't seem to pinpoint the problem with my code. Everything seemed to
be working fine for some time, but it now tends to bomb out on me for
some reason. The Summary field is pulled from a Rich Text Editor that
allows HTML formatt... more >>
Internet Explorer prompts users with two open/save as dialogs
Posted by David Perez at 9/28/2005 5:31:08 AM
Hello.
I have a problem with my Web Application in VB.NET and aspx pages. I try to
open a SaveDialog window, to open or save a document when user clicl on a
button, and Internet Explorer prompts users with two open/save as dialogs.
this happens only when select "Open" button.
This issue ... more >>
Recordset In Session!
Posted by Arpan at 9/28/2005 5:14:45 AM
How do I store an entire recordset in one single Session variable?
Thanks,
Arpan
... more >>
ASP.NET Design Tools
Posted by savvaschr NO[at]SPAM nodalsoft.com.cy at 9/28/2005 5:03:20 AM
Hello ,
I am new to asp.net but old to vb.net .. so i dont find any dificulties
to move arround in code.
But my problem is , HOW to design the stracture of the web page in
Asp.Net.
For example , in the tool box there are no frames or a line object tha
can drow lines ,or other design tools fo... more >>
Resize popup window to fit text
Posted by Terren at 9/28/2005 12:10:48 AM
I have a popup window that is used to display text from a database.
Some times it can be a few words, sometimes it can be a hundred words.
What I would like to do is resize the popup window to fit the text.
Well actually it is just the height that needs to be resized. I have
set the width to 6... more >>
Display Access memo field
Posted by Vincent Lau at 9/28/2005 12:00:00 AM
Hello,
I'm new on ASP and Access. I stored several lines of information in a Access
memo field.
I use follow ASP response.write statement to display contain of the memo
field.
Response.Write sa1("job_detail")
However, all the lines are mixed into one line. How can I show it in the
origin... more >>
Alias!
Posted by Arpan at 9/27/2005 6:46:49 PM
How do I assign an alias to the mandatory "From" parameter while
sending mails using CDONTS? The "From" parameter usually takes the
following form:
<%
Dim objMail
Set objMail=Server.CreateObject("CDONTS.NEWMAIL")
objMail.From="jack@mailserver.com"
objMail.To="greg@mailserver... more >>
send batch of sql statements to sql server
Posted by JT at 9/27/2005 4:39:46 PM
can someone point me in the right direction for learning more about how to
go about sending a batch of sql statements from asp to sql server, and
having errors appropriately handled?
for example,
i want to send the following stored procedure calls to sql server in a
single batch from my asp... more >>
Need Instructions on Setting up an ASP Application
Posted by SMAccount at 9/27/2005 3:23:17 PM
I have not used ASP before. Are there cookbook instructions for how to
set up an asp directory structure. It is not clear to me how I must
mark directories (virtual or physical), so they will all be considered
to be part of the same application. Thanks.
... more >>
asp pages ignoring lines of script
Posted by s_m_b at 9/27/2005 1:42:55 PM
Can't figure this one.
web page with vbscript asp, w2k/iis5
The page opens with no errors (syntax errors get picked up just fine)
but. If a line contains a variable that's either not dimmed, or has no
value, or returns a bad value from say instr(), the line is simply ignored,
or if its inside... more >>
ASP error CreateObject("Word.Application") failed
Posted by MaxiWheat at 9/27/2005 1:35:39 PM
Hi,
I am using a software that uses MS Word to create PDF files. When I try
to run the sample code (ASP 3.0), I get an error on this statement :
Set oWord = Server.CreateObject("Word.Application")
That error says :
The call to Server.CreateObject failed while checking permissions.
Access... more >>
What site the visitor has come from?
Posted by Hari at 9/27/2005 12:14:33 PM
Hi,
How can I find out what site a visitor has come from using ASP?
Suppose my website is sample.com and I have one page in the website that is
used by the visitor to request products and demo. And on each request that
page will send email to webmaster with the URL of the site that the visit... more >>
how session cookie is stored?
Posted by jrefactors NO[at]SPAM hotmail.com at 9/27/2005 12:01:51 PM
There are two cookie types:
1) session cookie.
2) persistent cookie is the same as tracking cookie?
Is that correct?
For windows machine, the files in C:\Documents and
Settings\Administrator\Cookies
are all persistent cookie, it doesn't have session cookie?
How session cookies are store... more >>
ASP forbidden on the network
Posted by J_J at 9/27/2005 11:15:21 AM
Hi,
Below is the message I received when I attempted to use a web page on our
network that makes use of ASP.
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from
a directory that does not allow programs to be executed.
----------------... more >>
tracert from an asp page
Posted by Paul Bergson at 9/27/2005 8:14:06 AM
I need to code a tracert function from an asp page. I can write some asp
but I'm saddled with notepad as my development suite.
Any pointers on getting a tracert type function from within asp?
--
Thanks
Paul
... more >>
Permissions on another server
Posted by middletree at 9/27/2005 8:01:49 AM
I have two separate questions that are closely related enough that I am
going to package them here.
1. On an Intranet app which tracks tickets for the Tech Support department,
I have the word "Files" hyperlinked like this: <a href=\\servername\files\
target="_blank"> and it points to a se... more >>
I need a good mail api for ASP
Posted by Keith at 9/27/2005 6:33:24 AM
I have a simple ASP app (not ASP.Net) that I need to send email from.
Can anyone make a recommendation, and share why that's the best one?
(cdo, msxml, etc)
Thanks.
... more >>
Cannot appent to textfile
Posted by Rolf Rosenquist at 9/27/2005 1:49:34 AM
With the following code I can create a new textfile if it does not exist,
but it seems impossible to me, to append data to an existing file.
Dim objOpenFile, objFSO, strPath
StrPath = Server.MapPath("../smslog.txt")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
... more >>
Edit a drop down box in asp
Posted by Terren at 9/27/2005 1:06:35 AM
I need to be able to edit a drop down box is asp. On my web app I
populate a drop down box from a databse. The user can then select an
option that will then be saved to a Database for example
Mr
Mrs
Miss
but if the option is not their e.g Dr, Prof etc then I want them to be
able to enter ... more >>
Session_OnStart does not start
Posted by Prabhat at 9/27/2005 12:00:00 AM
Hi All,
The "Session_OnStart" event doesnot fire if the website has .htm file as the
startup document. If I change the extension of the default document from
..htm to .asp then I can see the event fires, But now I cant change the
default page to .asp.
How can I make the Session_OnStart fire... more >>
Password Protected Web site
Posted by RICHARD BROMBERG at 9/27/2005 12:00:00 AM
I am building a password protected ASP web site.
(http://www.allscrewedup.org)
When you go to this site there is a link in upper left corner (VIP) that
takes you to a Logon Screen.
The user must enter a user name and password to gain access to the secure
pages which follow.
This works ... more >>
what replaces attachURL with CDO.Message?
Posted by Dica at 9/27/2005 12:00:00 AM
if i needed to embed a graphic in my email, i could use CDONTS's attachURL
method. since attachURL isn't supported with CDO.Message, what can i use to
embed graphics?
tks
... more >>
testing ASP pages with Windows Front Page
Posted by J_J at 9/26/2005 11:16:31 PM
Hi,
I have FrontPage 2003 on my XP laptop.
I need to test some web pages with *.asp codes which worked perfectly well
with my old Win95 computer in the past. Of course I had to install Personal
Web Server to it in order to do the job.
The help files of FP, gives the clue that it has the facil... more >>
checking for frames
Posted by middletree at 9/26/2005 2:26:09 PM
For the record, I hate frames. But I am stuck with them for this project.
Just wanted to get that out of the way so that any helpful replies I get
won't include chastisement for using frames.
OK, here's the question. How can I use a server-side script to determine if
the page being loaded is d... more >>
Running a script from ASP-page
Posted by DanC at 9/26/2005 2:21:03 PM
I need to run a script in a ASP-page.
Everthing runs exect the script.
Set objWShell = CreateObject("WScript.Shell")
Set objCmd = objWShell.Exec("cscript /nologo c:\sss\sasysdag.js
/addclass " & Request.Form("klas"))
I get an error on the Exec-line. On the server it shows ASP-scrip... more >>
Avoiding IE warning messages
Posted by kermit at 9/26/2005 8:01:02 AM
I asp.net pages that run on an intranet IIS server. Some op the pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control. . . "
How can I avo... more >>
ASP post loosing the data
Posted by ChrisM at 9/26/2005 7:59:04 AM
We have a create ASP page where the user fills in the fields and clicks
submit to post the data to a save page. Recently it looks like the data is
being lost at some point. We use Request.Form.Item to get the data from the
create page but its just bringing back a blank field.
Has anyone e... more >>
Problem authenticating using Windows
Posted by vvenk at 9/26/2005 7:16:11 AM
Hello:
I wanted to implement windows-based authentication.
However when I run this aspx form, I do not see the user name and
Authentication type.
Can somebody tell me what I am doing wrong? Here's the code snippets:
WindowsAuth.ASPX
<html>
<script language="VB" runat=server>
... more >>
ASP Loop
Posted by Shiraj at 9/26/2005 2:49:53 AM
I have a problem,
I can display some text 5 times using a loop
and i want to pass those printed
values to another page when i clicked send button.if you know the method please
email me.
thank you.
(pooja_blacktulip@yahoo.com)
-----------------------------
This message is posted by http://... more >>
|