Eric
Dec 29, 2012
  21208
(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
Jhoose Security Module V3.0.0 – Site-Level Security Configuration for Optimizely

Jhoose Security Module updated for Optimizely CMS 13, introducing separate packages for CMS 12 and 13 with ongoing support and enhancements.

Andrew Markham | Apr 6, 2026 |

Searchable settings page

In my current project which has been actively developed for quite some time we have a big classic settings page. Unfortunately the placement and...

Per Nergård (MVP) | Apr 6, 2026

Using Azure Devops Pipelines in Optimizely SAAS (Configured) Commerce

Introduction When working with SAAS Commerce build service v2 your currently need to use a github repo with configured branches to start deployment...

Mark Hall | Apr 4, 2026 |

Forcing Lowercase URLs in Optimizely CMS During Auto-Translation

Learn how to fix uppercase and punctuation issues in Optimizely CMS 12 URL segments caused by LanguageManager auto-translation using a custom...

Stuart | Apr 2, 2026 |