Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Image does not appear in browser but shows up in Visual Studio on Design page

Posted on 2006-06-02
5
Medium Priority
?
273 Views
Last Modified: 2011-09-20
I am creating a very simple web page with an image in Visual Studio 2005.  The image appears in the design page for VS but when you click the start debugging option, a browser opens and the image is not shown?

Any ideas???

Thanks
Kenny
0
Comment
Question by:kwh3856
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
aaronfeng earned 2000 total points
ID: 16822207
You should be able to see it.  Try this, create a new web project then only add the image control to the page and the image.  Run the page in debug mode, and see if you can see the image.  

Cheers,
http://aaronfeng.blogspot.com/
0
 

Author Comment

by:kwh3856
ID: 16822241
I tried exactly that.  The image appears in the Design page but shows a red X where the picture is supposed to be in the browser.


Thanks
Kenny
0
 

Author Comment

by:kwh3856
ID: 16822248
Thanks for steering me in the right direction.  I moved the image to a different subdirectory and now everything is working fine.

thanks for the help.

Kenny
0
 
LVL 5

Expert Comment

by:aaronfeng
ID: 16822249
Sounds the actual picture has been move since you dropped on the designer.  Click on the image on the solution and go to properties window, check out the path of the image then go to the folder make sure it is there.  

I'm sure you already tried this:  Delete the image off the webpage and readd it.  If you see the red x again, the image is not in the same location as the solution.

Cheers,

Aaron
0
 
LVL 5

Expert Comment

by:aaronfeng
ID: 16822252
It funny I just said that :)  You beat me to it.

Cheers,
Aaron
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question