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 db > february 2005

Filter by week: 1 2 3 4

Help with ADODB.Connection problem...
Posted by jungewum NO[at]SPAM yahoo.com.au at 2/28/2005 5:48:29 PM
Hi, I am getting an error with the following code. Error is: ADODB.Connection error '800a0e78' - The operation requested by the application is not allowed if the object is closed. Any ideas how the error can be fixed? Extract of the ASP code below... <% dim dbprop, dbconn, dbsessionname ...more >>


Accessing document from asp
Posted by Jack at 2/28/2005 1:09:01 PM
Hi, I was wondering if it is valid to write code as follows: <%If Response.Write (l_IsChecked) Then %> document.frmMain.txt_CurrentOutlay.readOnly= "true" <%End If%> The idea is to use the value of the variable to make a text box read only. If the value is True then my intention is to...more >>

Provider for ODBC Drivers (0x80004005) error with linked tables
Posted by chris NO[at]SPAM oaksong.com at 2/28/2005 10:45:31 AM
I have an Access 2000 database with tables linked from multiple Access databases. The set runs fine on my web service. That is, with all the database files present on the remote server the code on the remote server behaves. What I can't do is test locally. I've set up a virtual drive to a loca...more >>

Request.querystring or Recordset.GetString?
Posted by andrewdreib at 2/28/2005 9:57:02 AM
I am still very new to ASP and am trying to create an ASP page that gets records randomly from a database. Right not I can successfully get one field of information at a time and randomize it, but I need the whole string. I've been searching the internet trying to find an answer to this quest...more >>

Insert Date and Time in SQL Server 2000 using ASP
Posted by Robin Lawrie at 2/27/2005 8:20:30 PM
Hi again, another problem! I've moved from an Access database to SQL server and am now having trouble inserting dates and times into seperate fields. I'm using ASP and the code below to get the date and time, but my script is erroring. '-- Get login date and time cmdLoginDate = Date() cmdL...more >>

Object Required Error
Posted by westernnord NO[at]SPAM webtv.net at 2/27/2005 7:48:57 PM
I am getting the following error: Error Type: Microsoft VBScript runtime (0x800A01A8) Object required: 'objReq.SelectSingleNode(...)' /soap.asp, line 10 I am using Windows XP with IIS installed. There is an ASP page sending a SOAP request to the following page. Here is the code receiving th...more >>

Import Excel to Access via ASP
Posted by Jake at 2/27/2005 11:53:09 AM
Can anyone point me to code examples or tutorials on importing Excel date into an Access database using ASP? Thanks! ...more >>

IF EXISTS error! (0x80040E14)
Posted by Robin Lawrie at 2/26/2005 7:25:51 PM
I've written an asp form that successfully takes a users firstname, surname, email address, username and password and then add's those details to an Access database. I've been trying to modify the code so that the script checks that the selected username doesn't already exist using the SQL IF ...more >>



accessing binary (blob) data from SQL server
Posted by Florian at 2/24/2005 9:49:27 PM
Hi, I'm struggling a bit reading binary data from a database. Basically, I have a column in our table that has the binary type, and all I want to do is display that binary data in HEX. basically the table looks like this: binary_data binary(1024) binary_length int binary_length st...more >>

Output from SP (sql)
Posted by Mikael S at 2/23/2005 4:56:37 PM
Hello, I use some sp:s in a ms sql, and so far it looks like (this works fine): ----------------------------------------------------- sql =3D "sp_NameOfSp @IDno =3D 1, @Name =3D 'Mikael'" (and 15 more = values...) cmd.CommandText =3D sql cmd.Execute -------------------------------------...more >>

Problem with display of check in checkbox retrived from database
Posted by Jack at 2/23/2005 1:31:04 PM
Hi, I have an asp page where a check box is used. If the check box is checked then the value goes to an Access database as "on" while if the checkbox is unchecked before saving the asp page, the value of the checkbox that goes to the access database is "off". The datatype in Acess is on/off....more >>

Generate random query with all fields from an entry
Posted by andrewdreib at 2/23/2005 9:43:02 AM
I'm trying to create an ASP page that will randomly query the database and show entire entires. I found some code online that prints on entry from the table, but only one piece of information from it, and I'm hoping someone here know what I need to change to make it print the entire entry. ...more >>

How would you prevent duplicate entries in a column in SQL.
Posted by imran aziz at 2/23/2005 1:49:02 AM
How would you prevent duplicate entries in a column in SQL ? Imran ...more >>

Problem with Response.Redirect
Posted by Jack at 2/22/2005 9:13:04 AM
Hello, I am testing a simple asp page. Here data is added to a database in People table. The primary key is Name (FirstName LastName). The data add part is working fine. However, after one data is added, I need to redirect the page back to the same record that was entered in the form. I am ...more >>

Cannot link ASP page to Access database
Posted by andrewdreib at 2/22/2005 7:35:02 AM
I'm new to this and am having a lot of trouble. I've been able to work my way through a couple of other bugs that have come up, but I just don't understand this one. I'm trying to run a very simple, small database for a project for a class. I've created my own web server on an XP Pro machine t...more >>

Can't Figure Out What is Wrong Here
Posted by Wayne Wengert at 2/22/2005 5:47:59 AM
I am using an ASP page to access information in a SQL 2000 database. When I run the following query: ======================================================== Select Distinct [Judge Name], Caption, Avg ([Total Score] - ([Gross Score]/5)) As AvgDev, ABS(Avg ([Total Score] - ([Gross Score]/5))) A...more >>

Multiple 'OR' parameters in sql SELECT statement
Posted by Luis at 2/22/2005 5:02:03 AM
Is there a better way to write the following statement? SELECT id, firstname, surname, age FROM sometable WHERE ( (id = 5058) OR (id = 1389) OR (id = 15075) OR (id = 1099) OR (id = 1299) OR (id = 1961) OR (id = 14733) OR (id = 1245) OR ...more >>

connection string--setup problems
Posted by middletree at 2/21/2005 11:16:15 PM
I have posted this to the asp.general group, but the answers given there have not addressed the problem, so I'll try here. Set up a W2003 machine at home. IIS is working. I placed an Intranet-based app that I wrote at work, onto this home machine. I rebuilt the SQL Server 2000 db exactly the s...more >>

Help With Increasing Size Of Simple Multi Dimensional Array
Posted by Andy at 2/21/2005 9:24:30 AM
Hi Gang I want to create a simple array that could have up to 100 - 200 rows and that always has 2 columns (and will have some number value in each column). I can't seem to figure out how to create the array initially, increase the row size 1 by 1 and populate the values of the array in a lo...more >>

looking for a tool/ middleware tool which...
Posted by hc.b NO[at]SPAM gmx.de at 2/21/2005 3:17:49 AM
Hi all. I'm looking for a tool which should act like some kind of middleware/ logical layer bewtween the SQL server and the webbased user interface. - It should be possible to easily create simple web forms (only data input and output) without programming effort by "clicking" the fields and...more >>

Scripting a SQL database
Posted by Roland Hall at 2/19/2005 5:02:51 PM
1. With Enterprise Manager what is required to have the script create the database, the SQL user and set their password? 2. Now that I have created the scripts, how do I execute them on a different SQL server and can it be done from ASP? ...more >>

Hiding Table Columns
Posted by A P at 2/18/2005 3:25:01 PM
I'm using JS getElementbyID to hide a particular table row by display = "none". Now, I need to know how to hide a column of a table that was generated by asp scripting. Me ...more >>

Weird permissions issue
Posted by Shinz62 at 2/18/2005 2:09:12 PM
Howdy Experts! I have an ASP application (IIS 5.0 on Win XP Pro) that talks to an Access 2003 database via an ODBC DSN. The app works great in a hundred or more installations. However, I have one customer that when they try to write anything (it reads data just fine), the ASP page gives t...more >>

records won't return using Form Variables
Posted by Kevin at 2/18/2005 1:53:05 PM
Hi, Tools --> Access2000db, win2k, asp So, I have a web form that captures 3 pieces of data: Course, SiteName, StartDate. Here's my code: ' Declare form variables to capture Dim varCourse, varSiteName, varStartDate varCourse = Request.Form(Trim("Course")) varSiteName = Request.Form("...more >>

Problem with AddNew method while adding record
Posted by Jack at 2/18/2005 10:23:01 AM
Hi, I am testing a small asp page where addnew method is applied to add record to a table. However, I am getting the following error: Unspecified error /gwisbrandnewready4/test/REPLY.ASP, line 35 Line 35 is goes as follows: pRS.Open "People", myDSN,,adLockOptimistic,adCmdTable Any help i...more >>

Accessing MS Access Db On Remote Server??
Posted by Andy at 2/18/2005 6:10:50 AM
Hi Gang I have IIS5 running on a Win 2000 server that hosts our asp applications. I'm creating a new application on this server but it needs to access an Access database on another Win 2003 server. In the asp how do I connect to the database on the remote server? Please help. Andy ...more >>

error when changing from Access to MySQL
Posted by TB at 2/18/2005 2:35:23 AM
I am in the process of migrating from Access to MySQL I have already exported the data and the structure of the database and changed the connection string to: <% set Conn = server.CreateObject("ADODB.connection") Conn.open "driver={MySQL ODBC 3.51 Driver};server=mysql.domain.com;uid=user...more >>

Pass parameter to nested query
Posted by laura at 2/17/2005 4:51:04 PM
Hello, I'm very, very new to ASP and am trying to run a travel and absence database for a small company on the internet. It will show as column headings 01 Tue, 02 Wed, 03 Thu..... etc for one month. Row headings will be the employee names and the cells will contain the locations where they...more >>

SQL Script
Posted by Roland Hall at 2/17/2005 1:51:43 PM
I have created a SQL database, a user to be used for communications in my ASP code, my tables, etc. Enterprise Manager gives me a way to create scripts of the structure. I don't really understand which scripts to create as their are numerous choices and it will take some more research but I ...more >>

Valid password characters
Posted by Tomas Eklund at 2/16/2005 9:48:46 PM
Often when one registers on different web sites around the world, there is a pretty hard limitation on what characters I am allowed to use in my username and password. Why is that? What limitations should I put on my customers' usernames and passwords if I just want to store it in an SQL or Ac...more >>

Setting Focus after VBscript processing
Posted by Drew at 2/16/2005 9:39:35 AM
I have a form which has 1 textbox in it. When the user enters a number, and tabs, it submits the form and the textbox disappears and the name of the person that the ID corresponds to is displayed (filters recordset, returns name). The problem I have is that this is the first textbox on the p...more >>

Connection Pooling in ASP
Posted by John Beschler at 2/16/2005 4:35:05 AM
When connections are pooled in ASP to an SQL backend, is the connection to the SQL server considered to be one connection? Here's why I ask: The asp page I am working on will need to build a temporary table in the SQL database. If two people try to retrieve the same page at the same time, w...more >>

Oracle and ASP connection
Posted by suyog.shah NO[at]SPAM gmail.com at 2/16/2005 2:32:46 AM
hi all, i am trying to connect to oracle thru an ASP page ... for this i write a code as below Set objConn = Server.CreateObject("ADODB.Connection") objConn.Open "dsn=OracleDSN;uid=userid;pwd=password;" after this i am trying to display the rows of a table in the database Th...more >>

Null Date in select statement
Posted by Jake at 2/15/2005 9:23:48 PM
Not sure how to do this but what Ive tried hasent worked. SQL = "SELECT ID,FirstName,LastName FROM MySchedule WHERE MyDate IS NOT NULL" Need to get all records that have a date in the MyDate field. What's wrong with this? Thanks! ...more >>

Access trouble..
Posted by Dan at 2/15/2005 8:20:46 PM
Can't seem to see what I'm doing wrong here.. I have attached the three files that I am using... When i run default.asp in ie, i get the message --------------------------------------------------- Microsoft JET Database Engine (0x80040E10) No value given for one or more required parameters...more >>

Mailing system
Posted by John at 2/15/2005 6:30:58 PM
Hi Here is a mailing system to send html flyers via email; http://www.webwizguide.info/asp/sample_scripts/software_downloader.asp. Are there others around? Thanks Regards ...more >>

Help with using Oracle from ASP - using long running stored procedure
Posted by colin_lyse NO[at]SPAM 98fgfgs.com at 2/15/2005 5:18:05 PM
we are using ASP with Oracle 9i backend. we need to user procedures that can take up to 10-15 minutes to run (they been tuned, they are doing alot of work). Problem is that the page will either time out, or if we remove the time out they can't use it for the time is it possible to have ...more >>

Random error message!
Posted by Dan at 2/15/2005 5:18:55 AM
Im pretty new to asp, but this just isn't right no matter what lang you use. I had a website that i was working on. hosted and designed on my laptop. (xp home w/ iis) This site was working perfectly when i left it. well not complete yet, but the major functionality was done, and there were...more >>

Problems with insert statement using SSL(Verisign)
Posted by mvr at 2/14/2005 10:39:35 AM
Hi all I are using IIS 5.0, Oracle 8.1. I am having problem with the following Insert Statement when used on Production Web server with SSL(https://...., Verisign). This doesn't occur everytime. Our studies shows that it is occurring approximately between1-2% of the total applicati...more >>

Session Timer
Posted by tom NO[at]SPAM jb-solutions.co.uk at 2/14/2005 4:17:01 AM
Hi everyone, I want to try and capture the amount of time a user spends on a particular page. I can figure out what time they first viewed a page, but is there a simple way to update an Access DB when the page closes or they navigate away from the page? Thanks in advance, Tom...more >>

March Madness Page Help please
Posted by Jimmy Smits at 2/12/2005 4:07:18 PM
Hi I am trying to develop a little site for myself an co-workers to enter our march madness bracket picks. With the tiny little bit of knowledge and some cutting and pasting I have created a mess that sort of works. I have a JS form that users can enter all of their own picks. However, when th...more >>

Something like SQLGetInfo with vbscript for ODBC?
Posted by Florian at 2/12/2005 11:53:44 AM
Hi, I was wondering if there is a way to get details about a current ODBC database connection. We have some pages that connect to a ODBC data source via a DSN name (ASP + VBScript) but need to know whether the database we are talking to is MSSQL, MySQL, Oracle etc.. In C++ I am using ...more >>

login - session variable , would like to see sample website
Posted by ck1web NO[at]SPAM yahoo.co.uk at 2/12/2005 8:41:11 AM
I am currently building a simple asp website for my college project. I have successfully completed the guestbook tutorial at http://www.asp101.com/samples/db_simple.asp (+ add, delete and update) I am looking for a simple ASP logon system which will ensure users only see their own personal d...more >>

Syntax error with dates
Posted by AndyK at 2/11/2005 9:28:16 PM
I am trying to update an Access database using an ASP form with a date. All I return is a custom error telling me there is a syntax error with the field I am trying to pass. Help. ...more >>

Simple Report Solution?
Posted by Jake at 2/11/2005 11:38:01 AM
Looking for a simple report solution using ASP and Access db. I want to allow the users to select table, fields to be in report. Then allow them to specify criteria for the query. Would output to simple table in browser - nothing fancy. Any free scripts for something like this? Could perhap...more >>

Multiple Column Table db results
Posted by Jake at 2/10/2005 9:12:14 PM
How can I display my db results in a multi-column table? Need to build a formatted mailing label print page. I need to display a 3 column table and also have a page break after every 10 rows. How can I do this? TIA! ...more >>

Uploading files into SQL Server
Posted by Konstantin Loguinov at 2/10/2005 8:36:16 AM
Guys, I tried to google this up but couldn't find anything related to classic ASP. How do I upload files into a SQL Server table? I need to upload a pdf related to each record in the table and display the pdf every time a link is clicked. I'm aware of potential drawbacks of doing this, but o...more >>

VBScript SQL Server Search Script
Posted by thomas.burrow NO[at]SPAM whis.nhs.uk at 2/10/2005 6:56:01 AM
Hi, Does anyone know of a good sql server asp vbscript search script? I am looking to have multiple word searched with results ordered by relevance etc. Thanks...more >>

empty date columns
Posted by TB at 2/9/2005 6:13:00 PM
Hi All: I have an ASP page accesing an access 2000 database, which contains a couple of date columns, which I have trouble updating when an empty value is entered.. bits of my code (simplifed here for clarity): (DB Connection "Conn" previously established) (results coming from a form) ...more >>

Connecting to a database in a different server
Posted by Jack at 2/9/2005 12:07:04 PM
Hi, I can successfully connect to a database located in the same server. I am using the following code to connect to a database located in the same directory as the web application, gwis. myDSN="DRIVER={Microsoft Access Driver (*.mdb)}; " & _ "DBQ=" & Server.MapPath("/gwis/GMISDATA.mdb"...more >>


DevelopmentNow Blog