« Previous Next »

Not Answered Thread: confused about "rewrite module"

Last post 11-07-2009 5:54 AM by mreynol5. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 11-06-2009, 5:42 PM

    confused about "rewrite module"

     My c# web services using "http get" no longer seem to work.  The query string seems to be stripped.  I moved from XP to Vista to Windows 7 and therefore from iis 5.5 - iis 7.  Can I no longer employ "http get" or is there now a better method?  If so would one of you kind souls please point me to some information that I can read?

    Thanks

  • 11-07-2009, 2:55 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: confused about "rewrite module"

    Where exactly is the query-string stripped?  Can you provide a simple example?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-07-2009, 5:54 AM In reply to

    Re: confused about "rewrite module"

    certainly.  I used the word "stripped" becaise I could not think of another.  Here's what I see:

    http://123.123.123.123/cv/service1.asmx/getAccountInfo?acct=12345

    This performs as though there were no "?acct=1234" passed in.  It returns only the parent node (i.e.: no data).  Note that this is a call to a LINQ enabled web service that queries a SQL table and returns a "string-ized" XML form.

    http://localhost/cv/service1.asmx/getAccountInfo?acct=12345

    This returns data when run on the web server.  The other fails no matter where it is run.  Testing from the VS 2008 "Test Harness" via "debug" produces a good result however it substitutes "localhost" for the ip address.  Note that the IP address that I am using is the external IP and has been verified via "whatismyip.com".  I have a router in place and have opened Port 80 which is forwarded to the proper server on my network.

Page 1 of 1 (3 items)
Microsoft Communities