In attempting to use the Performance Tools on an ASP.NET website I'm getting various combinations of these errors (depending on what I attempt to do to fix them):
- The web site could not be configured correctly. Configuring '\web.config' failed. Access to the path '\web.config' is denied. - I can make this dissappear by checking-out the web.config file or unsetting the read only attribute
- The web.config file for the site http://localhost:0/ contains information from a previous run. The web.config file was generated, so deleting it should fix the issue. - Why is it using port 0? I can't find this setting anywhere. A 'normal' run uses a specified port, e.g. 4549
- The web.config file \web.config has been changed and backup information was lost. - What?!
Any ideas?
I'm running Visual Studio 2005 with TFS 2005, it's an ASP.NET 2.0 Web Application Project.