« Previous Next »

Thread: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

Last post 04-23-2009 12:45 PM by AdamL123. 6 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (7 items)

Sort Posts:

  • 04-16-2009, 12:05 PM

    • AdamL123
    • Not Ranked
    • Joined on 12-21-2006, 3:00 PM
    • Posts 9

    occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    Hello,

    We currently are experiencing an occasional "http 404" error with one of our clients who is running our ASP .NET application on a Windows Server 2008 box. For the most part the site works fine and the users are able to login and work for most of the day without error. Once the user recieves the message he is unable to access the login page for up to 5 minutes. However other users in his same location can then access the login page imediatley.

    After doing some research in the event viewer logs I noticed that there is a VSS Shadow Copy job that was kicking off about 30 minutes before he gets the error. I was wondering if this job could be temporarily locking the website files preventing IIS from reading them.

    Aside from the VSS entry in the event viewer there are no other relevant messges. We typically run our app in IIS 6.0 with ASP .NET in 32 bit mode. If anyone has seen a similiar issue with this in IIS 7.0 or have any suggestions it would be appreciated.

    Thanks,

    Adam 

  • 04-16-2009, 12:16 PM In reply to

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    Adam,

    You might want to look into what is the sub-staus code in the IIS log files corresponding to the 404 that the user is recieving ... that wil give you a better idea as to why this is happening...

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 04-16-2009, 1:08 PM In reply to

    • AdamL123
    • Not Ranked
    • Joined on 12-21-2006, 3:00 PM
    • Posts 9

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    ma_khan thanks for the reply, however when I checked the logs for that time frame the status codes for all of the 404's where 0.

    Any other ideas?

  • 04-16-2009, 3:54 PM In reply to

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    in that case it would mean that the user is trying to get to a page that does not exist on the server... you can check the url that is associated with the 404.0 to see if that actually exists....

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 04-16-2009, 4:23 PM In reply to

    • AdamL123
    • Not Ranked
    • Joined on 12-21-2006, 3:00 PM
    • Posts 9

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    The files being accessed are on the server but it seems that for that moment they dont exist. The user can access the page and use it but every so often something is occuring that IIS doesnt see them. We also had the turn off all jobs on the server but no luck.

     Is there any advanced logging we can turn on to catch the issue?

    Sorry but at this point Im just trying to brain storm ideas.

     

  • 04-16-2009, 6:17 PM In reply to

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    If the sub-status code is 0 then I dont see any reason other than the fact that the files requested do not exist on the path... now why they do not exist is something of a question mark to me :)

    if the files are being replaced within a time period then this could happen... other than that not sure...

    Regards,
    MA Khan
    http://www.iisworkstation.com

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
  • 04-23-2009, 12:45 PM In reply to

    • AdamL123
    • Not Ranked
    • Joined on 12-21-2006, 3:00 PM
    • Posts 9

    Re: occasional http 404 error moving app to windows server 2008 (IIS 7.0)

    The issue here had to do with the fact that the client had multiple websites and a wild card mapping to one of them was sending requests from our website to the other one which didnt have a Login Page. As test we placed a Login Page on that site that said incorrect redirect sure enough the client go this message.

Page 1 of 1 (7 items)
Microsoft Communities