Can I fix my iPhone's "No Internet Connection" problem? Network is fine I am typing this question on my mac using my home WiFi network. The internet connection is fine. 

My iPhone 5 running iOS 10.0.2, on the other hand, tries ad infinitum to connect to the same network, but displays a "No Internet Connection" in orange text under the network. 

I've never had this problem before. 

I've tried turning the phone on and off, stopping/starting WiFi, going into and out of airplane mode, but the phone persists. When it tries to connect to the WiFi at my job, it does not display "No Internet Connection", but it also tries ad infinitum to connect without success. 

What is causing this problem, and how can I fix it? 

Update

I wrote this question quite a while ago. I still do not know what the issue was, and unfortunately I do not remember what fixed it, and I think it may have fixed itself in a few days. If I had to guess, I would expect the fix to involve resetting network settings and restarting BOTH the phone and the modem/router (unplug first, wait 20–30 seconds, then plug back in). I would also tell the phone to check for software updates, and repeat if it installed anything. I think it MAY have been due to either a bug in a software update (which the developers quickly would have fixed), or my router/modem was having issues. 

I’m really sorry I don’t remember anything more helpful. I hope that this helps somebody in some way, though! 

If anyone finds an answer to this, post it!
The best thing to do is to reset your network settings by going to Settings>General>Reset>Reset network settings.