Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Unfortunately it sounds like your file has become corrupted in this process.</p> <p>However things to check are:</p> <ol> <li><p>Is the code still there? Do you see anything different?</p></li> <li><p>You could compare your code to other working web apps to identify any problems with the code.</p></li> <li><p>Breakpoint your project to see why it is not firing, this could be done in the Page_Load</p></li> </ol> <p><strong>If your code is not there:</strong></p> <p>It is unlikely for your program to have stored a copy before your pc restarted, all I can say is if you have source control then the answer would be to look in there.</p> <p>You say you were using VS2010, You could check C:\Documents and Settings\UserName\My Documents\Visual Studio 2010\Backup Files\ (or the equivalent on your system).</p> <p>This would only work if you have back up switched on!</p> <p><strong>Edit</strong></p> <p>As your code is there I would try the three points above first, then you could possibly try:</p> <ul> <li>Set the start page again</li> <li>Check web.config</li> <li>Check your route folders to ensure no files have become corrupt</li> </ul> <p>I would have thought that using a breakpoint should identify to you what is going wrong.</p> <p><strong>Edit2</strong></p> <p>As your page_load is not firing your may want to look into this code:</p> <p><a href="http://forums.asp.net/p/932513/1096656.aspx" rel="nofollow">AutoEventWireUp</a> - You need to ensure this is set to true so that it looks for Page_Load or Page_Init events.</p> <p>If that fails then you may want to look into this <a href="http://www.velocityreviews.com/forums/t68906-page_load-not-firing.html" rel="nofollow">link</a></p> <p><strong>Edit 3</strong></p> <p>The OP has found that the app_offline.htm was activated, which what brought across the problem.</p> <p>The app_offline.htm is created for when the web app is down for maintenance. So if your website was live then it would be taken down, and would show the "this site is down for maintenance message". I am not fully sure why this would have happened in your situation, however it clearly has. This is usually activated once the website is being updated and should be deleted once the update is complete. Clearly this has been a bit of an outlier for you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload