all groups > inetserver asp db > june 2004 > threads for june 15 - 21, 2004
Filter by week: 1 2 3 4 5
Using server.mappath
Posted by John at 6/21/2004 10:57:21 PM
Hi
On my local server the physical db path is
"C:/Inetpub/wwwroot/StaffDiary/Cal.mdb". I am using the virtual path as
conn.Open Server.MapPath("Cal.mdb") but I am getting a;
Microsoft JET Database Engine (0x80004005)
Unspecified error
error. What am I doing wrong?
Thanks
Regards
... more >>
0x80004005 error
Posted by John at 6/21/2004 9:55:22 PM
Hi
I am getting an unspecified 0x80004005 error accessing my access db. What
steps can I take to find out where the problem lies?
Thanks
Regards
... more >>
Access to mySQL db
Posted by IPT at 6/21/2004 8:40:47 AM
How can I export my access db structure (and query/procedure), and import
them to mySQL db?
In SQL Server, it has function to 'Generate SQL'. In Sybase Watcom, it has
'Unload database'.
... more >>
HTTP 500.100 I don't know anymore
Posted by Jacques Koorts at 6/20/2004 8:30:49 PM
Hi
I really don't know anymore how to solve this problem. I bought .NET
thinking i can debug my way out of it but still no cigar.
This very simple piece of code does not work:
Now here some things before looking at the code:
1. In .NET and IE and IIS I've set all possible debugging ... more >>
CMS Uploading Dilema
Posted by Laphan at 6/20/2004 4:19:11 PM
Hi All
If this should be in .asp.general rather than db please accept my apols. It
is based round a problem with my ASP/MySQL DB so hopefully I've posted
correctly.
I've created a CMS that allows the user to upload their own company logo gif
(to be displayed top left of every page) and thi... more >>
CSV to Access
Posted by CJA at 6/20/2004 2:54:06 PM
Hi
I have a very simple script that seems to work OK inserting into an
Access table from a CSV file. The problem I have is that the first
column (stored as text) has student ID numbers - some start with 100...
others start with a character like K or M. It inserts the 100... IDs but
not t... more >>
ASP Login Script not working
Posted by Wayne Smith at 6/20/2004 2:33:39 PM
Applies to: Microsoft FrontPage 2000, Microsoft Access 2000, IIS 5.0
Operating System: Microsoft Windows 2000 Professional
I am trying to protect a portion of a web site by allowing users to =
register a username and password & then login with those details, but so =
far I am having only margi... more >>
newbie - Automaticaly Posting
Posted by monki at 6/20/2004 11:57:44 AM
I want to take the post data from a form, validate it etc and then post it
out to another page.(on a different site)
Is there a way in vbscript to post a form automatically
i.e.
user completes form & submits via post
Process data & validate
Post data to 3rd party page
Thanks in advance
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
SQL Server Developer's Edition
Posted by David C. Holley at 6/19/2004 7:31:06 PM
I seem to recall reading the SQL Server DE can be used to develop SQL
Server DB's, however the information now suggests that that is not the
case. I'm looking at using a SQL Server DB for the backend of my
website. What do I need to purchase in order to be able to develop the
db on my laptop... more >>
What is the best databse to use and why?
Posted by Jerry C. at 6/19/2004 5:18:41 PM
I am developing a web based application that will have about 1000 users. It
will be hosted on a Windows 2003 Server and written in ASP, ASP.NET. Which
database should I use and why?
Access 2003?
MySQL?
Oracle?
Microsoft SQL 2000?
Thanks,
Jerry
... more >>
slowdowns on server over time...looking for asp errors
Posted by Larry Rekow at 6/19/2004 8:59:23 AM
an app i've written using FP2000 and Access 2000works well enough, but
the server, after a few days, slows down and needs to be rebooted to
speed things up again. some of the pages i've written use the wizards
in FP, but many of the update pages i've used by writing them in just
ASP. I *think*... more >>
Speeding up in-line queries
Posted by Astra at 6/18/2004 8:54:57 PM
Hi All
I know this is a 'try it yourself' thing, but is it generally true that
in-line query (A):
strSQLQuery = "update accounts set fred='" & strfred & "',bob='" & strbob &
"', etc
is not pretty to read as one long string, BUT a lot faster to execute than
in-line query (B):
strSQLQue... more >>
database driven web site
Posted by Steven Scaife at 6/18/2004 3:49:52 PM
I am wanting to change the web site for the company i work for into a
database driven web site. This isn't a problem as i have created several
ASP areas for the web site.
What i want to do is re-write the website so it is easier to manage. It
needs to use style sheets to make it easier to up... more >>
Problems connecting to SQL from ASP page
Posted by Shawn at 6/18/2004 12:11:59 PM
I'm having the weirdest problem. I have just installed
sql server (msde), vs.net on my laptop. I copied all my
databases and websites to the IIS directory so I can serve
the pages. I'm getting the error below. When I try to
view the pages, I get this error. I read the aspfaq and
tried... more >>
Check username to see if already used
Posted by Jeff at 6/18/2004 10:32:05 AM
I know this is an easy script. I used to know it actually, but forget it.
Before updating my DB with the new entry... i want it to check the username
field, to see if the username that someone is trying to register with
already exists. I used to know this if then statement. But just getting bac... more >>
Import CSV Data to Access DB
Posted by Drew Kennelly at 6/17/2004 11:34:31 PM
Hi
I am not even sure if this is possible, maybe somebody can help.
I am making a site for a car dealer, they have some software that they use
to store all information about their vehicles.
The software has the ability to export the information to a csv file, Is it
possible to make an asp p... more >>
Added text field to database. New entries not equal to "" ???
Posted by Noozer at 6/17/2004 8:11:20 PM
Hi!
I'm accessing an MS Access database from an ASP server.
I just added a new text column (field) to one of my tables. I have not added
any data to this new field in any of the rows.
I read the field in and compare it to "" and it's coming up as false.
How do identify the empty fields?... more >>
stored proc RETURN value in ASP
Posted by ben h at 6/17/2004 6:30:06 PM
I have a stored proc which checks for errors, and returns the error value as
a return code/value. how can i 'read' this from my asp code? Should I return
it as a recordset instead?
Here's how it currently is:-
SP snippet:
SET @Err = @@ERROR
RETURN @Err
ASP:
Set conn = Server.CreateObjec... more >>
ASP (not Asp.Net) database best practice?
Posted by nick at 6/17/2004 8:36:28 AM
Will the object variables of
Connection, - Server.CreateObject("ADODB.Connection")
Recordset - Server.CreateObject("ADODB.Recordset")
and Command - Server.CreateObject("ADODB.Command")
be automatically released after the asp page finished running or error
exception (e.g. the database get d... more >>
Old ASP - data manipulation
Posted by Oded at 6/17/2004 4:46:01 AM
Hi all,
My application is based on old ASP (not .NET).
I have a page which should display several DB records and allow inserting/updating/deleting. I'm looking for the best way to enable it.
If anybody knows an elegant way and could direct me to some good relevant resources, it will be a great he... more >>
How to execute 2 sql commands in one sql query?
Posted by Vlad at 6/17/2004 4:19:00 AM
Hello,
I need to delete some records and insert new ones right
away. Is there any way to do it within the same query
string?
Set objRecordset = Server.CreateObject("ADODB.Recordset")
QueryString = "delete from Tbl_Therapy where proceduredate
= 06/02/04; insert into tbl_therapy(caseid, pro... more >>
Data access in XML from Sql-server200 using asp
Posted by Vaibhav at 6/16/2004 11:21:01 PM
Dear all,
i wornder is some one help me.
i want to access the the data from ms-sql-server2000 to xml file using asp so my
code is as
<%@ Language=VBScript %>
<!--#include file="adovbs.inc" -->
<%
Dim adoCmd 'As ADODB.Command
Dim adoConn ' As ADODB.Conne... more >>
Compact Access Db Remotely?
Posted by Sue Barth at 6/16/2004 7:28:05 PM
Hi, I'm relatively new to .asp, so please forgive the newbie question. I
have a few websites I'm responsible for now - and have been laboriously
downloading the Access db's, compacting them, then uploading them back to
the server on a regular basis.
Something I recently read, led me to believ... more >>
SQL question re WHERE usage anf Date/Time
Posted by McKirahan at 6/16/2004 5:51:39 PM
Using MS-Access with "myDate" defined as a Date/Time field, how do I use SQL
to select only those records (rows) that have have nothing in this field?
The following does not work:
SELECT myFields FROM myTable WHERE myDate = ''
This gives me the opposite of what I want
SELECT m... more >>
Iss 5.0 and Oracle
Posted by Raul Castillo at 6/16/2004 11:25:11 AM
I have a Windows 2000 server; IIS 5.0; and the Oracle Data
Base.
The Database has 2 schemas and 2 virtual directories in IIS
each one connect to corresponding schema If I try to use
both at the same time only one works ok the second one
does not return any data into the record set.
If ... more >>
Searching TEXT column
Posted by John Smith at 6/16/2004 6:47:43 AM
I have a table that contains a column with datatype text. I would like
to search through every row in the table and find a string of
characters in the text column and replace it. Unfortunately, the SQL
Server I am working with does not have full-text indexing installed
(nor can it be installed).... more >>
My database wont work.
Posted by edd at 6/15/2004 7:05:56 PM
Basicly im new to asp. Ive been learning to use it through one of the
dummies books.
I have the following error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine
cannot open the file '(unknown)'... more >>
Migration Error
Posted by Mike at 6/15/2004 11:27:23 AM
Hi group,
I'm moving to a new Windows Server 2003 and IIS 6 from
Windows Server 2000 and IIS 5. I get the error below
when I access a asp page with a select statement ONLY if
the database(Access 2002) is open. My legacy server
allows the database to be open and the pages still post.
Ha... more >>
Wont Add record
Posted by +FarmerPickles at 6/15/2004 2:27:48 AM
ok. I am trying to write an asp page that will add records to a DB. I am
trying to get away from using FP for forms and DB's. This is access DB.
Instead of adding the new record to the DB, it just comes back to the
register page and doesn't add it. here is the code:
<%
Dim Conn
If Request.... more >>
|