Unable to connect to configured develompent web service, help would be appreciated

eitan blum 1 Reputation point
2022-07-17T17:54:45.413+00:00

Output from IIS Express:
Failed to register URL "Http://localhost5306/" for the site "InsetedWebsite" application "/" Error description: The format of the specified network name is invalid. (0x0800704be)

any fixed will be greatly appreciate.

Windows development | Internet Information Services
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Akash Chopra 36 Reputation points
    2022-07-17T22:53:26.143+00:00

    Hi @eitan blum ,

    Adding the snips for the solution to this.

    221628-image.png

    221653-image.png

    Please dont forget to mark this answer if it solved your challenge.

    Thanks,
    Akash Chopra

    0 comments No comments

  2. Yurong Dai-MSFT 2,846 Reputation points Microsoft External Staff
    2022-07-18T08:11:17.417+00:00

    Hi @eitan blum ,

    Possible workaround for this error:
    Due to port number is already in use - Change the port number for the web application in project's Properties tab.

    Steps:

    1. In Solution Explorer, right-click the name of the Web application project for which you want to specify a Web server, and then click Properties.
    2. In the Properties window, click the Web tab.
    3. Assign other port number in the Project URL box.

    Hope this helps you!


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the email notification for this thread.

    Best regards,
    Yurong Dai

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.