Active InfoActive Info  Display List of Info MembersMemberlist  Search The InfoSearch  HelpHelp
  RegisterRegister  LoginLogin
ASPClassifieds (Info Locked Info Locked)
 CJWSoft Support Info : ASPClassifieds
Subject Info: No image to show after uploading A d d  -  P o s tAdd P o s t
Author
Message << Prev Info | Next Info >>
scanbar
New User
New User
Avatar

Joined: June/06/2006
Location: Cayman Islands
Online Status: Offline
Info: 1
Added: June/06/2006 at 3:03pm | IP Logged Quote scanbar

Dear Sir:
There is one problem I cannot solve it:
I can successfully uploaded an image in:

http://www.sourcingshowcase.com/classifieds/users/upload_for m.asp?Ad_ID=7&PicNumber=1

but the image uploaded cannot be shown, I checked its
properties is:
http://www.creationcube.com/data/pictures/Ad_7_1.gif

It is my previous site "creationcube.com" which was
already deleted and I've  moved all files to the
current www.sourcingshowcase.com/classifieds/

I also checked  dataconn_inc.asp  it should be correct
as below:

ConnectionString = "DBQ=" &
server.MapPath("\data\database\aspclassifieds_access2002.mdb ")
& ";Driver={Microsoft Access Driver
(*.mdb)};UID=Admin;Password=temp"
DatabaseType = "MSACCESS"

Request you how to let uploaded image to show
in current site at right location ?


Thank you very much !
Back to Top View scanbar's Profile Search for other info by scanbar
 
cwilliams
Admin Group
Admin Group
Avatar
CJWSoft Web Software Developer

Joined: April/06/2004
Online Status: Offline
Info: 1769
Added: June/06/2006 at 7:06pm | IP Logged Quote cwilliams

well, 1st I need to say that you cant use server.mappath in the connection string because that wont work from every directory level... it will give you problems so just dont do that.

Specify the entire physical path in the connection string.
See my article CAREFULLY for full details.
http://www.powerasp.com/content/hintstips/physical-path.asp

Now on the the image thing

if http://www.creationcube.com/data/pictures/Ad_7_1.gif truly exists

go look via ftp and make sure the file is there

If it is the reason you can see it via HTTP is because that folder does not have proper permissions set for viewing files via HTTP

If that is the case then you need to talk to your host about that

tell them data/pictures wont let pictures be seen via http//



If the picture file is not physically there when you look via ftp then you got other issues...  I am not sure as you were not real clear about whther or not the file was really getting uploaded there



__________________

Best Regards, Christopher Williams www.CJWSoft.com
Back to Top View cwilliams's Profile Search for other info by cwilliams Visit cwilliams's Homepage
 

Sorry, you can NOT post info.
This info has been locked by a info administrator.

  A d d  -  P o s tAdd P o s t
Printable version Printable version

Info Jump
You cannot add new info in this area
You cannot add to info in this area
You cannot delete your info in this area
You cannot edit your info in this area
You cannot create polls in this area
You cannot vote in polls in this area


PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspprotect.com, www.powerasp.com,www.aspclassifieds.com,www.aspphotogallery.com,www.codewanker.com