Open ASP.NET project that is coming from another machine

2

I have a project that was created on a machine and I have to maintain it.

I copied the project to my current machine and when I try to open the solution / project I get the following message from Visual Studio:

  

link : error: Error opening web link . The Web Site ' link ' is configured to use IIS Express as the web server but the URL is currently configured on the local IIS web server. To open this Web site, you must use IIS Manager to remove the bindings using this URL from the local IIS web server.

With this I realized that the project is running with iis express and not the location.

I tried to create a new site in local IIS with localhost: 52961 and put the files of my solution in there, but I get IIS error in the browser, the error message is:

  

HTTP Error 500.19 - Internal Server Error

     

The requested page can not be accessed because the configuration data related to the page is invalid.

I've never really messed with IIS and ASP.NET so I may be committing very wrong things.

I would like to open the project with IIS Express in the same way it is configured in the project.

    
asked by anonymous 14.06.2017 / 18:04

1 answer

1

See what the error says:

  

The Web Site ' link ' is configured to use IIS Express as the web server but the URL is currently configured on the local IIS web server.

That is, your project is configured to use IIS Express with the URL localhost: 52961 , however, this URL is configured on some local IIS site.

Then open the local IIS, find the site that is using this URL in bindings and change the address or remove the site.

    
14.06.2017 / 18:14