all groups > inetserver asp db > april 2005
Query slowed to Crawl
Posted by Todd Heiks at 4/29/2005 4:41:04 PM
Win2k3 IIS Server
MSA 2003
I have an asp page that runs a query. The query would take < 2 seconds to
run from the web page.
Now it takes 52 seconds to run from the web page, but < 2 seconds when run
inside of MSAccess.
SELECT TOP 1 ZIP_CODES.ZIP
FROM ZIP_CODES
ORDER BY Abs([zipval]-... more >>
Error in running cmdUpdate
Posted by Jack at 4/27/2005 12:51:13 PM
Hi,
I am testing a asp page where I am trying to run a access update query
from a asp page using the command object. However, it gives the error
as following. I have no idea why the error is coming. Any help is appreciated.
Thanks.
Regards.
ERROR MESSAGE:
ADODB.Command (0x800A0BB9)
Argum... more >>
cannot reuse command objects under oracle oledb (on one system).
Posted by Mark Schupp at 4/26/2005 2:16:07 PM
Short version:
ODBC configuration for the Oracle ODBC driver includes a checkbox for
"Enable closing cursors". Does anyone know how to get the equivalent
behavior with the Oracle OLEDB Provider?
Long version:
We have an application that manages web-based training. One of the functions
... more >>
Error in inserting record via asp
Posted by Jack at 4/26/2005 12:30:02 PM
Hi,
I got a asp page where I need insert record to a access table.
However, after running the page the following error is coming:
Error Type:
ADODB.Command (0x800A0E7C)
Parameter object is improperly defined. Inconsistent or incomplete
information was provided.
/gwisbrandnewready8/test2/A... more >>
SQL Server returning Empty Fields and there should be data
Posted by Shawn Oatley at 4/25/2005 4:26:49 PM
Hello All,
I am having a very odd problem. With a database I recently created on =
MSSQL 2K (Win2K Server Machine), I use a Stored Procedure to handle =
getting the fields I need.
If I use MS Access to open the Stored Procedure (in an ADP File) it works =
100%, same goes through Enterprise... more >>
hope this is a simple one...
Posted by Apple Plexy at 4/25/2005 12:00:00 AM
I've set up a basic page to list the contents of an access database, which
happens to be a list of names - the strange problem i have is that, although
it lists the contents in order of ID number - it begins the list from half
way down - for instance - beginning at O'brian rather than Adams - alt... more >>
empty values in INSERT INTO statement
Posted by TB at 4/23/2005 12:52:04 AM
I have this ASP page that inserts new records into an Access database via an
execute statement.
Taking the data from a form, I build my SQL statement like this:
<%
strSQL = "INSERT INTO mytable (Firstname, Lastname, Department, Extension)
_
& " VALUES ('" & CStr(Replace(Request.Form(... more >>
ASP pages won't open in browser??? Help.
Posted by RiskyBiz at 4/22/2005 5:59:29 PM
Machine is W2K, using IIS 5, and FP 2000.
I have a small site with 8 ASP pages. The home page opens fine, but the
ASP's just lock up and won't open. I have checked Tools>Datbase and Verify,
all my permissions, directory settings and the extensions, all come back OK.
Any ideas would greatly b... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Inserting time and date in datetime field
Posted by Drew at 4/22/2005 3:28:51 PM
I have an ASP form with the following textboxes,
RegNo - Primary Key
EventDate - Date of Event
EventTime - Time of Event
EventCatID - Category of Event
How can I insert the date and time together, instead of using 2 datetime
fields?
Thanks,
Drew Laing
... more >>
jsp
Posted by poonam singh at 4/21/2005 12:07:15 AM
hi
Can u tell me how to insert data from .sql files to oracle9i database
table using jsp technology.
I need it very urgently. and should be done with dsn less connections.
Cheers
Poonam
*** Sent via Developersdex http://www.developersdex.com ***... more >>
FormatNumber with db results
Posted by TB at 4/21/2005 12:00:00 AM
Hi All:
The following was posted to microft.public.scripting.vbscript but nobody
replied there, so here goes:
How come that
<%
tt = 3
response.write tt & "<br>"
response.write FormatNumber(tt,2)
%>
returns:
3
3.00
but
<%
response.write FormatNumber(RS(0),2)
%>
return... more >>
changing txt to number
Posted by Jeff at 4/20/2005 9:23:11 PM
I am using access DB.
i have a large table that i have aquired, and all the data in the fields are
actually txt. unfortunatly, the data is integers stored as txt. the future
plan, is to redo the DB, and make the fields numeric, but for now, i need a
way to retrieve data, and change it to nume... more >>
OLEDB connection to mysql via ASP
Posted by TB at 4/20/2005 12:25:26 PM
Hello all:
Although the following question is not related to a MS flavor database, it
IS related to MS flavored technologies / platforms: ASP and Windows XP. So
please bear with me.
I have just installed MySQL via the new windows installer program on my
Windows XP Pro machine, and everythin... more >>
dsnless connection in oracle9i
Posted by POONAM SINGH V at 4/20/2005 12:00:00 AM
hi,
I need to create a dsnless connection in oracle9i for my asp application.
Can u plz help me in that.Its very urgent.
From http://www.developmentnow.com/g/61_2004_3_0_0_0/inetserver-asp-db.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com... more >>
max min question
Posted by Jeff at 4/19/2005 5:06:47 PM
Is there a way to achieve this?
In a DB I have fields named
username
rd1
rd2
rd3
rd4
rd5
rd6
total
each rd is a score that is entered from form going to an asp page. that asp
page updates the total.
I would like to be able to get a max and min for each username. i know how
to ge... more >>
error '80040e21', String data, right truncation when append large
Posted by qtlee at 4/18/2005 11:10:06 AM
I am writing data to an SQL field (data type = text).
I am getting this error when the form is submitted with a large amount of
text. Smaller amount of text worked fine.
When I traced the size of the text being passed into the sp, this is the
value="15189"
Microsoft OLE DB Provider for ... more >>
Q
Posted by gorostas at 4/18/2005 12:58:07 AM
Hi all,
I have one field in db as integer, and i want to retreve only those who dont
have value 1
and my query is like this:
SELECT t_firmepopis.naziv,t_firme.mjesto
FROM t_firmepopis INNER JOIN t_firme ON
t_firmepopis.id_firma=t_firme.ID_firma and
t_firme.sad !=1 and
t_firme.... more >>
where I have mistake?
Posted by Zibi at 4/18/2005 12:00:00 AM
<%
csv="file.csv"
set fs = createobject("Scripting.FileSystemObject")
set f = fs.opentextfile(server.mappath(csv))
while not f.atEndOfStream
line = split(f.readline, ",")
SQLstr = "insert into database (firm, type, model, cat, price, cat_1) values
("
for i = lbound (line) to ubound(... more >>
Counting visits to productpages with database countfield
Posted by stokjeroen NO[at]SPAM hotmail.com at 4/17/2005 6:44:57 AM
Could anyone help me with the following problem?
In order to collect the hits to different Productpages I inserted a
field (hitCount) in a table (Pagina) of a database (Kris.mdb)
Unfortunately the code doesn't seem to make a connection with the
database. The two records in the body cannot be... more >>
Battle against the Quotes
Posted by Macsicarr at 4/17/2005 12:00:00 AM
Hi
Just wanted to see what the standard battle plan is when you want to allow a
user to enter a retrieve data from an ASP/DB solution and the infernal
single or double quote issue comes up if they've been entering these chars.
For example, I have a web form that is simply:
Name: <stand... more >>
how to put jpg from Access into asp-page?
Posted by Ben at 4/16/2005 12:00:00 AM
Hi,
In Access, i defined a field OLE ('pict')and put some jpg files in it.
I want to get them, just like the other textfield, into a asp-page.
I get no error, but my problem is that the text field appears but not the
jpg files (only a red cross).
See my code:
<%
set objdc = Server.CreateObj... more >>
Windows 2003 + SQL 2000 problem
Posted by Lasse Edsvik at 4/15/2005 12:00:00 AM
Hello
Im having problems with a simple connectionstring that's driving me crazy on
a windows 2003 machine.
earlier I had 2 seperate machines, running win 2000 and sql 2000, works
perfectly, then I was given the task to move the site to a windows 2003 that
shall run against same sql 2000. No... more >>
Search Beta Test :secure login without Password
Posted by plumbros NO[at]SPAM 012.net.il at 4/14/2005 2:44:06 AM
Hello,
We are now starting a limited public beta of a new security program
for Windows named "NaturalLogin".
The program can use one or more hardware devices (such as standard USB
storage keys) and/or custom questions to enable a multi-factor (2 or
more) login.
We are looking for serious... more >>
Apostrophe Errors Out Form
Posted by PinkBishop at 4/13/2005 11:02:50 PM
Hello All,
Hope you can help.
Below is the code I use to send data from form to database.
Problem is if an apostrophe is entered in cQuestion field or any field
for that matter the form errors out. Please Help.
mySQL= mySQL &
"(cEmail,cFirst,cLast,cStreet,cCity,cState,cZi... more >>
Upsizing issue
Posted by MIMF at 4/13/2005 6:55:22 AM
Hi
I'm trying to upsize a large Jet-based ASP application to use MS SQL
Server.
I am experiencing a slightly different behaviour when getting results
of a SQL join within a Recordset.
For example, a query such as:
SELECT *
FROM Accounts
INNER JOIN Categories
ON C... more >>
ASP+database works under HTTP not HTTPS
Posted by McKirahan at 4/12/2005 12:26:19 PM
I have an Test page that works fine under HTTP
but fails under HTTPS (a shared SSL) with:
Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
All non-database pages work fine under both.
My Web host tells me that my ASP page
"was cod... more >>
80004005 Unspecified Error
Posted by dmiller23462 at 4/12/2005 5:20:34 AM
Posting a subfunction I'm using right now.....I keep getting the
following error;
_______________________________________________
Microsoft JET Database Engine error '80004005' |
|
Unspecified error |
... more >>
graduate from PWS
Posted by joehahn at 4/11/2005 11:03:28 PM
I waould like to know if moving an ASP application from my Windows98 with
PWS 4 to WIndowsXP Pro with IIS would cut down on the amount of crashes in
inetinfo.exe?
I am closing all connections to the dbf files(I am using these because the
person that wants this application has all his info in t... more >>
include or use a file outside the we broot directiry.
Posted by fabrice at 4/11/2005 12:00:00 AM
Hello,
Is it possible to include a file in a web application which is outside the
web path (without virtual directory).
- Or use a file in SRC (html code) for example -
Language is ASP with IIS6.
for example :
physical web path application:
e:\myapplication.
= http:\\www.myweb.net
... more >>
include a file in a web application which is outside the web path...
Posted by fabrice at 4/11/2005 12:00:00 AM
Hi,
Is it possible to include a file in a web application which is outside the
web path (without virtual directory).
Language is ASP with IIS6.
for example :
physical web path application:
e:\myapplication.
= http:\\www.myweb.net
other directory, outside
d:\securitypath
how to ... more >>
Query-based update failed because the row to update could not be found
Posted by Craig at 4/10/2005 2:40:14 PM
I am getting the following error on the rsProd.Update line at the end of the
sample code I have provided.
"Query-based update failed because the row to update could not be found"
I have tried everything I could think of but cannot solve this problem. can
anyone help? I am new to MYSQL and I mu... more >>
an SQL statement not working for some reason.
Posted by Roy Danon at 4/9/2005 12:00:00 AM
Hi,
I'm trying to execute the following SQL query on an ACCESS database using
JET4 drivers.
select distinct topic_id,* from tblThread
for some reason, i'm getting this error :
The field is too small to accept the amount of data you attempted to add.
Try inserting or pasting less data... more >>
Simpel(?) SQL question for Access
Posted by Bob The ASP Builder at 4/8/2005 12:00:00 AM
I'm running a simpel SQL question towards an Accessdatabase where the
question is generic towards all my tabels in the database
Like this
MySql = "SELECT * from " & dbtable
This gives the result that called table (current value of dbtable)
returns all postings(rows) in rising order (AS... more >>
ASP + SQL Makes Page Load Really Slow
Posted by Shawn H at 4/7/2005 9:42:53 PM
Hi guys,
I've created a web application using ASP together with SQL Server as
our db source, running through IIS 6 on a Winows Server 2003 platform.
This application retrieves a list of customer codes from our db, so
records returned could be as many as 2000+ for any single transaction.
... more >>
Possible ASP - MYSQL connection problems???
Posted by Craig at 4/7/2005 1:25:09 PM
I recently have switched from using an Access Database to a MYSQL database
for an ASP page driven website I have developed. Every once in awhile I am
still getting a random blank white page with the message: "The system cannot
find the path specified." I click the Refresh button a few times and i... more >>
HTTPS 'updateable query' error
Posted by McKirahan at 4/7/2005 8:37:57 AM
I have an Order page that updates an MS-Access database.
I am getting the following error:
Microsoft JET Database Engine error '80004005'
Operation must use an updateable query.
However, I only get the error when the page runs under HTTPS.
One solution is to just run it under HT... more >>
Wanna any idea to generate an ID
Posted by developers at 4/6/2005 3:07:32 PM
Hi all i want your help in this . I'm writing a code in wich the
user can regester. the user can choose to write his ID himself , but if
he forgote to write it I want the database to generate it automatecaly.
So here is what I'm asking for a code by which I can select the
Max Id ... more >>
basic connection problems
Posted by middletree at 4/5/2005 11:23:09 PM
I have an Intranet-based app at work, and I have it in two places there: a
dev machine and a production box. In both cases, the ASP files and SQL
Server database are on the same box. I have it running smoothly in both
places at work.
However, I've been trying to set it up at home, and cannot m... more >>
delete query.
Posted by Nudge at 4/5/2005 1:31:00 PM
hi,
it's probably a really stupid mistake, but can someone check out this delete
query please?
i am attempting to do a standard delete operation triggerred by a checkbox
("B_Delete")
it deletes all fields, except for ID number (autonumber) in the DB - yet
when i make a direct query in ac... more >>
rs.PageCount cannot function
Posted by tchangmian NO[at]SPAM yahoo.com.sg at 4/4/2005 6:42:24 PM
Could somebody help me? is urgent.
I failed to get the page count. when i response.write the
strStoredProc.PageCount, it return value -1.
Can somebody tell me that whether
"rstStoredProc.Open objCommand,strConn,adOpenForwardOnly,
adLockReadOnly, adCmdStoredProc" is correct to write in this wa... more >>
select ... count ... inner join statement
Posted by TB at 4/3/2005 7:19:34 PM
Another SQL question for you friendly people out there.
On an ASP page I access a database that contain the following two tables
(simplified here):
Table name: Customers
Columns:
- IDcustomer (primary key)
- Companyname (string)
Table name: Orders
Columns:
IDorder (primary key)
ID... more >>
Help with MySQL and ASP work
Posted by Astra at 4/1/2005 11:24:41 AM
Hi All
I've only found one NG for MySQL and this doesn't seem to be that popular.
Does anybody know of a good NG (this one!!) or forum to post a query that I
have on preserving the case of my Win32 tablenames in my ASP/MySQL web app.
Please note that MySQL support ain't giving me nothing,... more >>
"The system cannot find the path specified"
Posted by Craig at 4/1/2005 9:56:13 AM
I have a website connected to an Access 2000 database and every page
retrieves info from the database. Every once in awhile out of the blue when
I go to a page I get a blank white screen and the message "The system cannot
find the path specified". All I do is click Refresh a couple times and the
... more >>
|