Link to home
Start Free TrialLog in
Avatar of RayT
RayTFlag for United States of America

asked on

IIS Issues

When I try to run a web application in Visual Studio 2019 I get the following error.  How do I fix this once and for all?

Unable to connect to the configured development Web server.

Output from IIS Express:
Failed to register URL "http://localhost:1789/
Error description:  The process cannot access the file because it is being used by another process. (0x80070020)

Is there an alternative to using IIS Express?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RayT

ASKER

Great!  This is what I wanted.  One more question.  Is it best to use IIS Express or IIS built into Windows 10 Pro?
Is it best to use IIS Express or IIS built into Windows 10 Pro?

IIS Express gives you a quick and convenient way without the need to configure your website in IIS. For proper testing, you may still need to configure and test in IIS.

So... that's merely based on your own preferences : )
Avatar of RayT

ASKER

Thanks!  I found that my problem was due to having both IIS Express 10.0 and Windows 10 Pro IIS running at the same time.  Things are working great after shutting down Windows 10 Pro IIS.