Search This Blog

30 June 2010

Error: A base address cannot contain a Uri query string. Parameter name: baseAddress

I just spend some hours on a stupid error caused by copy and paste and because I couldn’t find any hint neither on Google nor on our internal KB, I’m logging this. Maybe this can help someone when searching for this error message on Google. Clignement d'œil

Message:

A base address cannot contain a Uri query string. Parameter name: baseAddress

Cause: erroneous serviceMetadata element in the service web.config like this one:

image

Resolution:

configure the attribute with a valid Uri like “https://10.166.3.2/MicrosoftDynamicsAXAif50”.

3 comments:

  1. This was nothing helpful coz when i remove the wsdl then we get an empty white page for metadata

    ReplyDelete
  2. Sometimes the problem is behind the screen... ;-)

    ReplyDelete
  3. Hi Florian,
    Can we access the Ax 2009 AIF from the web address, i mean using URI to find record and that returns xml on the page? like,
    http://serverName/MicrosoftDynamicsAXAIF50/itemservice/find

    ReplyDelete