Failed to create binding redirects for "localhost". An item with the same key has already been added.

Using ASP.NET WebForms in Visual Studio 2010 and adding Glimpse to my WebSite (not WebApp):

I am trying to install the NuGet → Glimpse package.

Installation is quite simple:

PM> Install-Package Glimpse

Successfully installed "Glimpse 0.79".

Successfully added 'Glimpse 0.79' to local.

But then I get an error in pink Failed to create binding redirects for 'localhost'. An item with the same key has already been added.

I got an error regarding the link to "Microsoft.Web.Infrastructure" that I resolved by finding this dll and putting it in the bin folder for my website

Now I get the http 404 error at http: // localhost / websiteName / Glimpse / Config

I suppose the error is because the configuration file does not actually exist there, and the route that he was trying to insert into IIS did not work properly, so the page could not be found.

Any help would be greatly appreciated, thanks in advance!

+4
source share
1 answer

I am a member of the glimpse team. Unfortunately, a glimpse of 0.79 does not support WebForms out of the box.

I expect all the problems you have indicated here to "disappear" if we have more formal support.

If you really want to start and run, I recommend grabbing the source from gitHub.com/Glimpse and manually linking to Glimpse.Net.

I also noted this SO question to make sure that we test your use case when we prepare for release with official WebForms support.

+1
source

All Articles