Eric
Dec 29, 2012
  20063
(0 votes)

Failed to register URL for your website when using VS2012 and IIS Express?

I am setting up a new project with CMS 7 and stumble upon a problem with running EPiServer CMS7 with IIS Express. Thought I should write a quick answer to the problem.

If you are getting this error:

image

 

To fix this issue you just need to run your instance of VS2012 as an administrator.

 

image

 

When that is done you can run your application with IIS Express.

Dec 29, 2012

Comments

Joshua Folkerts
Joshua Folkerts Dec 29, 2012 03:26 PM

I ran into this earlier, if you right click and then click properties-> Advanced - > you can set this program to automatically "Run as administrator' by checking the checkbox. This way you don't always have to right click and run as administrator. Just an FYI. Thanks Eric.

make
make Jan 2, 2013 12:51 AM

Instead of running VS2012 as administrator, you can open a command prompt as administrator and run this command:

netsh http add urlacl url=http://*:37002/ user=everyone

You should only need to do this once to get rid of the permissions issues.

make
make Jan 2, 2013 12:51 AM

Instead of running VS2012 as administrator, you can open a command prompt as administrator and run this command:

netsh http add urlacl url=http://*:37002/ user=everyone

You should only need to do this once to get rid of the permissions issues.

Eric
Eric Jan 7, 2013 04:53 PM

Thanks for the replys :) I always have run as administrator but i have experienced problem when I tryt to open a VS-document with that setting from windows explorer. Without it works just fine, strange?! Yes.

The other solution is great. Solved my problem with not beeing able to open documents from explorer.

Please login to comment.
Latest blogs
Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog

New Optimizely certifications - register for beta testing before November 1st

In January 2023, Optimizely is making updates to the current versions of our certification exams to make sure that each exam covers the necessary...

Jamilia Buzurukova | Sep 28, 2022

Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog