When I try to run IIS EXPRESS in visual studio 2019 I get the following error message:
error message
And I try to move folder asp.net code, repair program, Uninstalls and install agian but I still get the following error message
Did you debug your application from IIS or IIS Express? If you are using IIS Express, I suggest you refer the link below:
IISExpress 8 Cannot read configuration file redirection.config.''
And it may also be related to your permissions, I recommend you to run VS as administrator.
Related
Visual Studio Community 2019 16.10.0
Pressing [IIS Express] to debug...
Regardless of which Port I use, I get:
Log:
Failed to register URL "http://localhost:59001/" for site "...." application "/". Error description: The process cannot access the file because it is being used by another process. (0x80070020)
Rebooted, deleted 'vs' folder, reinstalled VS 2019. Still the same error. Does anyone know what could be causing it?
Choosing the "Repair" option on Visual Studio fixed it. But uninstall/reinstall did not?!?
When I want to debug my web project on local iis I get this error message. First I tried to debug an Umbraco project and I got the message below. First I thought it was because of Umbraco but a new empty web project gave the same error message.
Unable to start debugging on the web server. The Visual Studio 2017
Remote Debugger (MSVSMON.EXE) does not appear to be running on the
remote computer. The may be because a firewall is preventing
communication to the remote computer. Please see Help for assistance
on configuring remote debugging.
My configuration in Visual Studio 2017:
Local IIS
Project URL: http://my.domain.dev.nl
Virtual directory has been created successfully. Of course I tried some things before asking.
I tried to restart the Remote Debugging process.
I tried this command: devenv /resetuserdata.
I started a complete new project.
I changed debug CPU from any to x86 and x64 also.
If I choose for IIS Express I can run my project without any issues.
Someone any idea?
Edit:
Another thing to mention is that I have tried to ping the local address http://my.domain.dev.nl and I got a reply from another ip. Of course I checked my IIS bindings but everything is ok.
I am using Windows 10 on my machine. i recently installed VS2010 + Service pack1 for VS but when I open the TFS window, the following screen with exception messages appears:
And when i click on the "Connect to Team Foundation Server" as below;
it gives me below error:
And there is no file with the name of ActivityLog.xml at the following link:
C:\Users\myUser\AppData\Roaming\Microsoft\VisualStudio\10.0
Can someone point out where is the mistake or how to fix this issue? Thanks
if it was working earlier then try clearing the cache from %LocalAppData%\Microsoft\Team Foundation\3.0\Cache
if it wasn't working earlier check if you have installed TFS 2010 SP1. Then clear the cache and try connecting it.
Firstly, you need to run Devenv /log command to log all activity to the log file for troubleshooting.
Secondly, the error message you have indicates that there is something wrong with Team Explorer. So in order to fix this issue, you need to repair your VS2010 to have team explorer repaired to.
I cannot use VS2013 due to the fact that the "Visual Studio Development Server" option is missing. You can only use IIS Express, or an external host. When I use IIS Express, I get one of several errors when I launch a website with F5.
Failed to register URL "" for site "" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)
Cannot process request because the process (8204) has exited.
Neither of them make sense. I tried deleting all the configured sites in the IIS express config. I tried reinstalling IIS Express, Visual Studio. I don't see how the first error can occur. In all the demos I've seen, you can just hit F5 in VS and it works. This isn't the case here.
Right click on the Project in your solution and pick Properties.
Select web on the left side.
Choose IIS Express
Enter Project url
example:
https://localhost:44300
or you could check 'Override application root url' and type url like above
I have a C# MVC project created in Visual Studio 2010 Professional (VS) on Windows 7 but I am not able to run it and debug it in VS.
VS gives me: Unable to connect to the ASP.NET Development Server
The development server starts tho on http://localhost:63785/ but that gives me Server Error in '/' Application. HTTP Error 403 - Forbidden. Version Information: ASP.NET Development Server 10.0.0.0
I am able to start the application directly using: "C:\Program Files\Common Files\microsoft shared\DevServer\10.0\WebDev.WebServer40.EXE" /port:8080 /path:"D:\visual studio 2010\Projects\MvcApplication1\MvcApplication1\ but I am not able to use VS debugging that way
My colleague tried to run the application using IIS but that gives him the 403 error as well.
I dont have much experience regarding IIS or ASP, I tried to google it and tried few ideas but none seems to be working for me.
I had this problem once in firefox when the following checkbox was activated:
(Website right click in solution explorer)->
Property Pages->
Start Options->
Server / NTLM Authentication
Maybe you accidentally restricted access to all pages of your project? Check authentication / authorization sections in web.config