When I try to start my newly created WebApplication I get this error:
The program '[73635] iisexpress.exe' has exited with code 0 (0x0).
I have already searched through internet and none of this solutions helped me:
I just want to build the page. I have done no changes to the original MVC5 website.
EDIT: I thought it was an error, but in the comment @Lex li says it is not an error. When I search through this on internet it look like many people had experienced it before.
I just created a new MVC application. Without doing any changes I try to run it with IIS Express (Google Chrome), but it just stops, without anything more. Chrome gives me this error: This site can’t be reached localhost refused to connect.
. And I get no errors what so ever. It just wont start, and Visual Studio Diagnostic Tools stop running at the same time Chrome closes itself.
EDIT 2: I have been able to dig a bit more:
C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error
Starting IIS Express ...
Initializing the W3 Server Started CTC = 2601562
Error initializing IISUTIL's LocalRequest. hr = 80072afa
Terminating W3_SERVER object
Start listenerChannel http:0
Initializing the W3 Server Started CTC = 2610156
Error initializing IISUTIL's LocalRequest. hr = 80072afa
Terminating W3_SERVER object
InitComplete event signalled
Process Model Shutdown called
Unable to start iisexpress.
I have realised that IISExpress i struggeling with something. I was able to get this error, when I presset CTRL - F5: unable to launch iis express web server
.
Scan the folder C:\Users\xuser\source\repos\CMySQL\CMySQL for project files.
1 project(s) are detected.
* CMySQL.csproj
Project file: C:\Users\xuser\source\repos\CMySQL\CMySQL\CMySQL.csproj.
IIS Express configuration file: C:\Users\xuser\source\repos\CMySQL\.vs\config\applicationHost.config.
Analyze ASP.NET project.
Extract web project settings.
UseIIS: True
AutoAssignPort: True
DevelopmentServerPort: 61708
DevelopmentServerVPath: /
IISUrl: http://localhost:6549/
NTLMAuthentication: False
UseCustomServer: False
CustomServerUrl:
SaveServerSettingsInUserFile: False
UseIISExpress: true
IISExpressSSLPort:
IISExpressAnonymousAuthentication:
IISExpressWindowsAuthentication:
IISExpressUseClassicPipelineMode:
UseGlobalApplicationHostFile:
Scan all bindings.
IIS Express is used for this project.
Binding *:6549 (http).
A matching binding is found for http://localhost:6549/.
This file is located in the %userprofile%\Documents\IISExpress\config folder or %userprofile%\My Documents\IISExpress\config folder, depending on your OS. When you run a site from a configuration file, you can specify which site to run.
IIS Express is a lightweight, self-contained version of IIS optimized for developers. IIS Express makes it easy to use the most current version of IIS to develop and test websites.
"Exited with code 0" just means the process terminated successfully with no errors. Please Sign up or sign in to vote. How do I fix this "the program ' [10272] iisexpress.exe' has exited with code 0 (0x0)."?
I have already cleared out what few files exist in the dotnet temporary folders (most are empty when VS shuts down), so this isn’t it. Suggestions? The exit code -1 means that the reason is unknown. Please check your IIS Express log to see if there are more information about this issue.
The program ' [4268] Project4.exe ' has exited with code 0 (0x0). Exited with code 0 means there was no error. What is your question? Please show the code of your program so we can see what it is doing.
My problem was solved only by deleting the .vs
directory.
For my , only worked remove the ISSExpress folder locate in c:\users"youruser"\Documents\ISSExpress
Closing all browser windows worked for me.
But that was after doing this first: File -> Open -> Web Site etc. as described here - I removed the website from IIS Express:
Why and how to fix? IIS Express "The specified port is in use"
not sure if I had to do both of these but it worked for me.
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