Request format is unrecognized for URL unexpectedly ending in /MethodName

by Oliver 27. May 2010 16:34

Eine wirklich interessante Erklärung für diese InvalidOperationException findet sich hier: Request format is unrecognized for URL unexpectedly ending in /SomeWebServiceMethod.

Das Problem bei uns besteht darin, dass wir eine URL mit dem Querystring “campsiteId=12091&source=%22SearchPage%22” erwarten, aber in diesem Falle den Querystring “campsiteId=12091&source=217.xxx.yyy.35SearchPage217.xxx.yyy.35” (also statt “%22” die IP-Adresse des Clients) erhalten. Interessanterweise sieht man diesen Fehler so nur im Windows-EventLog, nicht aber in unserem Elmah-ErrorLog.

invalidop-asmx

Offen ist derzeit die Frage, warum “%22” hier ersetzt wird – ob dies etwas mit den im o.g. Blog-Post erwähnten Proxyserver zu tun hat?

Oliver

enjoyed the post?

Tags:

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

About Oliver

shades-of-orange.com code blog logo I build web applications using ASP.NET and have a passion for javascript. Enjoy MVC 4 and Orchard CMS, and I do TDD whenever I can. I like clean code. Love to spend time with my wife and our children. My profile on Stack Exchange, a network of free, community-driven Q&A sites

About Anton

shades-of-orange.com code blog logo I'm a software developer at teamaton. I code in C# and work with MVC, Orchard, SpecFlow, Coypu and NHibernate. I enjoy beach volleyball, board games and Coke.