• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 385
  • Last Modified:

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

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
  • 2
  • 2
1 Solution
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.
rajatopAuthor Commented:
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.
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?
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">
        <allow users="*"/>

Open in new window

rajatopAuthor Commented:
great, it works perfectly XD

Thank you very much

Featured Post

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!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now