Click to See Complete Forum and Search --> : ASP Shopping Cart - Need Some Help Here Please
Zaf Khan
Aug 9th, 2000, 05:34 PM
Hi everyone,
Okay further to my posting on vb world,
http://forums.vb-world.net/showthread.php?threadid=23529
I have installed PWS and my setup is as follows...
Win 95 osr 2.0
Ie 5.5
MS Frontpage 2000
Visual Interdev V1.0
I have created a local virtual directory as follows
C:\Inetpub\wwwroot\TheBlowholeProject\Shopping
and dumped everything into the shopping folder/directory.
When i try to view the asp page in the browser it views okay-ish (ish cos some of the html is quite 100%, but i corrected that) and when i click on the search items or try to view all items available nothing shows as being available when the items.mdb file shows 2 items in the DB
Any light you can shine on this problem would be greatly appreciated,
DocZaf
{;->
Is it possible that the VI is incompatible with FP 2K???
because it V1.00???
[Edited by Zaf Khan on 08-09-2000 at 06:58 PM]
gwdash
Aug 9th, 2000, 09:44 PM
you are going to http://localhost/TheBlowholeProject/shopping/
Correct?
Ianpbaker
Aug 10th, 2000, 02:39 AM
Hi again Zaf
I've set up the code again on my machine and it works fine. in your email you sent, you said nothing is shown as being
available. does it show an empty page or is it a 404 file not found error.
Ian
Or does the script use a DSN for the database, that you haven't setup?
Zaf Khan
Aug 10th, 2000, 04:19 PM
Matthew Ralston
The page uses a DSN which i have setup as directed in the book, its easy to follow as it has lots of screen snapshots.
IanPBaker
And the page shows okay but no shopping items are listed/visible where-as there are two items listed in the Items.Mdb file, not a 404 error page.
GW Dash
The file is default.asp and its in the C:\Inetpub\wwwroot\TheBlowholeProject\Shopping folder on my pc, not in http://localhost/TheBlowholeProject/shopping/
but when i clicked on the link you pasted in this posting it took me to THE page, and it worked correctly-ish, but it displayed the following error:
ADODB.Fields error '800a0cc1'
ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application.
/TheBlowholeProject/shopping/search_items.asp, line 111
The only difference between when i tried it before and when i tried it now is that now I am ONLINE - connected to the net - and before i wasn't
Gee, now i'm even more confused as i thought the point of having PWS was that you did not need to upload/connect etc to test the files out.
Zaf Khan.
Oh and i remember where i d/loaded it from Microsoft site, the files are at http://home.clara.net/doczaf/aspsample.zip
Zaf Khan
Aug 10th, 2000, 04:30 PM
Wit Wooooooooooooooooooo
Thanks guys,
Its right now,
I fixed the error in line 111 - the speech marks were missing and also disconnected from the net and re-tried it and it works a treat.
The only point that sticks in my mind is....
GWDASH - The link he placed was to http://localhost/TheBlowholeProject/shopping/
And I realise that it goes to the same asp file, but isn't that the same as double clicking on the asp file in the folder in windows explorer?
Shouldn't it show the same file?
When i double click on the asp file it kinda shows the same table twice, and when i click on gwdash's link it doesn't show the same table twice but looks correct to me.
DocZaf
{;->
gwdash
Aug 10th, 2000, 05:15 PM
in order to proccess any ASP Scripting <%...%>, etc. You must run the link of a "Web Server". Basicly, you must connect to your own computer "Live", not localy in order to use asp. You don't need to be online, but you do need to connect to your own machine so that PWS can proccess scripts. ASP is Server side. If you open the .asp file on your computer, IE or Netscape will try to proccess the tags Client side. If you use the link i gave, PWS will proccess the ASP server side, and sent the results(Response.Write) to the client.
Another way to think of it is the difference between JavaScript (<script language ="JavaScript">) as ASP (<script language = "JavaScript" runat="Server"> or <%...%>)
Hope this helps
GWDASH
Zaf Khan
Aug 11th, 2000, 12:25 AM
It sure does,
Thanks again, Not just gwdash, but all the peeps that helped me out.
I just assumed (which is a sin - i guess) that the file was referenced.... but what you say about server side has sunk in.
Thanks again.
DocZaf
{;->
[Edited by Zaf Khan on 08-11-2000 at 01:33 AM]
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.