Problem to picture file

Hi,
How to resolve the attached problem below?

31k.png
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Swatantra BhargavaTechnical Specialist/DeveloperCommented:
Check your Image path. Error showing that on given path image is not there.
1
Martyn SpencerManaging DirectorCommented:
And if you are using web server with case sensitive file names, check that the case matches. Error 404 is effectively (as Swatantra says) a file not found error.
1
HuaMin ChenProblem resolverAuthor Commented:
I now get
31l.png
Any ideas?
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Martyn SpencerManaging DirectorCommented:
The 401 error says "Unauthorized" which probably means that the script does not have permissions to access the file or folder. The 404 error is still that the file cannot be found by the script.
0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
If you have Windows Server consult with your ISP to give read / write permission on pict folder and for 404 error cross check your image Exists or not in the HouseList4 folder (once try with all small case letters).
0
HuaMin ChenProblem resolverAuthor Commented:
I already have the shared permission to pict folder like
31m.pngwhy do I get 401 error?
0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
Can you provide your pages/application in zip format to debug in the better way?
0
HuaMin ChenProblem resolverAuthor Commented:
0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
You specified an image as below

<img id="aspImagePreview" src="output63671305731795.jpg" alt="Preview" />

Now when the page renders it searches image in the http://www.searchhouselive.com/HouseList4/ URL.

Specify the path of this image where it resides like

<img id="aspImagePreview" src="/images/output63671305731795.jpg" alt="Preview" />

Open in new window

0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
For 401 Error

Server Error

401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.


Please check your permission in your IIS Server.
0
HuaMin ChenProblem resolverAuthor Commented:
There is already permission given to IIS user below. Why is there still 401 error?
31n.png
0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
Which version of IIS are you using?
0
HuaMin ChenProblem resolverAuthor Commented:
.Net framework version v4.0
0
HuaMin ChenProblem resolverAuthor Commented:
Sorry to that, I cannot choose DefaultAppPool below.
31o.png
0
Lucas BishopClick TrackerCommented:
404 Error for this:
http://www.searchhouselive.com/HouseList4/output63671377030194.jpg

Which means that image does not exist at that location.

Are you positive that "output63671377030194.jpg" is located in the /HouseList4/ directory?

We can see "house_one.png" is located in /HouseList4/:
http://www.searchhouselive.com/HouseList4/house_one.png

For the 401 error. Are you sure that:
C:\inetpub\vs2012\pict = www.searchhouselive.com/pict/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HuaMin ChenProblem resolverAuthor Commented:
Yes, I am sure to this:

C:\inetpub\vs2012\pict = www.searchhouselive.com/pict/
0
Swatantra BhargavaTechnical Specialist/DeveloperCommented:
Still, you are facing the problem?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.