Eric
Dec 29, 2012
  21293
(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
Optimizely Opal: How to Build Effective Workflow Agents

If you're building workflow agents in Optimizely Opal, this post covers how specialized agents pass context to each other, why keeping agents small...

Andre | May 20, 2026

ReviewPR: An Azure Function That Reviews Your Azure DevOps Pull Requests With Claude

A while back I wrote about an  Azure Function App for PDF creation that we use to offload PDF rendering from our Optimizely DXP site. That same...

KennyG | May 19, 2026

Accelerating Optimizely CMS and Commerce upgrades with agentic AI (Part 2 of 2)

The Real Transformation in Optimizely CMS 13: Why the Upgrade Itself Is the Easy Part. A field-tested playbook for enterprise teams moving from...

Hung Le Hoang | May 18, 2026

Is the most powerful AI model really the best value?

Artificial Intelligence is already becoming part of everyday software development. Developers now use AI tools to generate code, write documentatio...

K Khan | May 16, 2026