Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 2nd, 2006, 03:12 PM
Authorized User
 
Join Date: Aug 2006
Location: delhi, delhi, India.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to KamalRaturi Send a message via Yahoo to KamalRaturi
Default Login page Images not Shown

Hi all
this Question is being posted once again by me, Please reply if anybody knows.

The Question Is same: The Login page(.aspx) of Running web Application does not show any Image in it.

Thanks in advance for reply.
  #2 (permalink)  
Old September 15th, 2006, 07:57 AM
Authorized User
 
Join Date: Sep 2006
Location: Bangalore, Karnataka, India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI Kamal,

What kind of images are you trying to show up in the web page. Can you post some sample code of your login page. In the design mode, kindly check if there is a red line below the image url, in that case, the image is not linked correctly in the .aspx page.

If you are using directories and the image is stored in the directory the correct path has to be given. Are you getting a X mark instead of the image, in that case, when the page is loaded, right click on the red X mark, click on properties, and check if the path displayed for the image is in the same place where the image is physically stored. If yes then this is an issue that needs to be checked.

If NO then you have the answer - change the path.

Hope this helps.

Vincent Thomas
Bangalore
  #3 (permalink)  
Old September 15th, 2006, 08:03 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi KamalRaturi,

Do you see this behavior with the built-in web server? If so, you're probably blocking the users from seeing your images folder. By default, the Login.aspx will be unblocked, even when all access to the site is blocked. However, this is not the case for images so they won't show up. Take a look here for a remedy:

http://www.velocityreviews.com/forum...webconfig.html

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Interzone by Joy Division (Track 11 from the album: Heart And Soul (CD 1)) What's This?
  #4 (permalink)  
Old September 19th, 2006, 03:32 PM
Registered User
 
Join Date: Sep 2006
Location: Reno, NV, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is that the same scenario for .net 2003? We are just converting to 2005, but have had problems with our images in our .Net 2003/VB application displaying for other users. When we view it from the localhost or the Test Server, we (my associate programmer) can both see all images, but when we demo this app, no one on any other computer the images can not be seen. Will this work in my web.config in .Net 2003?
  #5 (permalink)  
Old September 19th, 2006, 04:08 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Normally not.

Requests for images are not passed to ASP.NET and are handled by IIS directly. So, ASP.NET cannot block access to the images.

But why don't you try it out??

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: Ceremony (Tour Rehearsal Session - Manchester, April 1980) by Joy Division (Track 23 from the album: Heart And Soul (CD 3 - Studio Rarities & Unreleased)) What's This?
  #6 (permalink)  
Old September 19th, 2006, 04:14 PM
Registered User
 
Join Date: Sep 2006
Location: Reno, NV, USA.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks - I will. I doubt that it will help though from what you say. we have gone to the Internet Options on each machine to make sure that viewing images is enabled in IE, but it doesn't seem to work. Well, since we are moving to 2.0, maybe the change to my web.config file will make it work when we are done with the conversion. Thanks again. Coleen
  #7 (permalink)  
Old September 19th, 2006, 04:20 PM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Good luck. Maybe an HTTP debugger like Fiddler may come in handy...

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to: The Only Mistake (Live) [13 July 79, The Factory, Hulme, Manchester] by Joy Division (Track 2 from the album: Heart And Soul (CD 4 - Live)) What's This?
  #8 (permalink)  
Old September 19th, 2006, 05:18 PM
Authorized User
 
Join Date: Aug 2006
Location: delhi, delhi, India.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to KamalRaturi Send a message via Yahoo to KamalRaturi
Default

hi,
Thanks for your sugessions,I have worked out the problem.
Imar u r right, it was behavior with the built-in web server.
in root config file' Autherization, I was using DENY USERS="?".
Now I changed these setting for accessing the resouces, and every is OK Now.

 Thanks Members, including Imar,
  #9 (permalink)  
Old July 9th, 2008, 09:12 PM
Registered User
 
Join Date: Jul 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi everybody,
i've the same problem the image is not shown with the X mark on it only before running the page with ctrl+F5 in the designing page
somebody tell me what to do

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Images on a web page YoungLuke C# 0 November 18th, 2007 07:38 PM
Login page back to original page pablohoney Classic ASP Basics 1 October 3rd, 2006 07:09 PM
LOGIN PAGE (does not link to the next page) jim.sullivan@telus.net Classic ASP Databases 7 April 5th, 2006 01:28 PM
Newbie Help. Login to unique login page per user Kainan Classic ASP Professional 10 May 3rd, 2005 07:47 AM



All times are GMT -4. The time now is 11:08 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.