Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7408697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:57:36+00:00 2026-05-29T05:57:36+00:00

I m trying to create a wcf service but it keep bugging me with

  • 0

I m trying to create a wcf service

but it keep bugging me with the below error while running

HTTP could not register URL http://+:80/ConsoleWCFapp/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details).

code

static void Main(string[] args)
{
   ServiceHost host = new ServiceHost(typeof(StockService), new Uri("http://localhost:8000/ConsoleWCFapp"));
   host.AddServiceEndpoint(typeof(IStockService), new BasicHttpBinding(), "");
   host.Open();

   Console.WriteLine("Listening to request now, Please enter to exit \n\n");
   Console.ReadLine();

   host.Close();
}

please advice

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:57:36+00:00Added an answer on May 29, 2026 at 5:57 am

    Run the code / Visual Studio as Administrator. I just ran into the same thing in my environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a simple JavaScript test front-end for my WCF service, but
Im trying to create file transfer service over WCF, but i got some problems
I'm trying to use WCF Data Service with Subsonic, but ran into this error
I am trying to access the singleton instance created by my WCF service but
I am trying create a WCF service that leverages the WPF MediaPlayer on the
i'm trying to call a WCF service from my Silverlight 3 app. But... when
I'm trying to create a simple web Service in the 4.0 framework, but the
I am trying to create a WCF service that uses certificate authentication over SSL
I'm trying to create a client for a WCF service that I have hosted
Trying to create an framework 4.0 WCF basicHttp service hosted by IIS (6) that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.