When developing WCF in win7, the system prompts that the process does not have access to the namespace.

Source: Internet
Author: User

Try to run the Service ApplicationProgramThe following error occurs: HTTP cannot register URL http: // +: 8000/servicemodelsamples/service /. The process does not have access to the namespace.

Solution:

 

The management privilege must be used to run the process that hosts the WCF Service. If you run a service from within Visual Studio 2008, you must run Visual Studio 2008 as an administrator. To do this, click"Start", Right-click"Visual Studio 2008"And then select"Run as administrator". If you run the service from the command line prompt, you must start the command line prompt as an administrator in a similar way. Click"Start", Right-click"Command Prompt"And then select"Run as administrator".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.