?
Solved

why any images in my login page didnt appear? (ASP.Net)

Posted on 2010-01-12
5
Medium Priority
?
382 Views
Last Modified: 2012-08-14
suddenly, my web browser cannot render any images in my login.aspx page. but any images in any page is rendered correctly. Its weird because images that inherit from master page also didnt rendered in my login.aspx but it rendered correctly after I login (redirect to another page)
It still on development proccess (preview in browser),
It work perfect before,

I try to create new login page and deleting the old one but I get error messages

ASP.login_aspx.GetTypeHashCode() : no suitable method found to override
ASP.login_aspx.ProcessRequest(System.Web.HttpContext) : idem
ASP.login_aspx does not implement interface member 'System.Web.IHttpHandler.IsReusable

Kindly help me
Thanks and Regards
rajatop
0
Comment
Question by:rajatop
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 11

Expert Comment

by:level9wizard
ID: 26293659
Can you provide a link to your work, or some example code (rendered)?

Are the images you are referring to being added through your CSS, or through an <img> tag? You can use  a tool like Firebug to inspect elements and objects of a page (including <img>'s and <div>'s) and see what path they are referencing - make sure this path is correct and that the image does exist here.
0
 

Author Comment

by:rajatop
ID: 26293734
it in my office, I cant write it down here,
but im sure it refrencing right, because It inherit from MasterPage.master which work well on another page.
0
 
LVL 11

Expert Comment

by:level9wizard
ID: 26293811
Take the rendered path to the image - paste that in a web broswer. If it can't be found, it either doesn't exist, the path is wrong, or there is likely a problem with the server. Can you share some of your code?
0
 
LVL 10

Accepted Solution

by:
codingbeaver earned 2000 total points
ID: 26298648
Do you have a folder to store all images? If yes, then it is most likely caused by the authentication. Open your web.config file and this portion of code in your <configuration> section but outside <system.web> section (I assume the folder is called Images, if not, change it to match yours).
<location path="Images">
    <system.web>
      <authorization>
        <allow users="*"/>
      </authorization>
    </system.web>    
  </location>

Open in new window

0
 

Author Closing Comment

by:rajatop
ID: 31676089
great, it works perfectly XD

Thank you very much
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 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