Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Image problem in VS 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike P - 14 Sep 2007 14:55 GMT
On my local machine, all the images that I have placed in separate
folders are viewable when I run my website.  However, when I copy the
files over to my external web server, the images cannot be viewed on the
pages.  Does anybody know why this might be?
David Wier - 14 Sep 2007 15:04 GMT
Look at the src property (if image tag), or ImageURL property, if server
control, and see if it's pointing to a hard coded path
Also - are these Image tags (HTML), or ASP.Net Image controls?

Signature

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup

> On my local machine, all the images that I have placed in separate
> folders are viewable when I run my website.  However, when I copy the
> files over to my external web server, the images cannot be viewed on the
> pages.  Does anybody know why this might be?
>
> *** Sent via Developersdex http://www.developersdex.com ***
Roland Dick - 14 Sep 2007 15:06 GMT
Hi Mike,

Mike P schrieb:
> On my local machine, all the images that I have placed in separate
> folders are viewable when I run my website.  However, when I copy the
> files over to my external web server, the images cannot be viewed on the
> pages.  Does anybody know why this might be?

make sure that the account the webapplication runs under has permissions
to read for both the folder and the files (if they don't inherit them).
Also, right-click an image in the browser, select properties and have a
look at the URL for the image; maybe you have a spelling mistake?

Hope this helps,

Roland

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.