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 db > march 2004 > threads for march 22 - 28, 2004

Filter by week: 1 2 3 4 5

Multi-Language Site
Posted by Laphan at 3/28/2004 9:47:31 PM
Hi All I've seen a few examples of multi-language ASP web sites, but none that seem to do it very well. Basically I can see that all of the strings need to be kept in the database and that the relevant table needs to be constructed as follows: STRINGID, LANGUAGEID, STRING 123, ENG, Baske...more >>


Full text search
Posted by sajid at 3/28/2004 9:31:11 PM
Hi all I have a requirement in which customer fills in a form. The provided form fields are searched against the coulmns in customer table. For example FirstName is searched against FirstName in the table and so on. If the form data is same as that of a table row than it is 100%. If for examp...more >>

Table of Categories Queries
Posted by Laphan at 3/28/2004 9:29:25 PM
Hi All Few logic queries again. I've seen a lot of sites that display categories in a sort of table with the number of items/products that are available in each category being represented by a number next to each category, eg: Books (5) Cats (2) Dogs (8) ...more >>

New user testing (no text)
Posted by Bob The ASP Builder at 3/27/2004 5:59:29 PM

Flat-file record vs. relational DB
Posted by MDW at 3/27/2004 6:06:06 AM
Hey there I'm working on revamping an application I originally helped architect. At the time I first created it, it was my first DB/ASP project and a lot of things in it now seem glaringly wrong about it. Namely, there is one field in the table we use that breaks the cardinal rule of atmocity - it...more >>

Alternate for passing parameters for dbase query?
Posted by Mike Hill at 3/26/2004 11:17:48 AM
I am developing an asp/sql driven application. Right now I am passing parameters like this: page2.asp?uid=<%=User%>&otherinfo=<%=otherinfo%> I then use the value of 'uid' and 'otherinfo' to query my dbase. The problem is that the user can see what is happening and change the value of .....more >>

How do I update 2 or more db-posts ?
Posted by Bob the ASP Builder at 3/26/2004 8:38:34 AM
I need to update values in different posts in an Accesdatabase without opening and closing more than once How do I do that The values should always be updated - +1 Typically: RecSet("Col1") = RecSet("Col") + 1 This does not work Uppdat = "SELECT Col1 FROM My_Db WHERE ID IN (497, 498)...more >>

Reading XML Recordsets
Posted by jhoge123 NO[at]SPAM yahoo.com at 3/26/2004 7:01:39 AM
I have a little script that reads an XML file from a remote server. The xml file was generated from an ado recordset with the recordset.save method, and it is read in using the recordset.open method. The silly thing is that I can't get it to work unless I first save the recordset to a file an...more >>



max value problem
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/26/2004 4:33:05 AM
I am trying to select the max value in my order_id column from my orders table and there after insert this selected order id into my ordereditems table. sqlString="select max(order_id) from orders" RS.Open sqlString order_id = RS( "order_id") sqlString = "INSERT INTO ordereditems ( "...more >>

Create a DSNless connection IN VBscript to connect to an Oracle Database
Posted by gonkowonko NO[at]SPAM freeuk.com at 3/26/2004 2:35:14 AM
Hi all need some serious help; i am trying create a VBscript that will record computer usage information and i am tryin to connect to my oracle 9i database on a server using a connection string but not on your nelly can i get the thing to work!!! heres what i have "Driver={Microsoft ODBC...more >>

Basic Logic Questions in ASP/DB scenario
Posted by Laphan at 3/25/2004 11:07:37 PM
Hi All I know these are probably a very general questions, but I'd like to know your thoughts all the same. Basically my shopcart is taking shape and I want to do the following: 1) A user's product has a set price and then an option to enter a price for each size. Before I can display th...more >>

Question on ADOConnection
Posted by Wing at 3/25/2004 9:55:45 PM
Hi, I'm using asp.net. I don't know why the following has error. The code has error in line 3 on ADOConnection. Can someone please kindly tell me why it doesn't compile??? Thanks, Wing <SCRIPT LANGUAGE="VB" RUNAT="SERVER"> sub page_load(sender as object, e as eventargs) dim cna as ADO...more >>

Ranking - More
Posted by Brian at 3/25/2004 1:56:26 PM
I have 2 tables. I'm trying to add a ranking feature to my CMS. Here are the details. content ---------- id int identity catid int title varchar(20) body text status char(1) rank category ---------- catid int catTitle varchar(30) status char(1) sample data - content ------...more >>

Writing to an Access database file
Posted by Fran Tirimo at 3/25/2004 12:39:58 PM
I am developing a small website using ASP scripts to format data retrieved from an Access database. It will run on a Windows 2003 server supporting FrontPage extensions 2002 hosted by the company 1&1 with only limited server configuration via a web based control panel. My query relates to the ...more >>

Simple one
Posted by Mike at 3/25/2004 12:25:27 PM
I saw a select statement in a book and wasn't sure what this meant, "where 1=0" It was in a select into clause. Any help would be appreciated....more >>

URGENT: PB passing WebParameters among forms.
Posted by ptreves at 3/25/2004 12:16:05 PM
Hello I get the following error, when trying to pass an OrderID from one WebForm to another Server Error in '/FinalProject_cs_new' Application ------------------------------------------------------------------------------- An OleDbParameter with ParameterName '@OrderID' is not contained by t...more >>

How can I make a primary key in my SQL database?
Posted by michaaal at 3/25/2004 10:03:34 AM
I normally use code like this when connecting to my database... set conn = Server.CreateObject("ADODB.Connection") conn.open "Provider=SQLOLEDB; Data Source=P400; Initial Catalog=dbase1; User ID=John; Password=1234" conn.execute("CREATE TABLE Names (FirstName CHAR(20), LastName CHAR(20) );") ...more >>

strange slowness with getrows method
Posted by davidharman NO[at]SPAM it-choice.co.uk at 3/25/2004 6:10:49 AM
Hi, I've recently converted some asp code reading records from a database table to use the more efficient getrows method. The strange thing is that even when returning as many as 600 results the getrows method is up to 3 times slower than using the traditional recordset and using objRS("fie...more >>

Access 97 and MDAC 2.6
Posted by Eddie Simons at 3/25/2004 4:25:10 AM
Does anybody know anything about problems with MDAC 2.6 and Access 97? My hosting provider adviced against using Access 97 on their servers because MDAC 2.6 and higher would not support this properly. I decided to try anyway. A few weeks it worked flawlessly, but all of a sudden no database coul...more >>

Updating details in a field using asp
Posted by Stephen Cairns at 3/25/2004 4:16:06 AM
I need to be able to update details in a record in a table. I want to take the information from a textbox on a form - Request.Form("classification") The table has three fields and I only want to change the details in one of the fields (classification Can someone help me write the asp code to u...more >>

Get drop-down menu on returned row
Posted by Stephen Cairns at 3/25/2004 3:26:06 AM
I have some asp code which returns record details in html textboxes. The code is working fine however I would like one of the textboxes to display the results of that record but also have a drop-down menu displaying the other distinct field values in that field. My code looks as follows: < set ...more >>

date problem
Posted by (chelleybabyger NO[at]SPAM hotmail.com) at 3/24/2004 10:02:32 PM
Hi! i am using oracle sql and ASP to do my shopping cart. Below is a snippet of my asp codes. sqlString = "INSERT INTO orders ( " &_ "order_userID, " &_ "order_ccnumber, " &_ "order_entrydate " &_ ") VALUES ( " &_ " '" & userID & "'," &_ " '" & ccnumber &...more >>

Windows 2003
Posted by Paul Ilacqua at 3/24/2004 6:34:56 PM
This is slightly off topic but is there an affordable way to get Windows 2003 Server for testing use at home. Paul ...more >>

PROBLEM CONNECTION ON REMOTE ACCESS DATABASE
Posted by YERVANT at 3/24/2004 3:57:21 PM
I have a problem with my connection. My computer is a customer Windows 2000 Professional, I Installed IIS into my computer. I want use a connection with a remote database into the server or other computer (The server is Windows 2000 Server). When I put the database into a folder in my c...more >>

URGENT - ODBC Problems.
Posted by Henrique Alves at 3/24/2004 1:57:56 PM
Hi, When I trie to browse the site I get this two errors: * Microsoft OLE DB Provider for ODBC Drivers error '80004005' * [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by...more >>

Connections and commands
Posted by jhoge123 NO[at]SPAM yahoo.com at 3/24/2004 7:01:00 AM
I have a web app that uses a connection object as the activeConnection property for several stored procedures on a page. At the end of the page I dutifully close and set the connection object to nothing. Should I do the same for very command object that uses this connection as the .activeConne...more >>

Add record to database
Posted by Stephen Cairns at 3/24/2004 4:01:07 AM
Could some one help me write the asp code which adds a record to a database table. The connection i've been using is as follows: set dbconn = server.CreateObject("ADODB.Connection") dbConn.Open Application("connectionString" I need to add the contents of a textbox on a web form into the field...more >>

Drop-down list box width
Posted by Stephen Cairns at 3/24/2004 2:51:08 AM
I have a piece of asp code which is populating a drop-down list box from the information of a field in a table, but I need the width of the drop-down list box to be exactly 34char but it would seem to work for me. Here is my code below: - Can anyone help m <tr><td height="30"><div align="l...more >>

asp to asp.net
Posted by John at 3/24/2004 12:35:07 AM
Hi Is there a way to convert an asp site to asp.net? I am not looking to change any existing functionality for now and I don't mind if code behind remains in legacy vb/asp. I just want to do any future additions to the site in asp.net hence the need to convert the existing site. Thanks R...more >>

ASP and Oracle 9i
Posted by John Byrne at 3/23/2004 10:49:35 PM
Hi, I have just started test our website against Oracle 9i Release 2 on a Windows 2000 server and are experencing problems connecting to the database. When trying to connect via OLE DB using MSDAORA it seems to not recognise the Oracle Client software and returns a error stating that the...more >>

Norton AV script blocking service - stops when started (?)
Posted by Some Guy at 3/23/2004 8:31:44 PM
Win-XP pro. NAV from Norton System Works 2002. Script blocking service is "automatic" but doesn't seem to be started when the system starts. It will start when told to do so manually, but about 10 seconds later it stops. Have searched previous posts (this issue seems to date back to at le...more >>

Initialization string <> OLE DB spec.
Posted by ptreves at 3/23/2004 7:16:05 PM
Hello I am working with Windows XP on my Toshiba laptop computer I have the following pb ---- MICROSOFT DEVELOPMENT ENVIRONMEN The connection could not be open because of the following error Format of the initialization string does not conform to the OLE DB specification ---- I click the '...more >>

ODBC vs OLEDB - Is there a real differnece?
Posted by jhoge123 NO[at]SPAM yahoo.com at 3/23/2004 5:12:19 PM
I've been told that OLEDB is a faster way to get to a SQL Server database from ADO than to use ODBC. My paranoid streak prevents me from putting a password in cleartext on my web server. Given the number of source revelation exploits I've read about, I would rather not do this and just use the I...more >>

saving a record between paging
Posted by Rahul Chatterjee at 3/23/2004 4:52:41 PM
Hello All This is somewhat related to an earlier post that I had. I am paging between records (10 records per page). If I make a change to a record on a page before paging to the next page (by clicking next page or previous page), I would like to commit my changes to the db. How would I do suc...more >>

Passing image from web page to database
Posted by Raymond D'Anjou (raydan) at 3/23/2004 2:12:24 PM
I wan't the user to pass an image (from their hard drive) as a parameter to a SQL stored procedure. From the web page, the user will identify the path and file name and submit the page. I know how to write the stored procedure to do this but I am unsure about how to do this from the web pag...more >>

DB connection PB.
Posted by ptreves at 3/23/2004 1:01:10 PM
Hello I am writing an ASP.NET application and trying to access an Northwind.mdb MS-Access database usin oleDbAdapter1, oleDbConnection1, and DataSet11 objets and a dataGrid control I get the following error when I run the application ---- Server Error in '/FinalProject_cs_new' Application ...more >>

SQL stored procedure not working.
Posted by Lin Ma at 3/23/2004 12:25:35 PM
I create a stored procedure and a asp page. But I got an error. Please help. Thanks, Lin Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E10) Procedure 'getCustomerList' expects parameter '@Location', which was not supplied. --------------- asp page -------------- Dim cm...more >>

CMS - navigation issue
Posted by Brian at 3/23/2004 11:05:53 AM
i have a cms i am working on. there is a table called page (pageid int identity, body text, status char(1). I have a problem. Currenly if you add a page, it will fall in the navigation structure in that same order. How can I change the order of the pages in the navigation if a users wa...more >>

db connection problem to sql server 2000 -- newbie
Posted by someone at 3/23/2004 9:10:03 AM
everytime i run my asp project i get this following error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified this is what i have in my global.asa file: Sub session_onStart session("...more >>

Newbie! Need Help Please with db connection to m.s. sql server
Posted by someone at 3/23/2004 9:06:26 AM
everytime i run my asp project i get this following error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified this is what i have in my global.asa file: Sub session_onStart session("...more >>

Bind a field to a textbox
Posted by Stephen Cairns at 3/23/2004 2:01:05 AM
Does anyone know how I can bind the options in a field to a textbox on a web form on an asp page. I have a database table called dbo.Classifications with a field called Description. I would like the contents of this field to have a drop-down menu on a web form with all the different options in it....more >>

Error while Creating New Access Database through ASP ?
Posted by Luqman at 3/22/2004 11:15:38 PM
If I try to create a new Access Database through ASP, following error occurs and Database is not created. Microsoft JET Database Engine (0x80004005) The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\db5.mdb'. It is already opened exclusively by another user, or you ne...more >>

PROBLEM WITH MY CONNECTION DATABASE
Posted by Yervant at 3/22/2004 11:14:06 AM
I have a problem with my connection. My computer is a customer Windows 2000 Professional, I installed IIS into my computer. I want use a connection with a database into the server. ( The server is Windows 2000 Server). When I put the database into a folder in my computer like this (C:\t...more >>


DevelopmentNow Blog