• 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
rajatop
0
rajatop
Asked:
rajatop
  • 2
  • 2
1 Solution
 
level9wizardCommented:
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
 
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.
0
 
level9wizardCommented:
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
 
codingbeaverCommented:
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
 
rajatopAuthor Commented:
great, it works perfectly XD

Thank you very much
0

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