简体   繁体   中英

ASP.NET web forms deployment onto IIS7 giving status code 404 Intermittently

I have deployed an ASP.NET web forms application to IIS7 and getting status code 404 intermittently. By this I mean the site will work for say 10 mins, and then I will get status code 404 for 20 mins...

I have one other ASP.NET web forms app running as a separate website on the server, and is running with no problem. (Both are using the same application pool)

I have searched and seen a few people have had similar symptoms but their solutions have not worked for me. For example this guy was having a similar problem, I have tried their suggestions but no luck.

Diagnosing 404 errors on IIS 7 and ASP.NET MVC

Any suggestions would be much appreciated.

Problem turned out to be a DNS issue, there were two DNS records set for the subdomain. Hence the intermittent problem. There was a 50/50 chance which ip it got and cached.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM