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

  • Home
  • SEARCH
  • 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 8466267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T15:17:31+00:00 2026-06-10T15:17:31+00:00

In a Visual Studio WCF Service Application project, on the properties->web page, if I

  • 0

In a Visual Studio “WCF Service Application” project, on the properties->web page, if I select “Use Local IIS Web Server”->”create virtual directory”…it creates the IIS application successfully in the Default Web Site of a local IIS 7.5 install. So far so good.

However, I’d like to use a site other than the default web site. My attempts to host the service in a different web site aren’t working. I tried:

  1. Delete the application / virtual directory in IIS that Visual Studio successfully created.
  2. Manually create a new IIS application, in the different web site, using the same settings that were present in the IIS application previously created by Visual Studio automatically.
  3. Go to Visual Studio, project properties->web, and select the “visual studio development server”. Save. This is just an “erase” step.
  4. On the same properties page, I select “Use Local IIS Web Server” again and hit save (without pressing “Create Virtual Directory”).

In that last step, I expect it to save. It doesn’t. It pops up a message saying the virtual directory does not exist. But as I stated, it does exist because I had manually created it just prior.

My own guesses about this problem:

*. The non-default site I’ve made is somehow different from the default web site, in a way I’ve yet to determine.
*. Visual Studio is not designed to work with a virtual directory that is not in the default web site.

Any suggestions or clarifications?

I’ve activated IIS “failed request tracing,” but no records are created for this issue.

  • 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-06-10T15:17:33+00:00Added an answer on June 10, 2026 at 3:17 pm

    What you want to do is look at your second site is IIS (the one you want the WCF service to run under) and look at the host name on new or if you go to manage web site -> advanced settings and look at what is after the the bindings. So it may show something like: http:*:80:localhost2 . localhost2 is what you need. It may be an IP Address too, not sure how you set it up.

    So then in your WCF project properties in the Use Local IIS Server -> Project URL you put the host name of the site. So for example it may be something like: http://localhost2/yourservice.svc .

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

Sidebar

Related Questions

I want to publish WCF Service Application created in Visual Studio 2010 on IIS
I'm using the WCF Rest service application project template in visual studio. I'm just
When creating a new service in a WCF service project, Visual Studio will automatically
I have developed the WCF web service in vb.net in visual studio 2010 express
I have built up the wcf web service in visual studio express 2010. I
Info: C#, Visual Studio 2010 RC How can I add a WCF Web Service
I Just created a sample WCF Service application in Visual Studio 2010. It has
How to deploy WCF Service Application made with Visual Studio 2010 (Framework 4.0) with
I am writing a WCF Service Application in Visual Studio 2010 using .NET Framework
In my Visual Studio 2010 Solution with a WCF Service Project, I have my

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.