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 > march 2004 > threads for march 15 - 21, 2004

Filter by week: 1 2 3 4 5

ASP Sessions, Classic ASP & VB Script
Posted by Gary W at 3/21/2004 10:20:53 PM
Hello, I have used SESSIONS on mission critical pages on my site, and if sessions are not enabled / supoorted - these pages will fail. When and why would a session fail? They do not store any info client side, and rely on the server to store session objects in memory, am I correct? Would sec...more >>

Why can I get a RecordCount with this code???
Posted by michaaal at 3/21/2004 9:14:57 PM
Am I doing something wrong? set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=SQLOLEDB; Data Source=P400; Initial Catalog=Database; User ID=Mantle; Password=4700" strSQL = "SELECT * FROM LoginIDPermissions WHERE (LoginID='thomas');" set recsetLoginIDPermissions = conn.exe...more >>

Reading site database
Posted by John at 3/21/2004 7:39:31 PM
Hi We have a site with ms access backend, hosted remotely with a hosting company. Can we read the tables in the site database within our office desktop app either using web services or some other way? Are there any links to how this can be accomplished? Thanks Regards ...more >>

New to DB Development
Posted by Jim at 3/21/2004 5:56:26 PM
I am new to developing Webs that contain databases and want to get off to the right start. I am hoping someone will take some of their valuable time to answer. How much more difficult is it to "start" with SQL Server than Access? None of the Webs I design, at least until now, need any transa...more >>

Tidy, elegant code in ASP - a lost cause?
Posted by jhoge123 NO[at]SPAM yahoo.com at 3/21/2004 11:11:08 AM
My web app is undergoing the simple task of inserting the results of a form post into a database. Blank form fields are OK, but I want the database to have a null instead of an empty string. I'm a big fan of tidy code, so it bothers me that I need to use this longwinded IF statement in ASP to ...more >>

Problem with single and double quotes
Posted by Dave Navarro at 3/21/2004 9:55:45 AM
I am having problems putting text into fields when the text contains single or double quotes. Can I escape them or something?...more >>

cookie expiry date?
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/21/2004 7:02:26 AM
I want to create a cookie that remembers the member's log in password and username. But i do not know how to set an expiry for the cookie. I understand that if I set to the one below, when the user closes and reopens the browser, he will still be logged in. But i wish to let the cookie expire once t...more >>

Asp & MySQL Tips
Posted by Laphan at 3/20/2004 10:51:39 PM
OK I know this NG is primarily for Access and SQL Server users, but the NG does signify asp and 'a' db. I've got MySQL 4 and MyOLEDB 3.0 installed and it seems to run OK with the test ASP page that I have just done. Before I go for hell for leather into my new shopping cart system, could you...more >>



How to log out?
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/20/2004 7:02:52 PM
How can my members log out of my shopping website? I can't seem to figure it out. I'm using a session cart where users can log in before shopping or log in upon checking out products. How do they log out??? I'm using ASP and oracle sql. Thanks *****************************************************...more >>

How can I protect my code?
Posted by michaaal at 3/20/2004 5:50:24 PM
I am writing some code for a customer. The code integrates with his current SQL Server Database which resides on his server. We agreed that he will not pay me until the project is complete. Because I do not have a long history with this person I am somewhat uncomfortable just "handing over" th...more >>

Error while Alter Column in Access Database ?
Posted by Luqman at 3/20/2004 1:16:45 AM
When I try to Alter Column in Access Database, following error occured. Technical Information (for support personnel) a.. Error Type: Microsoft JET Database Engine (0x80040E09) Cannot modify the design of table 'tbl'. It is in a read-only database. /luq/createdb.asp, line 6 b...more >>

Is there a need for using "GO" in SQL commands?
Posted by michaaal at 3/19/2004 11:45:59 PM
When using SQL commands in ASP, is there a need for using the "GO" command as is used in typical SQL scripts? ...more >>

OnChange, lookup infromation from Database
Posted by webmaster NO[at]SPAM moboysstate.org at 3/19/2004 3:54:52 PM
I have a form on a webpage that someone enters a number (SponsorID). After then enter that SponsorID into the form, I need to somehow query my SQL database and find the record that has the same ID as the SponsorID entered into the form and return the SponsorName (and write it out on the page us...more >>

data access providers
Posted by James Carney at 3/19/2004 11:18:49 AM
i am trying to host a data access page on iis 5.0 i am receiving an error message when i navigate to the pages that says, this page is hosted on an incorrectly configured webserver. i am at a loss as to what i am missing? i add mdac as the ms website instructs. i am pulling out the proveri...more >>

ASP/HTML problem
Posted by katie_robertson_180 NO[at]SPAM hotmail.com at 3/19/2004 10:44:42 AM
Hi, I've encountered a small, but in the end non fatal problem in my a response form I would greatly appreciate if someone could help me. Its a 2 page form with a 3rd form to check all the results. Data is transferred between the forms via hidden inputs. The check results is built into a...more >>

Database Grouping/Counting Records
Posted by Sarah at 3/19/2004 9:13:38 AM
I have a question that bothers me from time to time and I"ve never been able to come up with an elegant solution... Here's a real simple example... Let's say I have a database with a field containing people's first names and I want to find out how many of each separate name there is. (How...more >>

Microsoft Project 2003 web application
Posted by MyaTiX at 3/19/2004 5:21:05 AM
Hi Can someone tell me if it is at all possible to create a web application using Microsoft Project. I want to create a web application that provides users with the possibility to view the gant charts and main details of the project file I would be really grateful to anyone that might be able t...more >>

Auto generate id?
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/19/2004 5:14:07 AM
This should be a really familiar question but i cant seem to find any similar related questions. I am in the midst of making a shopping website whereby customers can sign up to be a member and adminstrators can add products to the database. I'm using sql Oracle and i've created the tables and ins...more >>

Insert using an Oracle stored procedure
Posted by andyza NO[at]SPAM webmail.co.za at 3/19/2004 4:57:53 AM
I'm using the following code to insert a new record into an Oracle 8.1.7 database using the stored procedure below: set conn = Server.CreateObject("ADODB.Connection") conn.open connStr SQLString = "TABLENAME_INSERT_SP(COLID => TABLENAME_SEQ.NEXTVAL, COLNAME => '" & tmpName & "', COLSNAME => '...more >>

a big problem...
Posted by Utada P.W. SIU at 3/18/2004 2:39:00 PM
Hi all professor, I have a big problem in sqp with db programming, would you please help me, thanks first. I have 3 table, structure as following ================================= exhibition exhibition_id exhibition_name 1 toys show 2 ...more >>

paging with an asp page
Posted by Rahul Chatterjee at 3/18/2004 2:13:57 PM
Hello All I want to do some paging with a data set that I retrieve from the db. The data is about 500 records. I want to display about 25 records per page. The user would look at these records and make appropriate changes and proceed to the next page and see the next 25 records. If he wanted t...more >>

Sql Not Properly Ended Error
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/17/2004 6:25:20 PM
I am in the midst of creating a shopping website. However i'm stuck here. I can view my list of products and click to further go into an update form with previously entered details. But when i click "update", i always get this error below. Microsoft OLE DB Provider for ODBC Drivers error '80040e1...more >>

How To Handle Multiple Target Frames At A Time?
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/17/2004 6:23:26 PM
I am currently using 2 frames called "left" and "main". Right now i am having a user log-in table that is in the frame called "left". My code will then check if the user is valid. If it is, the successful log-in table will be shown in the same frame, "left" while if the log-in is unsuccessful, a reg...more >>

Access and ASP adding a record trouble
Posted by katie_robertson_180 NO[at]SPAM hotmail.com at 3/17/2004 2:45:57 PM
Hi, Could anyone help with this please, I on the verge of ripping my hair out. I'm trying to just add a new record into a database, a task that I thought may be relatively easy, doh! I'm using proper hosted webspace + asp etc is all installed on there servers, and I can send email from a...more >>

connection suddenly fails: mdac? pooling?
Posted by HernĂ¡n Castelo at 3/17/2004 12:43:16 PM
hi just for test, i wrote this asp code if i include the line of "activeConnection" i get the 800a01fb error : "exception" i reinstalled MDAC again and again i close all objects see the example ONLY open and close a connection connections seems be POOLED ok but executing the asp code sev...more >>

ASP and access memo fields
Posted by Alan at 3/17/2004 11:19:38 AM
I am experiencing a problem writing to a memo field from my website. I am running windows 2003 server and access 2000. The problem I have seems to be when I call a page to write a large chunk of text to a memo field it seems to hang the server. I do not get any error mesages the page just ...more >>

Clearing a Table (Access MDB file)
Posted by Phillip Windell at 3/17/2004 10:16:59 AM
What is the SQL used to clear the data from a table but not bother the table structure or design. While using and "import" feature I just need to clear the table of old data before importing a load of new data into it. -- Phillip Windell [MCP, MVP, CCNA] www.wandtv.com ...more >>

Oracle stored procedure insert record problem
Posted by andyza NO[at]SPAM webmail.co.za at 3/17/2004 4:41:10 AM
I'm trying to use a stored procedure to insert a new record into a table on an Oracle 8.1.7 database. My stored procedure is similar to: PROCEDURE DO_AN_INSERT_PROC IS COLX VARCHAR(50); COLY VARCHAR(50); COLZ VARCHAR(50); BEGIN INSERT INTO COLUMN_NAME (COLX,COLY,COLZ) ...more >>

Comparing two records
Posted by Sajid at 3/17/2004 2:51:09 AM
Hi al How can I compare two database records such that the query returns the matched records and their percentages to which they are alike. ...more >>

SQLAllocHandle Error
Posted by kabi_240 NO[at]SPAM hotmail.com at 3/16/2004 8:42:10 PM
Hi I am trying to make a simple connection in an asp page Dim DConnect Set DConnect = Server.CreateObject("ADODB.Connection") DConnect.Open "dsn=mydata;uid =xyz;pwd=xyz" DConnect.Close Set DConnect = nothing I am getting this error. Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [...more >>

execute a stored procedure to insert into a table
Posted by Rahul Chatterjee at 3/16/2004 5:54:55 PM
Hello All i have an XML string which I create in asp and send to a stored procedure. When I try to execute it for more than 20 records I get an error of data truncation. Cna anyone help the code is as follows strUpdtXML = Request.form("Message") - this is a valid XML string set Conn = s...more >>

Pass Variable
Posted by Darren Woodbrey at 3/16/2004 10:45:24 AM
I have a form that posts to a page with a SQL INSERT statement. I then want to automatucally redirect to a page with links on it. I need the entry variable, which is my primary key and an identity field to be passed to the third page. Can anyone help me with this? Thanks! Darren MCP ...more >>

ASP/SQL Question - Looping Through Records
Posted by Chad S at 3/16/2004 7:58:09 AM
Hello, Thank you in advance for taking the time to look at this for me. Problem I have a single table with multiple records group by PatientID. Each PatientID can have multiple records. I'm trying to setup a report, which will display if certain fields are NULL. I only want the field to ...more >>

Using COUNT and ORDER BY in a SQL Statement
Posted by Wole at 3/15/2004 4:33:41 PM
I'm trying to write a SQL statement that selects records from a database and returns the record count using the COUNT keyword. I know I can use objRecordSet.RecordCount but I would prefer using the internal COUNT keyword for better performace. I have a database called users with 1 table named ...more >>

Item cannot be found in the collection corresponding to the requested name or ordinal
Posted by baris NO[at]SPAM barisbicakci.com at 3/15/2004 11:49:35 AM
Hi all, My problem: When I use the following code, I get "unspecified error". And when I debug the code using "response.write", I get "ADODB.Recordset (0x800A0CC1)Item cannot be found in the collection corresponding to the requested name or ordinal." The code is simply trying to get a sing...more >>

ADODB connection issue
Posted by spinnaret NO[at]SPAM hotmail.com at 3/15/2004 9:44:26 AM
Hello All, First of all apologies for the double post. I am posting through google and it can be confusing. My problem is this: I am trying to update a table using the connection string below. It doesn't work, I don't know why. I am able to write the values below to the screen and I a...more >>

ADODB connection issue
Posted by spinnaret NO[at]SPAM hotmail.com at 3/15/2004 9:41:52 AM
If Request.Form("Submit") <> "" then set conn=Server.CreateObject("ADODB.Connection") conn.Open "PROVIDER=MDASQL;DRIVER={SQL SERVER}; SERVER=DUBLIN04;DATABASE=DUBLINTESTV4; UID=whoopwhoopthat's;PWD=thesoundofthepolice" (This line is unbroken in my page) ..CommandTimeout = 60 ..Ope...more >>

Empty Recordset
Posted by Patrick at 3/15/2004 9:13:23 AM
Hi I have a ASP page accessing a Oracle database and a SQL string that should return 1 line (record). I have tested my String in another program and I get what I am supposed but in my page a get an empty Recordset. I have been everywhere to find a solution to my problem and I can't fi...more >>

Access query won't work with XP
Posted by ernestcarroll NO[at]SPAM msn.com at 3/15/2004 9:10:44 AM
I have ASP web pages which were running on the NT IIS and querying access databases on 2 different PC's. I had to replace the PC and the new PC has windows xp. I have fought for the last week trying every combination of settings but cannot get anonymous access to work. The query's work fine f...more >>


DevelopmentNow Blog