Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > inetserver asp general > may 2004 > threads for may 22 - 28, 2004

Filter by week: 1 2 3 4 5

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 >>

post form data and open an invisible window
Posted by Matt at 5/26/2004 5:26:04 PM
Is it possible to post form data and open an invisible window? For example, in page1.as <form action="page2.asp" method="POST" It will post the form data from page1.asp to the server, and open page2.asp. But I dont want to make page2.asp invisible. Any ideas?? Is it possible? Please advise. ...more >>

how to prevent pressing submit more than one time?
Posted by dave at 5/26/2004 5:13:26 PM
Hi I have created asp pages to submit logs online. It is used generally to log from handset similar to iPAQ, Pocket PC. I have on html form and one submit button. On pressing submit , it redirects to other pages and inserts log into db. But the problem is when they press submit, it takes a ...more >>

Microsoft VBScript runtime error '800a000d
Posted by jimbly at 5/26/2004 5:08:28 PM
Hello, can someone help! I am getting an error: Microsoft VBScript runtime error '800a000d Type mismatch /bps/srch-detail.asp, line 137 I didn't write this asp - I know very little about asp - I'm just trying to get this site working on my server! I think the offending lie is this: ...more >>

Using External SMTP Server Vs. IIS SMTP Server
Posted by Andy at 5/26/2004 2:03:48 PM
Hi Gang Our network administrator does not want to install the IIS SMTP server on our intranet. He wants me to use our existing SMTP server "mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an ASP if I'm not running the IIS SMTP server? We are running on Windows 2000 ...more >>

How to call a stored proc asynchronously
Posted by Dennis at 5/26/2004 1:48:42 PM
Is it possible to call a stored procedure asynchronously from an ASP page? We would like to be able to execute a proc and have the page continue to process without having to wait for the proc to finish. I know you can make a dll and call it from there, but we'd rather just be able to keep it sim...more >>

Can you help with this Regular Expression?
Posted by Danny at 5/26/2004 12:47:20 PM
Hello here is a pattern I am using in regexp module: href(.*?)[\x22>][^\x22]*\x22 This string seems to work in that it will return href = "http://www.domain.com" from href tags such as this. <a href = "http://www.domain.com">This is a link</a> it handles the spaces that may exist bef...more >>

Format output to currency
Posted by Micromanaged at 5/26/2004 11:50:51 AM
In my response.write line, I need to format a field to be a currency value. Is there a quick and dirty way to do it or is it an involved edit? Here is my code: Response.Write("<td>" & WhataRecordset.Fields.Item(0).Value & "</td><td>" & WhataRecordset.Fields.Item(1).Value & _ "</td><t...more >>

Security Issue ASP.NET-IIS
Posted by Reza Alirezaei at 5/26/2004 11:46:22 AM
Is it possible to define an account in <Identity> in web.config which dosen't exist in domain??? The following line is in somebody's ASP.Net application: I was viewing somebody's application I found the following line in his web.config <identity impersonate="true" userName="DOMAIN_NAME\ASP...more >>

Web application security
Posted by gdp at 5/26/2004 10:53:36 AM
Hi... I have to allow access for administrators to sections of my website which contain sensitive data. Ther is a link on the homepage called "Admin Login". They are asked for a PIN number which is a randon four letter four number combo and if they get that correct then have to enter their p...more >>

ASP.NET issue
Posted by David Bachman at 5/26/2004 10:36:40 AM
I am a novice to ASP.NET, so this is probably an easy question to answer. I filled a datagrid from an oracle db using an ODBC connection. I am connected to the data source and have no compilation errors, but the output within the <asp: tags does not display anything: <html> <body><form ...more >>

Default Save as type and filename
Posted by Kit Truong at 5/26/2004 9:53:18 AM
Hello, I have an asp page that produces output from a database. This allows a simple way for the user to save the data to a text file by going to File->Save as... The default save as options always defaults to a particular filename and the save as type is always html, therefore the user has...more >>

insert multiple records to table
Posted by roy_adams NO[at]SPAM ntlworld.com at 5/26/2004 9:44:52 AM
Hi forum I have three text fields set up on a page that when submitted I want them to be inserted in to a table but in differnt records at once. the code below only seems to insert the last field <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <% var colorForm = String(Request.Form("color")); ...more >>

When to do DB Insert
Posted by andyza NO[at]SPAM webmail.co.za at 5/26/2004 7:22:35 AM
Application X has three screens. The user captures information on screen one and then clicks a navigation button to go onto screen two. He does the same on screen three. At the bottom of screen three is a submit button. When this button is clicked the system does some calculations with the infor...more >>

I am facing a problem on Session. Plz.Urgently Solve It
Posted by jitendra_79 NO[at]SPAM rediffmail.com at 5/26/2004 6:20:34 AM
I am facing a problem on Session. Firstly i am getting log in the application and woring with my some windows. now keeping that other window open and now from that main window i am logging out. so it throws me to the login page (as i am logged out). I am also clearing and abandoning the se...more >>

Looking for an ASP Debugger
Posted by jt at 5/26/2004 4:26:39 AM
Hi, I am trying to find a debugger that I can step thru ASP following the code, like VB does using F8 to step thru code. If there is anything like this, please point me into the right direction. Thank you, jt ...more >>

Query String Question
Posted by Matt at 5/25/2004 10:53:45 PM
I always see people do something like that, and when the link is clicked, it will open a new page. <P><a href="profile.asp?id=493">Item 1<a> <P><a href="profile.asp?id=495">Item 2<a> <P><a href="profile.asp?id=497">Item 3<a> I want to know if is implemented in this way: In profile.asp ...more >>

pdf online
Posted by dave at 5/25/2004 10:27:39 PM
hi guys which is the best to generate pdf file and print table data.. I'already visited http://www.aspfaq.com/show.asp?id=2207 but couldnt decided which component is easy to use and user friendly.. thanx dave...more >>

About ASP session ID
Posted by Ray at 5/25/2004 10:01:06 PM
Hi, all There is a problem about ASP session ID. ASP session is implemented by storing session id in a session cookie, but I read this cookie in ISAPI Filter, get a string as following: ASPSESSIONIDQADCQQTS = IAOFCBBCGDGMDGCNJIKPNBAN But the real session ID is 554851848. (Real sessionID is sessio...more >>

[Slightly OT] OMG I cant remember! (html)
Posted by Rob Meade at 5/25/2004 9:37:42 PM
Lo all, This is rather embarrassing.... I am having some difficulties with an html table... I have... 1 left nav bar which spans 2 rows to the right - these are used for horizontal navigation (top), and main content (bottom). I have used this many times before and everythings been ok...more >>

Move site from Server A > Server B (without downloading)
Posted by Steven Burn at 5/25/2004 8:28:21 PM
I'm curious as I am in need of advice on how I can move a site from an old Win 2K server, to it's new home on a Win 2003 server, without having to mess around with downloading/uploading the file's (there's over 30,000 file's/folders, so it would take forever to do it manually). Thus, anyone ha...more >>

Abysmal performance of Scripting.Dictionary object on 2003 server
Posted by Rodd Snook at 5/25/2004 6:59:16 PM
I have an application which makes extensive use of the Scripting.Dictionary object. I'm not doing anything silly like putting them outside the page scope -- just creating quite a few of them and stuffing quite a lot of data (from and MS SQL database) into them. On Windows 2000 server, everythi...more >>

Relative and Absolute Address
Posted by Nick K. at 5/25/2004 4:48:26 PM
I recently began maintenance work on a production web server that is located in the root directory of a web server. I moved this into a sub web on my local web server in order to do work on it. I found that there is an include file that references images: <img src = "/images/Header.gif" Wha...more >>

IIS Crashing
Posted by Jeff Dillon at 5/25/2004 2:19:44 PM
We have an ASP application that restarts several times a day, and users lose their session information and have to log back in. In the Event Log, I see the following entries: Faulting application w3wp.exe, version 6.0.3790.0, faulting module unknown, version 0.0.0.0, fault address 0x00000000...more >>

Populating fields in PDF dynamically
Posted by skiingthepow at 5/25/2004 1:51:03 PM
So, I get all excited to to pump some data into these PDFs that some loan-sharks want to use on their intranet, and then I find that the Adobe Acrobat SDK doesn't support .NET (which they said they did); however, one may access a little "tip" from Adobe if one joins their dev community for the low a...more >>

Download multiple files with one click (or action)?
Posted by Sugapablo at 5/25/2004 11:58:45 AM
Is there a way where an end user can download multiple files with one click? I have a database table that can return between 1 and 12 different filenames (JPGs). I'd like to have a single button on the page that will initiate the download of all of them simultaneously. Is this possible? ...more >>

Response.Write Strange Behaviour
Posted by Dominic Godin at 5/25/2004 7:17:17 AM
Hi, I have an asp page that does a lot of processing and reports it's finished by printing the word "Success". For example: <% SomeFunction(SomeVar) SomeFunction(SomeVar1) SomeFunction(SomeVar3) Response.Write("Success") %> For one of our clients the word "Success" no longer ...more >>

Retriving data from Database
Posted by iffy agbim at 5/25/2004 6:46:47 AM
I have a form that displays information selected from an Access Data base. A select statement is used to do this on my asp page SQLQuery = "SELECT * FROM tblopgaCOm2 WHERE billNo = '" & Request.Form("BILLNO") & "' AND area LIKE 'AUDIT'" billNo and area are the 2 fields used together ...more >>

Constants in ASP
Posted by mgay78 NO[at]SPAM hotmail.com at 5/25/2004 6:32:39 AM
I'm relatively new to coding activex and I have a problem. I've written an activex component in c++ and I am now using asp/vb pages to access the object. Is it possible to access constants that I've defined in the activex object? For example, can I do something like the following: Dim cons...more >>

ASP Email Forms
Posted by dmiller23462 NO[at]SPAM yahoo.com at 5/25/2004 5:59:55 AM
Does anyone see anything OUTRIGHT that I can fix on this....I'm a virgin ASP'er and I'm trying to produce an email from a form submission button....This is just my little "template" for future use (I have several pages that will require online submission) I'm not getting any emails and I'm not...more >>

Convert text to image
Posted by Magnus at 5/25/2004 12:06:22 AM
Hi, this is a long shoot! I need to get text posted from a webpage to a image. The text needs to be displayed with fonts that I can't use in a webpage. This is to be used submitting textadds from the web, later to be published in a newspaper. The image it self will not be published, I need ...more >>

POST data to a new page
Posted by William E Hatto at 5/24/2004 8:18:14 PM
Hi all, Sorry if this sounds a little ambiguous, but.... I have a page with 4 submit buttons. How can I make 1 of these buttons spawn a new page AND use the data posted from the orginal page? Can this be down. I know I could do it with a querystring but I perfer not too. Cheers, Bill. ...more >>

Response.Binarywrite and ADODB.Stream
Posted by George Hester at 5/24/2004 7:56:21 PM
In Windows 2000 IIS 5 SP3 this: http://support.microsoft.com/?scid=3Dkb;en-us;276488 is not working. No error but wants to save binary.asp to disk and = can't. I have it in a High Isolation Application. Think that's the = trouble? --=20 George Hester _________________________________...more >>

automatically sending email from asp page
Posted by AMC at 5/24/2004 7:40:59 PM
Hi, I have a page that allows user input. On click of the submit button I call a javascript function that verifies that all of the fields are filled out and then submits the form. I need to add code after the verification that creates and sends an email. I know how to do this in VBscript, but ...more >>

How to by pass the login page using session?
Posted by Joe at 5/24/2004 5:11:03 PM
I have 3 servers server1: http://server1/login.asp, http://server1/page1.as server2: http://server2/login.asp, http://server2/page1.as server3: http://server3/login.asp, http://server3/page1.as When the user login the username and password in http://server1/login.asp, and clic submit button, i...more >>

Server.Transfer error
Posted by Eugene at 5/24/2004 4:06:16 PM
Hi I user Server.Transfer "MyTest.asp" to redirect the ASP page and it went through successfully If I used Server.Transfer "MyTest.asp?R=22 The system return "An invalid character was specifiied in the Path parameter for the MapPath method." error (It seems that system treat parameter strin...more >>

cannot access session varible
Posted by prash at 5/24/2004 3:54:03 PM
Hello all I have a strange problem at the moment .I use iis5 to do my asp pages with vb scripts when i set session("myvar")="anyvalue" in my first page i cannot read the session variable in my second page If i try to get xx=Session("myvar") it returns noting Is this something to do wi...more >>

Session Expires
Posted by prash at 5/24/2004 2:37:51 PM
hello all I have an asp application which uses IIS 5 . I need to expire my session in 10 minutes . I use session.expire=10 in my index.html page. when the session is expired in 10 minutes i need to redirect the respons to the login page agein. how can i do this Please help me /Thanks in adv...more >>

How to have an ASP page use a web service?
Posted by serge at 5/24/2004 1:43:11 PM
Hello, I have created a web service that will return SQL Server's Northwind productid quantity. If i access my web service from the Internet, i type the following: http://www.mydomainnametest.com/northwind2/inventory.asmx then i click on one of the web services there, for example GetInv...more >>

Add controls in asp page
Posted by Newbie at 5/24/2004 12:03:38 PM
Hi all, How do I add controls in an asp page at runtime ? Does anyone have a sample piece of code? or sample? or link? thanks. ...more >>

Imagemagick
Posted by Jim Red at 5/24/2004 11:38:17 AM
Hello Can someone give me an example how to use the Imagemagick - Identity command? Cheers Jim...more >>

regional settings in iis server
Posted by Stefan Ljungstedt at 5/24/2004 10:50:36 AM
Hello I´ve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6. All regional settings on the server is swedish(that´s what i want) and it looks correct in all ways but when running the date function in a asp page it returns english short date format 24/5/2004 when I think it s...more >>

Collections and maximum Count/Length
Posted by dflynn NO[at]SPAM standishmellon.com at 5/24/2004 10:06:26 AM
I am working on a project that requires me to check the number of rows in a table with the same HTML "ID" value. I do this in my code with: i = document.all(rowid).length However, if the number of rows with the same ID is greater than 8, it always returns 8 (not 9, 10, etc.) Also, I am...more >>

How to a erase field & insert auto-increment
Posted by diong at 5/24/2004 7:35:09 AM
i have a field with a list of wrong ID (random) and i wish to replac them with a sequential (auto-increment) value. how to remove the valu and to add in the sequential ID? Im a newbie in ASP! Pls Help - dion ----------------------------------------------------------------------- Posted vi...more >>

ServerXMLHTTP
Posted by eti.cohen NO[at]SPAM eds.com at 5/24/2004 5:40:08 AM
Hello, We use the following configuration on our development environment: Server - win2k spk4 Local Computer - win2k spk3 We use the following code on the server to access a page on the local IIS : Set objSrvHTTP = Server.CreateObject ("MSXML2.ServerXMLHTTP.4.0") strUrl = "http://" & st...more >>

Is this an error or intentional?
Posted by google NO[at]SPAM colinsteadman.com at 5/24/2004 5:30:30 AM
Just looking up a way to convert dates to Oracle format and found this function in the forum: <SCRIPT language="vbscript" runat="server"> Function ConvertToOracleDate(dtmDate) If IsDate(dtmDate) Then Dim arData(2) arData(0) = Right("00" & Day(dtmDate),2) arData(1) = UCase(MonthN...more >>

Data type problem, something to do with datatypeEnum??
Posted by luke.curtis NO[at]SPAM westoxon.gov.uk at 5/24/2004 3:20:10 AM
Hi all. I'm having trouble connecting to my sql server database correctly beacause of value type problems, specifically the date fields. When i try and run the page i get the follwoing error: 'Application uses a value of the wrong type for the current operation.' I beleive the problem is...more >>

Window.location and form submission
Posted by luke.curtis NO[at]SPAM westoxon.gov.uk at 5/24/2004 1:43:29 AM
Hi, I have a form containing (among other things) date fields for which i have a date validation script. What i need to happen is when the user presses the submit button the date validation script is run and only if the date is correct is the form submited. What i have done so far is: -C...more >>

Number comparison error
Posted by PW at 5/23/2004 11:18:37 PM
I'm trying to interrogate an incoming value from a previous ASP like this .... myCurrentQty = request.querystring("txtBCQty" & myRecordCounter) It returns a "2" as expected. But if I try to compare its value to another number, like this ... if myCurrentQty > 0 then .... I get...more >>

Operation must use an updatable query
Posted by David K at 5/23/2004 11:11:16 PM
Hello, I've been trying to make my db web applications to work in my test server and I keep getting this everytime I try to modidy the database: Microsoft JET Database Engine error '80004005' Operation must use an updateable query. The curious thing is that in my web hosting provider...more >>

ASP pages not working
Posted by James at 5/23/2004 6:31:54 PM
Our windows 2000 server will not allow any browser to access asp pages. I have tried browsing to the following url: http://localhost/iisHelp/iis/misc/default.asp What appears in the browser is: The page cannot be displayed http 500 - Internal Server Error We have stopped and rest...more >>

Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications o
Posted by Ahmed El Lakani at 5/23/2004 11:14:45 AM
hi all, recently i've installed vs.NET 2003 on my pc which is runing window 2000 pro with sp4, but when i'm trying to create new ASP.NET Web appication i got this messages "Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to ...more >>

Unicode conversion problem of some Chinese traditional characters
Posted by Elie Grouchko at 5/22/2004 10:58:06 PM
Hi All Can anyone explain why the expression "AscW(ChrW(38321))" is equal to -27215 ? (38321 is the Unicode code for one of the Chinese traditional characters) AscW is supposed to return a Long value, isn't it? This also happens in VB6 Cheers Elie Grouchko ...more >>

Find Day Name Of Specied Date !
Posted by Adam Knight at 5/22/2004 10:33:01 AM
Huge thank you to those who posted thought relating to my previous post regarding dates. I have another enquiry, that being how do i find what day name (ie: Monday) is associated to a given date. Adam ...more >>

Server Application Error
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 5/22/2004 5:32:35 AM
When I browse to HTTP://localhost/defacult.asp, it shows the message: Server Application Error The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server admi...more >>

value did not clean out at next round in loop
Posted by cschang at 5/22/2004 1:21:20 AM
I looped a record set to display and I found a strnage thing. as Do While NOT rsBinAct.EOF l_bin = rsBinAct.Fields("o_bin") l_niin = rsBinAct.Fields("o_bin_niin") l_b = LEFT(l_niin, 3) l_n = RIGHT(l_niin, LEN(l_niin)-3 ) ' display l_bin, l_b, l_...more >>


DevelopmentNow Blog