I have set up a IIS site on localhost:94, and it runs as it should, I am using visual studio 2012, when I go to launch it this appears...
Anyone have any idea how to fix it?
It's working fine on the other developers computers.
Try running Visual Studio as an Administrator.
Related
I have an API in Visual Studio and when I run it in IIS Express, it worked fine.
Today I did the same thing but it's not working. I believe that my IP address is correct so I don't think the issue is there, I'm also running it as administrator. I even went to the event view and it says that
The worker process failed to initialize correctly
and therefore could not be started. I'll show u the images below if anyone had this problem or knows how to fix it please tell me.
I've also tried to reinstall Visual Studio but its still not working
error in event viewr1
error in event viewer2
error in Visual Studio when I try to run the app
i've tried to repair the IIS Express and this is what pops up
Repair Error
If it helps I'm using Visual Studio 2019
I had a similar issue but with a web service: I simply changed the port the web app was using.
Right click the solution in the Solution Explorer tab, click "Properties," then "Move to Web," and change the port on the project URL.
I'm developing a site with .NET and C# in Visual Studio 2017. When I first load the project, I can press the green arrow IIS Express button and it opens a new browser window and everything is fine. However if I stop it or exit from the browser tab, the next time it doesn't load the page. It opens the browser window, but says it cannot connect, and the IIS Express button doesn't stay grey and goes back to white. This started happening only recently, and I've not made considerable changes to the codebase; I don't know why this is happening now.
All I have to do is exit Visual Studio and open it up again, then I can run IIS Express for one time before it stops working again.
I don't see any errors, I've tried running in Administrator mode, and I've assured that it's not trying to use a port that's already in use. I've also tried updating VS 2017.
Where do I start looking into this problem?
According to your description, I guess you may install some third-party extension in your visual stuido that casuing this issue.
I suggest you could try to run VS with safe mode to check if this is working well or not.
About how to run VS in safe mode, you could refe to below way:
open CMD and go to C:\Program Files (x86)\Microsoft Visual Studio\2019\version name\Common7\IDE folder, run the command: devenv /safemode
Besides, I suggest you could try to reset all the VS setting to defauly.
Details, you could refer to this article.
I'm using VS2017 and when I tried to run my app just standard noting extra with IIS express it fails.
Error:
An error occurred launching IIS Express. Unable to launch the configured visual studio development web server. Uncaught exception thrown by method called reflection.
I've set the port to 8080 instead of 56000.
Any ideas how what is wrong? Yes I installed IIS Express but it's not running in the background. I've tried to start VS in Administrtor mode but no luck. I've also deleted the .vs folder and restarted but again no luck.
According to this blog, the following steps should fix the issue:
close all Visual Studio instances
go to your ASP.NET project/solution folder, delete “.vs” hidden folder
click “Start”, search IISExpress, go to IISExpress folder, go upper level and delete whole IISExpress folder
start Visual Studio with Administrator privilege
create a fresh new ASP.NET project
run this project, this time you should see IIS Express is launched by Visual Studio correctly
close this solution but not close Visual Studio, open the ASP.NET project which you have problem with, and run it now, you should see IIS Express is launched correctly
I have done all visual studio 2015 installation process.
So did Hyper-v settings.
Emulatro starts but does not install a program that I have written on it.
Please help to resolve this problem
Several hours and nothing happens in this case is. The program does not deploy!!!
Would need more details/emulator logs to diagnose issues with the VS emulator, but I would encourage you to disable Hyper-V and then run the Xamarin installer for Windows to get the fast Google Emulators.
They are nice and should fix your problem.
http://xamarin.com/download
I am developing a game in C# and it works properly here in my laptop. But when I tried to run it in other pc's its getting an error "Microsoft.VisualBasic.Powerpacks.ShapeContainer could not be found". I used Visual Studio 2008 and the pc's I have tried running also uses Visual Studio 2008.
Does anyone knows how to solve this error?
Will removing the lines, panels I have used in the forms helps?
You should download and install Microsoft Visual Basic Power Packs 3.0.