all groups > inetserver asp general > may 2006 > threads for may 22 - 28, 2006
Filter by week: 1 2 3 4 5
connecting to external xml file
Posted by Brian Quigley at 5/28/2006 3:41:47 PM
Hi,
i am trying to write a script to parse an external xml file, but am having
problems... the problem i think has to do with me trying to do
Response.Write(xmlDoc.transformNode(xslDoc)) before the xml is fully loaded.
The link to the xml file is valid. my code is as follows...
xmlf =
"h... more >>
Stored Procedure Parameters Generator
Posted by Chris at 5/28/2006 12:00:00 AM
Hi there used to be a script by Bob Barrows which generated the vbscript for
a stored procedure. The web site isn't there any more. Can anyone point me
somewhere else? Regards, Chris.
... more >>
No of users ?
Posted by PW at 5/27/2006 8:27:20 PM
Hi,
I'm hosting a couple of ASP applications on my server. How can I tell the
number of users currently logged on, and can I get any details about them ?
Thanks,
PW
... more >>
Capture IP on web form
Posted by Zen Masta at 5/26/2006 4:27:36 PM
I've been getting a lot of harrassment emails on a web form recently and I
want to display/capture the users IP/host header(not sure if thats the right
term... but I know you can do it in IRC) if possible. Does anyone know a
free script for this? The form is in ASP not .net
I want to amend ... more >>
How to get client IP ?
Posted by David Velazco at 5/26/2006 11:42:26 AM
Hello Everybody,
I try to use script to get client IP
<%
dim IPAddr
IPAddr = Request.ServerVariables("remote_addr")
Response.Write("Your IP Address is " & IPAddr)
%>
but script return IP of Web site, not CLIENT and not null value!
My site is hosted on W2003 server SP1, IIS, ISA
I'... more >>
Intermittent database error
Posted by Dave at 5/26/2006 7:40:42 AM
I am getting an intermittent database error on my asp page.
I am using Access 2003 with classic ASP.
The error is this:
Microsoft JET Database Engine Error 80040e10
No value given for one or more required parameters
/subweb/search.asp, line 163
Line 163 is starred below:
With rs
... more >>
How to reset input data on detailsview, after error on insert
Posted by jparlato at 5/26/2006 6:16:02 AM
I'm using the detailsview to perform edit and insert of new records via an
object datasource.
If an error occurs on the insert, I want to preserve the data the operator
tried to input, along with my error messages. Currently, it appears that the
detailsview is trying to rebind after the erro... more >>
newbie- What's needed to Run ASP pages on a Notebook
Posted by shall NO[at]SPAM uaex.edu at 5/25/2006 1:43:50 PM
Example, I'm waiting at the airport and I CANNOT get a connection
to a server. What would I need to install on a Notebook computer
to be able to edit my web pages?
Is this possible?
I'm currently using Visual Studio.
I forsee I can make my changes DISCONNECTED from a server, like on my
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Forms Help
Posted by EA at 5/25/2006 12:23:43 PM
Apologies if this is the wrong newsgroup - if I could be directed to the
right forum I will happily re-post.
I am trying to create a page with a drop-down select upon it. When the user
clicks on a selection I want a new frame to appear with a new URL
(associated with the selection) appeari... more >>
Getfolder on the network
Posted by damezumari at 5/25/2006 10:13:27 AM
I use windows 2000, iis 5.
When I run the following program in IE6 I get the screen below.
--- Program:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFolder("k:\test\")
Res... more >>
Fre dynamic convert of HTML page to PDF?
Posted by Sugapablo at 5/25/2006 10:12:36 AM
Are there any free/open source ASP solutions that will allow you to
dynamically convert an HTML page to a PDF?
What I'd like to do is include a "Convert to PDF" button on a .asp page
that will convert whatever is there to a PDF.
Is there a free version that works well out there?
--
Su... more >>
IIS 5 stopped serving pages
Posted by Jim Stools at 5/25/2006 9:40:28 AM
Server 2000 IIS 5
The server stopped serving pages on all the web sites: The Following error
message:
The page cannot be found
HTTP 404 - File not found
Internet Information Services
I checked the web sites under IIS and they are running. I've re-booted the
system and the problem co... more >>
Possible to write an image to a file?
Posted by nospam NO[at]SPAM invalid.invalid at 5/25/2006 9:39:39 AM
Using the HttpRequest object to gather material (potentially from an
external server), is it possible to write the response stream into which
ever file type is required e.g. I request not just text, but an image - is
is possible to write the image to file? Or is this just not possible? I can
... more >>
getting data out of this xml file
Posted by trooperbill at 5/25/2006 7:56:11 AM
http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml
i want to store the currency exchange rates out from this document into
an access database. anyone know how to do it (all the tutorials ive
found are in php :(
... more >>
How to send UDT from a ATL Server implemented in VC++ to ASP Client
Posted by Remo at 5/25/2006 7:53:14 AM
Hi,
I want to know the possiblity and process of an ASP client, which
needs to get some UDT from a ATL Server component implemented in VC++.
The UDT is basically a C++ class consisting of a BSTR and a short.
for eg.,
class CMyClass
{
BSTR myName;
short myNum;
};
and what actuall... more >>
Converting Access form to a asp form
Posted by Jack at 5/25/2006 7:45:02 AM
Hi,
I have an Access application which need to be converted to asp-sql server
application. This Access application uses a single form. This form has got a
SS number with names and age. The form has two subforms. One of the subform
uses a physical test score which is basically four different ... more >>
? for string, inserting a vbcrlf every N characters, or improving the behavior of MSXML
Posted by Ken Fine at 5/24/2006 2:45:58 PM
I'm using ASP VB. I want to insert a VbCr or a VbLf into a declared string
every N characters. FWIW, I want to do this because of an apparent
limitation in MSXML2, which I am using to "scrape" data from webpages that I
control: I'm getting spurious exclamation points (!) where line lengths are
t... more >>
Anonymous vs NT logon
Posted by Fred at 5/24/2006 10:08:57 AM
If I select Anonymous in IIS under Security for my application and provide a user other than IUSR which has permissions to create folders, etc. on another server, I am able to create the folder I need.
However, if I don't select Anonymous, and my NT logon is a user with permissions to create fold... more >>
paging folders
Posted by Eugene Anthony at 5/24/2006 6:59:36 AM
The code bellow will display a list of folders in a directory. Now lets
say I have 20 folders, I want to display the first 10 folders, then
display another 10 folders just like the paging concept how is it done?
<table cellpadding="3" cellspacing="0" border="0" width="420">
<tr> ... more >>
Strange error
Posted by PW at 5/23/2006 9:06:18 PM
I have an ASP that is gathering values (Activities) from the previous ASP.
Depending on what Activities the user selects, dictates what will be
displayed by the subsequent ASP.
If you notice in the below code segment, if the response.end is commented
then the javascript does not get proce... more >>
ASP Type mismatch error with SELECT...FOR UPDATE statement
Posted by Steve at 5/23/2006 5:36:39 PM
ASP error number 13 - Type mismatch with SELECT...FOR UPDATE statement
I got ASP error number 13 when I use the SELECT...FOR UPDATE statement
as below.
However, if I use SELECT statement without FOR UPDATE, it is fine and
no error.
I also tried Set objRs = objConn.Execute("SELECT * FROM EMP U... more >>
A weird one...
Posted by nospam NO[at]SPAM invalid.invalid at 5/23/2006 4:09:01 PM
I need to download an rss feed on a regular basis that is embedded only in
javascript (external website) and store it on my webserver's hard drive
someplace. The code goes like this:
<script language="javascript" type="text/javascript"
src="http://www.feedroll.com/rssviewer/view_rss.php?ty... more >>
hyperlink in asp
Posted by Jeff at 5/23/2006 3:42:33 PM
Hey gang.
i have this
Response.Write Replace(Rs("Event_Details") & " ", vbCrLf, "<BR>") & vbCrLf
coming from access db.
how can i get that to make a hyperlink clickable as well??
Thanks
... more >>
Freeze Table Headers.
Posted by Nico VanHaaster at 5/23/2006 3:15:22 PM
Hello all.
There is what i would like to do, I have a page that pulls all the
hours for our staff over a given period calculated them and reports
back on 15 different colums and is aproximatly 500 individual rows of
data for a table. Now as you could imagine that is a night mare to look
at fo... more >>
how to copy files from web server to client
Posted by zerbie45 NO[at]SPAM gmail.com at 5/23/2006 12:48:10 PM
Hi all,
I need to know if, and how, it is possible to use ASP to download a
file automatically from the web server to the client in a given path.
Is that possible ? Ideally I want a page with a link that when pressed
it will copy a certain file that exists on the web server down to the
client... more >>
Process a CSV File in ASP.
Posted by MN at 5/23/2006 11:20:02 AM
Hello all -
I'm hoping that someone knows the answer to this as I have not done this in
ASP before.
Basically, I need to select a csv file from my desktop through the
"Browse.." button in my ASP page and upload the file and do further
interrogation and extract the data to put into a dat... more >>
®_vs._?_question
Posted by Roy at 5/23/2006 10:43:01 AM
Does anybody have any idea why 2 identical classic asp pages, hitting the
same Oracle schema, but deployed on 2 different servers will render the
registered trade mark differently?
Example:
PROTONIX®
get displayed when calling the page deployed on server A, while
PROTONIX?
get ... more >>
ASP.NET Session ID
Posted by Erik at 5/23/2006 6:30:01 AM
Hi,
i'm using a script to open a Dialog window by window.open();
in order to transfer data i'm using the Session object from the child to the
parent.
The problem is that in IE6 when the child window is opened, the SESSION ID
of that window is different from the SESSION ID of the Parent wind... more >>
How to force download ?
Posted by fredda054 NO[at]SPAM gmail.com at 5/23/2006 6:14:27 AM
Hi !
I have a problem with downloading csv files from a web app.
The files get created in the right directory, so I know they're there.
I get the error "The page cannot be found" when I click the download
link. Here's the code that does the work. (hopefully the format doesn't
get too screwed up... more >>
ASP Error
Posted by Stan Sainte-Rose at 5/23/2006 12:00:00 AM
Hi,
I've just installed vs2005 and I have some problems to handle errors from my
old asp pages.
Before, IIS 6 told me on which line the error occurs, and right now I only
get an 500 error page.
Any help ?
Stan
... more >>
Database Hit compared to ASP include?
Posted by NO[at]SPAM sh at 5/22/2006 3:45:53 PM
Guys,
We're in the midst of building a new site and have some decisions to make RE
the meta data, i.e. Title, Keywords and Description.
We need to allow other non development staff to update such fields, there
will be an administration panel available to do this.
Seen as the site is ver... more >>
I want to get the number IP
Posted by David Velazco at 5/22/2006 12:41:07 PM
Hello Everybody,
I want to have the address IP of the client's machine. I have made this.
<b>Your IP address is:</b>
<%Response.Write(Request.ServerVariables("remote_addr"))%>
</p>
but It give me the address of my host I wish I have IP of the machine
client.
Have anyone known it ? , ple... more >>
Need help with asp scripting!
Posted by freemann at 5/22/2006 10:44:02 AM
Can anyone provide example code showing how to send form results to a results
page, email and a comma delimited file? Notice that I need it going to all
three locations.
Details: I have forms created and working. The first form the user fills out
and submits. The form properties are set to ... more >>
How Excel file is generated?
Posted by Abhishek at 5/22/2006 5:05:02 AM
Hi,
I am exporting data from ASP page to an excel sheet using the following
code.
Response.AddHeader "Content-Disposition", "attachment;filename=ExcelView.xls"
Response.ContentType="application/vnd.ms-excel"
I have two questions.
1. How the excel file gets created on the server be... more >>
Multiple Forms
Posted by Prabhat at 5/22/2006 12:00:00 AM
Hi Friends,
Can I have one page "prod.asp" with 2 forms (form1 with ONE Submit Button
and form2 with 2 submit buttons) submiting to same page "prod.asp" again?
Thanks
Prabhat
... more >>
Sending Extra Value to ComboBox
Posted by Prabhat at 5/22/2006 12:00:00 AM
Hi all,
I have one combobox where I want to display Name of the Products that are
loaded in the collection object. But I am able to send only ID and Name of
the Product where ID is the value of the option tag and products name is the
display text for option tag. I want to send the Product Vers... more >>
|