I am using .Net and IIS. I accidentally deleted the My Web Sites folder (see path below) used by IIS on accident, and am unable to recover these files. As a result, I am no longer able to run my project in Visual Studio on my localmachine. Should I reinstall IIS, or does anybody have any ideas as to what I should do. Thanks.
User \ Documents \ My Web Sites \ Project \ web.config
I also had the same problem after deleting the "my web sites" folder. The error message that Visual Studio showed was that it tries to read web.config from a specific location. I just created the file again with the following content:
<?xml version="1.0" encoding="utf-8"?>
<configuration></configuration>
That solved my problem. Hope this helps someone.
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