all groups > inetserver asp general > may 2004
Filter by week: 1 2 3 4 5
Failed to load the library 'C:\WINDOWS\System32\comuid.dll'
Posted by noclonegroup NO[at]SPAM yahoo.com at 5/31/2004 11:01:31 PM
Dear Experts,
I have reinstalled Windows XP but can't help, how to solve the captioned error?
Alan... more >>
Thinking in the right way?
Posted by Simon Harris at 5/31/2004 7:16:06 PM
Hi All,
I'm new to ASP.Net.
As I understand it, the code and presentation should as much as possible
remain seperate. Code is in the 'codebehind' - Be it a script block at the
top of the page or seperate file. I have a situation where I need to list
the number of related records.
So far,... more >>
Having a proble with onclick event and form validation
Posted by Danny at 5/31/2004 1:03:47 PM
Thanks again Chris for your help with the javascript to validate my asp =
form.
the javascript code for 'validate' is in place on same page and I even =
tried to launch a prompt saying "hello" at begininng of javascript =
function to see if it is even getting their.
Is the syntax correct be... more >>
cdo.message
Posted by Hugh Welford at 5/31/2004 11:37:40 AM
Hi Using WIN XP and FP2000
Using CDO.message to out put a message from my site, I get the following
error message 8004020f from using the code:-
strsql = "SELECT * FROM details WHERE patid = " & request("to") & ";"
objrec.open strsql, objconn, adopenforwardonly, adlockoptimistic, adcmdtex... more >>
External VBScript
Posted by William E Hatto at 5/31/2004 11:03:32 AM
Hi All,
Sorry, I've seen an answer to this but for the life of me I can't find it
anywhere now that I need it.
Is it possible to run an external VBScript in an ASP page.
ie. A VBScript that will run on it's own outside of ASP.
I have a VBScript that performs a function (there is no user... more >>
Help!! Obtain URL from ASP
Posted by Marco at 5/31/2004 11:02:26 AM
I need to obtain the domain from server side code.
Request.Servervariables("URL") doesn't work well... it miss the domain name.
I tried to use the WScript.NetWork object but the domain is not visible.
Help me please!!
Thanks.
Mark
... more >>
Another JScript eval bug
Posted by Bryan Mills at 5/31/2004 9:52:02 AM
According to MSDN: "new variables or types defined in the
eval statement are not visible to the enclosing program."
However, in some cases under IIS 5, this is not the case.
Try the following program:
eval("var z = 12; 5;");
Response.Write(z);
According to the documentation this should be... more >>
Resubmit w/o Browser Acceptance?
Posted by shawn at 5/31/2004 9:16:02 AM
I'm editing existing code, where the user selects an item on Page1.asp and clicks submit. Page1 then calls Page2.asp which subsequently runs a query to validate the data selected (passed) from Page1. If it is duplicate data, a Javascript alert box is invoked, once the user the clicks "ok" on the ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
sinlge quotes replace problem
Posted by roy_adams NO[at]SPAM ntlworld.com at 5/31/2004 7:36:46 AM
Hi group I'm having trouble using the replace command
Here's my code below
<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!--#include file="../../Connections/conn.asp" -->
<%
if( String(Request.Form("ProductName")) != "undefined" ){//formfield
is not empty
var NavID = 1;
var ProductN... more >>
form validation
Posted by diong at 5/31/2004 6:17:42 AM
I had a problem in validating my asp page..the field HomeTelno is not a
required field..but it always ask for a phone number.
How can i validate the field that the user had inputed numbers not
letters on it if the user has a telephone #.
How can i bypass the validation without asking for ... more >>
Write xml file in ASP with MSXML object
Posted by Ray at 5/30/2004 10:56:03 PM
Hi, al
I cannot write a xml file with the following cod
dim objXm
Set objXML = Server.CreateObject("Microsoft.XMLDOM"
objXML.async = Fals
objXML.load server.mappath("../online.xml"
If objXML.parseError.errorCode <> 0 The
response.write "parse online.xml error(" & xsl & ")
... more >>
Server.CreateObject("ADODB.Errors") fails
Posted by George Hester at 5/30/2004 10:52:49 PM
with Invalid ProgID. For additional information specific to this message =
please visit the Microsoft Online Support site located at: =
http://www.microsoft.com/contentredirect.asp.=20
My other Server.CreateObject's work for other ADODB objects but not for =
this one. Any ideas why and how to... more >>
Date And Now !
Posted by Adam Knight at 5/30/2004 12:31:38 PM
I have stored a date value using the now function.
This stores dates like this: 5/3/2004 3:59:23 PM
I am wanting to run a query that compares todays date with the date in the
db field.
I imagine this means i have to isolate only the date section of the input
saved by using 'NOW()'
Using jets... more >>
error with javascript in ASP
Posted by andre at 5/30/2004 12:16:14 PM
Hi,
Maybe not the right newsgroup, but it's an ASP problem, so ..
This ASP file works fine with VBscript:
<%
set objdc = Server.CreateObject("ADODB.Connection")
objdc.Open("provider=msdasql; driver={microsoft access driver (*.mdb)};
dbq=d:\access\newres.mdb")
sql="select dag, aantalu from... more >>
Storing Shopping Items
Posted by Shell at 5/30/2004 4:51:03 AM
What is the best way to store the items and quantities that customers have chosen across a session without using cookies
The customer does not need to login to do online shopping and users will be prompted to enter shipping information when they proceed to checkout
Any input will be very much app... more >>
newbie - sessions
Posted by monki at 5/29/2004 9:37:12 PM
I am trying to build a simple shopping cart
I am trying to store the contents of the cart in the session.
I have 2 questions
1) I am trying to see if the product is exists in the session, if it is
then rather than add the product again I want to add to the quantity of the
existing produc... more >>
ASP works with VBscript but not with javascript
Posted by bob at 5/29/2004 12:05:00 PM
Hi,
I made a ASP file in order to pass variables from VB or JAVAscript to the
ASP-server. Both ASP script are in VB, but the client-script are in VB and
in JAVAscript. The name are testvb.asp and testjava.asp.
My problem is: it works with testvb.asp but not with testjava.asp (no error
but not... more >>
Reading from Remote Site to Display on My Site
Posted by Pack Fan at 5/28/2004 10:52:39 PM
All I want to do is read a file from a different web server and display its
contents within an ASP page. This will allow me to provide continuously
updated content for this page on a bunch of other sites.
This is a piece of cake using PHP, but I'm striking out using ASP.
In PHP:
<?php
$... more >>
Market penetration of ASP versus ASP.NET
Posted by dotnetforfood NO[at]SPAM yahoo.com at 5/28/2004 10:28:15 PM
I surveyed market penetration of various server-side technologies
using Google's search facility. Results are in number of occurrences
of each file extension:
FileExt Occurrences
====================
..PHP 324M
..ASP 243M
..CGI 171M
..JSP 38M
..ASPX 23M
Despi... more >>
post the form data and open the page as a modal window
Posted by Matt at 5/28/2004 7:20:43 PM
Is it possible to post the form data and open the page as a modal window?
Because when I do the following, it will open page2.asp in a new window, but
I still able to manipulate page1.asp. I want to make page2.asp as modal
window.
<form action="http://server2/page2.asp" method="post" target="_... more >>
submit form data and open a new page is not necessary replace the existing page
Posted by Matt at 5/28/2004 7:20:15 PM
The following will both post the form data using HTTP POST method to the
server2, and then open page2.asp, right? It is not posting form data to
server1.
The only difference is that #1 will just replace page1.asp with page2.asp.
But in #2, it will open a new window for page2.asp, and page1.asp a... more >>
Error Server.Transfer / Server.Execute ()
Posted by Abdul Azeem at 5/28/2004 6:31:45 PM
Hi!
Any one has Idea, How to use Server.Transfer and Server.Execute, When I
tried to use these methods I got an eror:
Server object error 'ASP 0230 : 80004005'
Server.Transfer Error
/SISWeb/portal_logon.asp, line 40
The call to Server.Transfer failed while loading the page.
anybody is t... more >>
Here's a doosey
Posted by David C. Holley at 5/28/2004 4:50:01 PM
I'm about to massively rework how my site handles links. The concept
behind the site is to provide a wide-collection of links related to
attractions in and around Orlando as well as other sites of interest. I
am REALLY, REALLY, REALLY wanting to provide an option where
descriptions of the si... more >>
How to create a URL and when user clicks it to open a Excel workbook
Posted by belindacur NO[at]SPAM yahoo.com at 5/28/2004 4:07:55 PM
Hello All
I want to place a Excel workbook on the web server and create a URL
link to it and when the user clicks on it to the URL/vbscript behind
it must launch Excel on the client and open the URL linked Excel
workbook automatically.
Can you please share the code HTMl & VB script snippet ... more >>
XML + ASP
Posted by Robert J Egan at 5/28/2004 3:23:21 PM
Hi i'm trying to search a remote website page. The form returns xml
information, though the page extension is missing. I retrieve the
information and write it to the screen. So far so good - However i cannot
format this information in anyway. A copy of the returned information saved
to my server... more >>
error '80070035' using WinNT provider
Posted by Blake at 5/28/2004 2:05:26 PM
ASP code looks like this (win2k, IIS 5, Win2k AD):
<%
Set oUser = GetObject("WinNT://ourdomain/testuser")
response.write("user = " & oUser.Name)
%>
output is this:
error '80070035'
/cyphir/auth/test.asp, line 2
The .asp page is running as 'testuser'.
This works on our test domain,... more >>
Return 2 dimention array from com
Posted by Slim at 5/28/2004 1:22:22 PM
I am trying to return a 2 dimensional array from a VB component, with no
luck
I get the array, it has the right Ubound for the first dimension, but 0 for
the second.
it works find when called from VB but fails when called from ASP
Can this be done?
... more >>
Web design architecture (reliance on JavaScript)
Posted by Abdullah Kauchali at 5/28/2004 10:05:25 AM
Hi folks,
(Need comments if you have done something like this before. Any response
would be greatly appreciated.)
We've recently been prototyping the idea of completely avoiding the server
building the eventual/final HTML for the browsers. So far we've got this:
1. Create separate ASP p... more >>
.ChangePassword method using WinNT provider and error 424
Posted by Blake at 5/28/2004 9:50:11 AM
Windows 2000 Active Directory, IIS 5
ASP code looks like this:
Set oUser = GetObject("WinNT://DOMAIN/" & strNTName)
oUser.ChangePassword strPassword, strNewPassword
If (err.number <> 0) Then
response.write(err.number)
End If
This code works on our test system, but gives an ... more >>
net send - cmd.exe fails to initialize
Posted by griffinroisin NO[at]SPAM hotmail.com at 5/28/2004 9:47:59 AM
Hi all,
Am trying to run a message service using net send via our intranet -
basically the user selects the poeple on the network who they want to
send a message to from a drop-down list on a form and on submit a loop
is run - here's a snippet of the code (inside a for loop)
<% elseif Req... more >>
As expected?
Posted by Evertjan. at 5/28/2004 6:42:03 AM
I did not expect this to work as expected:
<%
function a()
%>ha !<br><%
end function
a
a
a
a
a
%>
So, why do we use so much response.writes?
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)... more >>
cyrillic and cdonts
Posted by mike bayliss at 5/28/2004 3:36:03 AM
HI
below is my asp form that collects fields from a web page encoded in windows-1251. I have a pretty smooth brain and cannot figure out how to get this script to send readable emails to the moscow address in windows-1251. Can anyone show me what the script should look like
<
ToEmail="arussian... more >>
Handle xml in ASP
Posted by Ray at 5/28/2004 3:11:06 AM
Hi, Al
There is a xml file, I want to read/write it in ASP. As following source code,
dim objXm
Set objXML = Server.CreateObject("Microsoft.XMLDOM"
objXML.async = Fals
objXML.load server.mappath("../online.xml"
If objXML.parseError.er... more >>
Authority problem
Posted by PW at 5/27/2004 9:52:24 PM
I have setup basic authentication on one of my web sites. For some reason,
I get challenged when I navigate to some of the ASP's within the website. I
have checked all the pages and made sure they all have authorisation set to
a specific group.
What can be causing this ?
... more >>
Searching Word docs for strings
Posted by webpro NO[at]SPAM webpro.co.za at 5/27/2004 4:32:17 PM
Can anyone please help with some VBScripting that would enable me to
search thru Word documents (Word 2000 format) and return the filenames
to use in a archive search on a legal website.?
TIA
.les.
o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o
Les Juby lesju... more >>
ASP Treeview and mozilla
Posted by Ed at 5/27/2004 2:01:52 PM
http://aspfaq.com/show.asp?id=2311
Sample: http://aspfaq.com/treeview
This works perfectly on Windows IE 6.x and Mac IE.
However, in order to be cross-platform compatible, I need to make this work
on Mac Safari and Mozilla Firefox. Could someone point out how to fix this
code to make it ... more >>
Email AND File Appends
Posted by dmiller23462 NO[at]SPAM yahoo.com at 5/27/2004 1:51:53 PM
I would like to append to a file, AS WELL AS, send an email via
ASP....I have some sample code from ASP101.com and am planning on
modifying it to my uses but I don't know where exactly I should place
it....Should I begin a whole new set of ASP commands or should I
incorporate it into the current... more >>
asp pages randomly showing as blank white pages
Posted by Alex Rybalov at 5/27/2004 1:24:19 PM
Hi,
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
error... more >>
Problem serving web pages
Posted by GriffithsJ at 5/27/2004 11:55:55 AM
I'm running Win2000 with IIS installed.
My PC was working perfectly, until today.
Now, when I go to http://localhost/... it will show any HTML pages BUT, if I
change the extension to ASP (even with no ASP code in the file) then I get a
"page can not be displayed" error.
I get an accompany... more >>
nText field not showing up (ASP)
Posted by tony at 5/27/2004 10:52:19 AM
I changed the datatype of a field in a SQL Server 2000 database from
nvarchar to ntext, but now nothing is being displayed. The "Body" column of
the datatable used to be nvarchar(8000) and the below code works fine.
However once I changed the datatype of "Body" from nvarchar to ntext, it no
lon... more >>
ASP/IIS errors on Custom COM call
Posted by steve.cimino NO[at]SPAM ticketmaster.com at 5/27/2004 10:36:39 AM
All --
This occasionally happens, and there's no set pattern on why this
is... perhaps it happens a few times every few months or so.
I have a custom ATL COM object that handles data from multiple pages
and sites on my server. Occasionally, I'll get the following errors:
ASP_0241|CreateO... more >>
problem using cdonts
Posted by at 5/27/2004 10:23:51 AM
Hi,
I'm having a problem using CDONTS to send mail from my site.
Recently we switched providers and since then the line
Set objNewMail = CreateObject( "CDONTS.NewMail")
is causing an internal server error.
What could be causing this?
Is there a way to get more detailed information abou... more >>
Empty/Null values in SPs
Posted by CJM at 5/27/2004 10:18:09 AM
I frequently come across a small problem with my stored procedures; there
are plenty of way around it, but I'm figuring that maybe my approach is
subtly wrong.
My typical code to call an Stored Proc in ASP is as follows
sSQL = "Exec MySP 'xxx', 111, 'yyy', 222"
oConn.Execute sSQL
Usually... more >>
Internationalizing a static site with ASP Classic
Posted by hamacher NO[at]SPAM chorus.net at 5/27/2004 10:00:53 AM
My client has a laregly static web site in English only. I will be
adding e-commerce functionality shortly. Therefore, I am seeking an
approach to allow users to select a language to view the entire site
with. I have ASP Classic at my disposal. The site has no back-end
database. I am thinki... more >>
Temporary txt,csv Files?
Posted by MDW at 5/27/2004 7:01:06 AM
Hey all
I've got a web-based "database admin console" that uses ADOX, etc. to query a database and return the tables, columns, etc to a form that I can then use to build SQL statements to run against that database. It's very "generic" - i.e., everything is dymanically created but pretty handy to h... more >>
ActiveX component can't create object: 'CDO.message'
Posted by hoho^_^ at 5/27/2004 5:11:02 AM
hello when I run a script on my server I get a error
messeage..
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'CDO.message
I don't know how to solve it,Thank you for your reply^_^... more >>
Different virtual folders
Posted by George Hester at 5/27/2004 4:13:43 AM
If I have 1 Virtual Dirctory with 2 different subfolders are these 2 =
different folders different virtual folders? Or if I have 2 different =
Virtual Directories each containing a subfolder are these two subfolders =
2 different virtual folders? I know it seems like a weird question but =
I'm... more >>
trying to collect links on my site, how to crawl it?
Posted by Danny at 5/27/2004 2:27:02 AM
I am trying to crawl my site to get a list of links. I am using the regular
expressions to get the href tags from the pages and reading the links using
xmlhttp module.
is there an efficient way to loop through the links? If you start with the
home page, how do you do it? How do yo ukeep tra... more >>
FileSystemObject help req. please
Posted by StumpY at 5/27/2004 12:58:46 AM
Hi
I am trying to append information collected from a form into a text file
(already created and currently in the root of my web) on my ISP's webserver.
The code snippet causing the problem is;
......
37 <%
38 Dim fso, f, TextFile
39 TextFile = Server.MapPath("mail.txt")
40 Const ForReading ... more >>
submit the form to the server without opening another page
Posted by Matt at 5/26/2004 6:48:07 PM
I want to submit the form to the server without opening another page.
When we do the following, it will submit the form data in myform to
the IIS, and open page2.asp.
<form name="myform" action="page2.asp" method="post">
But I don't want to open another page, I just want to submit the form... more >>
|