I found two common answers online, which did not work for me but did work for others. I then discovered that I just needed to tweak one of these answers:
- Make sure that you are running Visual Studio as administrator.
- Make sure that you have set up a binding for your site in IIS for dnndev.me
The KEY part of #2 above, for me, is that when binding was set to dnndev.me I could open the module project in Visual Studio, but not the overall DNN installation in a browser. When the binding was set to www.dnndev.me I could open the overall DNN installation in a browser, but not the module project in VS...
The answer that worked for me in the end was to have two bindings, both set to port 80, one with the Host Name set to www.dnndev.me and the other set to dnndev.me
As it took so long to find this answer I wanted to make sure it was here for people to find easily.