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 1090761
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:25:14+00:00 2026-05-16T23:25:14+00:00

So i am on VS2010 running iis 7 with .net 4.0 I have a

  • 0

So i am on VS2010 running iis 7 with .net 4.0

I have a REST wcf 4.0/.net 4.0 services that runs locally very beautifully. On my local it is hosted on IIS at

http://localhost/SOMENAME/

[WebGet(UriTemplate = "Ping")]
    public string CheckAuthenticatedStatus()
    {
        string userName;
        if (!AuthenticateUser(out userName))
        {
            WebOperationContext.Current.OutgoingResponse.StatusCode = System.Net.HttpStatusCode.Unauthorized;
            return "Authenticaltion Failed";
        }
        return "Ping Back - " + userName;


    }

    [WebGet(UriTemplate = "AnonymousPing")]
    public string CheckStatus()
    {

        return "AnonymousPing Back";

    }

But when i try to deploy it in QA environment (win2k3 .net 4 iis 6) I get the following error.

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

How do i go about this? And I don’t need a SVC file on my local to run the web service.
All the online help (courtesy of google) talk about the SVC file.
Please point me in the right direction.

  • 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-16T23:25:15+00:00Added an answer on May 16, 2026 at 11:25 pm

    I finally found what I was looking for.

    Step 1) VirtualDirectoryName->Properties->Virtual Directory Tab->Confirguration Button->

    Insert new WildCard Mapping C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll Uncheck Verify that file exists

    Step 2)

    VirtualDirectoryName->Properties->Directory Security Tab->Authentication and access control->Edit Button->

    Uncheck Integrated Windodws Authentication

    Step3) Reset IIS

    The following two links helped me out!

    http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/2ec269e3-c1ff-4d9b-9ff3-d530f1599047

    http://forums.asp.net/t/1195663.aspx

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

Sidebar

Related Questions

I have an ASP.net that I built in VS2010 running in iis7 however when
I have hosted a WCF service in my local machine(XP SP3) lets name as
I have an asp.net application running on my development machine (windows 7 ultimate, IIS
I've upgraded a WCF project running 3.5 vs2008 to .net 4.0 vs2010 and run
I'm running an ASP.NET project on IIS locally, and an exception is getting reported
I have an ASP.NET Web Forms app that I am building and running against
I have two instances of VS2010 running on same machine.One VS instance has a
I just installed .NET 4.0 on my Win 2003 Server running IIS. I didn't
I'm running a weird issue here. I have code that makes jquery ajax calls
I have some simple questions regarding the publishing of WCF RIA domain services under

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.