How to correct it?
I know it sounds silly but make sure it is marked as 'Content' as it's Build Action under it's properties.
When you say 'ASP.NET web project', do you mean 'ASP.NET web application project'?
If so, the web.config should have a build action of Content by default. As Brandon mentioned, Content is then copied over to the publish destination.
To verify, select the web.config file in your Solution Explorer then use the Properties Window. An example:
example http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&id=558
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With