[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Classic ASP, IE8 and Images not showing until rt-click Show Picture

Posted on 2011-10-21
11
Medium Priority
?
843 Views
Last Modified: 2013-12-08
I'm working with a classic ASP application running on localhost (http://127.0.0.1). Browser is IE8. The ASP application code copies template JPG's into a uniquely identified folder, renders some HTML into an HTML file that links to these files with absolute paths (http://127.0.0.1/MyWeb/images/image.jpg) and then presents the rendered HTML in a browser window. (ie. a custom report)

This all has been working just fine on XP and Win7.

I just installed my code on another XP box running IE8, and this time my application fails in that the resulting rendered web-page has missing images.. That is, until I right click and choose Show Picture - then they become visible.  The weirder thing is that when logged into the workstation as Administrator (rather than the non administrator user account), things work as they should - images appear without having to choose "show picture"

I can't figure out what setting must be set wrong that is causing this. The "show pictures" in IE settings is enabled, I have cleared cookies and given all folders involved "everyone full access"

Ideas?
0
Comment
Question by:PMH4514
  • 7
  • 3
10 Comments
 
LVL 11

Expert Comment

by:G_H
ID: 37010876
Makes sure that IE8  has 127.0.0.1 as a trusted site...

GH
0
 

Author Comment

by:PMH4514
ID: 37011054
Yup it is a trusted site both admin and non admin user accounts.
0
 
LVL 11

Expert Comment

by:G_H
ID: 37011495
Can you post the generated code for the images which do not show..?

GH
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:PMH4514
ID: 37011650
Certainly. Attached is a stripped down version, but the behavior is the same..

Works perfectly when logged into windows as administrator..     giving admin rights to the other user account doesn't change the behavior though.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>Sample Report</title>
		<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
	</head>
	<body>
		<table border="0" cellpadding="2" cellspacing="2" style="text-align: left; width: 750px; margin-left: auto; margin-right: auto">
			<tbody>
				<tr>
					<td class="EvalTitle" style="text-align: left; width: 483px; vertical-align: top">
						Report Title</td>
					<td style="text-align: right; width: 542px">
						<img alt="Logo" src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/site_logo.jpg" /></td>
				</tr>

				<tr class="FooterAddress">
					<td colspan="2">
						<p align="center" style="text-align: center">
							Site Name <img src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/smbluesquare.gif" /> 123 My Street <img src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/smbluesquare.gif" /> Suite 1 <img src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/smbluesquare.gif" /> My Town, NY 12345 <img src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/smbluesquare.gif" /> Tel: 555-111-2222 <img src="http://127.0.0.1/AppWeb/evaluation/rendered/F77563D5-C72C-421A-B9BF-6338CD6190E1/images/smbluesquare.gif" /> www.myurl.com</p>
					</td>
				</tr>
			</tbody>
		</table>
		<br />
	</body>
</html>

Open in new window

0
 

Author Comment

by:PMH4514
ID: 37011655
an aside,  this HTML file (fully qualified path) then gets pushed into an ActiveX control to turn into a PDF. Under the administrator account, this too works just fine. Under the non-admin account the PDF as well lacks the images.


0
 

Author Comment

by:PMH4514
ID: 37011681
it "feels like" permissions of some kind.. I'm also sitting in front of XP and Win7 boxes for which the whole thing works just fine admin or not..     also, you may notice those GUIDs as part of the path.. I tested a version that leaves those out and see the same thing..
0
 

Author Comment

by:PMH4514
ID: 37012104
update: reinstalled IIS, same problem.

I then added a new user to the generic users group, and logged in to my application from that account.  From this new "user" account, everything works properly.
0
 
LVL 11

Expert Comment

by:G_H
ID: 37013666
it "feels like" permissions of some kind..

I think you are right,

Can I suggest you either delete this question and start a new one, or change the categories to IIS/Webserver...
0
 

Accepted Solution

by:
PMH4514 earned 0 total points
ID: 37014213
yah good suggestion.. definitely not an ASP issue. thanks for your time though!
0
 

Author Closing Comment

by:PMH4514
ID: 37126836
Moved
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.

873 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