Ghost pages

Last post 07-20-2009 1:03 PM by davsha77. 8 replies.

Sort Posts:

  • Ghost pages

    07-09-2009, 12:57 PM
    • Member
      19 point Member
    • davsha77
    • Member since 03-26-2009, 12:04 AM
    • Posts 82

    I don't know if this is the correct forum, but I really need some help.

    I created an aspx page some time ago and was publishing it.  I later wanted to make it secure and moved it to a new folder with authentication.  I deleted the old file.

    Although the old file doesn't exist, it is still accessible.  process monitor shows that the file is not found, but users can still see it.  I tried changing the db pw and updating the connection string, but the deleted file is using the new webconifg file.

    I have restarted IIS, I have restarted the server, I have refreshed my browser.  Other computers who have not previously accessed the file can get to it.

    How do I make this file die?!?!?!

  • Re: Ghost pages

    07-10-2009, 1:59 AM
    • All-Star
      24,831 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Mumbai
    • Posts 4,244

    Hi,

    Have U tried Restarting IIS.

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: Ghost pages

    07-10-2009, 5:42 AM

    davsha77 thanks for your response.

    Clean your solution-->Rebuild your solution-->take the lattest assemblies and deploy it.

    Any doubts please feel free to ask me.

    If this post is answer of your question then don't forgot to Click Mark As Answer.

    Thanks & Regards,
    J.Jeyaseelan
  • Re: Ghost pages

    07-10-2009, 10:42 AM
    • Member
      19 point Member
    • davsha77
    • Member since 03-26-2009, 12:04 AM
    • Posts 82

    jeyaseelan@ajsquare.net:

    davsha77 thanks for your response.

    Clean your solution-->Rebuild your solution-->take the lattest assemblies and deploy it.

    I did all of that, but it is still there.  I even deleted the folder and republished.

    I finally created a page that said "this page has been deleted" using the old file name and published it.  I then deleted the file again.  Although the page is still accessible, at least it no longer shows the sensitve data.  I just wish I could completely remove it.

  • Re: Ghost pages

    07-13-2009, 1:57 AM

    davsha77:

    jeyaseelan@ajsquare.net:

    davsha77 thanks for your response.

    Clean your solution-->Rebuild your solution-->take the lattest assemblies and deploy it.

    I did all of that, but it is still there.  I even deleted the folder and republished.

    I finally created a page that said "this page has been deleted" using the old file name and published it.  I then deleted the file again.  Although the page is still accessible, at least it no longer shows the sensitve data.  I just wish I could completely remove it.

     

     

    davsha77 thanks for your post.

    Clear temp files,Cookies, all temp internet files. You told all aspx pages are deleted but still its refering deleted files and its also accessible so recheck it one more time, one more thing check your web.config file it may be more refer some older files.

    Any doubts please feel free to ask me.

    If this post is answer of your question then don't forgot to Click Mark As Answer.

    Thanks & Regards,
    J.Jeyaseelan
  • Re: Ghost pages

    07-13-2009, 11:19 AM
    • Member
      19 point Member
    • davsha77
    • Member since 03-26-2009, 12:04 AM
    • Posts 82

    These are not cached in IE.  Computers that have never visited the site EVER can get to it. When I run process monitor it says the file cannot be found...yet the page is still delivered.

    Where would I find reference to it in the webconfig file?  I have looked all over the file and cannot see anything that would keep the deleted page around.

  • Re: Ghost pages

    07-13-2009, 1:03 PM
    • Member
      417 point Member
    • mru22
    • Member since 08-05-2005, 2:43 PM
    • Posts 118

    Is your applicaiton set to precompile ? I have that setting cause similar behavior.

  • Re: Ghost pages

    07-13-2009, 2:24 PM
    • Member
      19 point Member
    • davsha77
    • Member since 03-26-2009, 12:04 AM
    • Posts 82

    where do I check that ?

  • Re: Ghost pages

    07-20-2009, 1:03 PM
    Answer
    • Member
      19 point Member
    • davsha77
    • Member since 03-26-2009, 12:04 AM
    • Posts 82

    I finally resolved this be deleting everything in the ISS virtual directory and republishing the website.  As far as I can tell, it had all the original files but doing this removed the ghost pages. 

Page 1 of 1 (9 items)