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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:20:11+00:00 2026-05-30T00:20:11+00:00

I have deployed an asp.net site with a wcf rest service to a virtual

  • 0

I have deployed an asp.net site with a wcf rest service to a virtual directory. It accepts lat/lon in the querystring. IIS is apparently not allowing querystrings that contain a ‘.’. I have found numerious posts on the topic, but cannot seem to resolve the issue.

I have tried enabling parent paths on both the parent website and the virtual directory:
http://support.microsoft.com/kb/332117

I have already tried the httpRuntime setting for relaxedUrlToFileSystemMapping=”true”
http://haacked.com/archive/2010/04/29/allowing-reserved-filenames-in-URLs.aspx

currently I have both parent paths enabled and my httpRuntime settings are:

<httpRuntime requestValidationMode="2.0" requestPathInvalidCharacters="" relaxedUrlToFileSystemMapping="true" />
  • 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-30T00:20:14+00:00Added an answer on May 30, 2026 at 12:20 am

    I noticed that the Urls you were using have a / rather than a ? which causes the elements to be treated as a path rather than a query string.

    If that was intended and you are using .NET 4.0, you can try using the <schemeSettings> Element (Uri Settings) under configuration:

    <uri>  
        <schemeSettings> 
            <add name="http" genericUriParserOptions="DontUnescapePathDotsAndSlashes" /> 
        </schemeSettings> 
    </uri> 
    

    See GenericUriParserOptions Enumeration for the valid values.

    If that was not intended update your template to use the ? mark and you should be ok:

    [WebGet(UriTemplate = "?username={username}&lat={lat}&lng={lng}")]

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

Sidebar

Related Questions

I have a ASP.NET website deployed under IIS uisng virtual directories. I'm using forms
We have deployed a .net 4 asp.net site on IIS 6.0. Default.aspx is configured
I have an ASP.Net web site deployed in IIS 7.5 with a file Cart.svc
We have an asp.net web site that is deployed on several IIS servers. The
I have deployed ASP.NET web site and ASP.NET web service on the same web
I have asp.net mvc intranet site that is deployed to IIS6. Site is used
I have deployed an ASP.NET 4 application to IIS 6 on Windows XP 64bit.
I am trying to deploy an ASP.NET application. I have deployed the site to
I have created a website in asp.net and deployed it on IIS. It is
i have deployed an asp.net mvc site a few days ago and everything is

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.