Microsoft Developer Network >
Página Inicial dos Fóruns
>
SQL Azure — Getting Started
>
BadRequest [400] Retreiving Authority
BadRequest [400] Retreiving Authority
- Hello
I am trying to retrieve an authority with the following URL "https://brentrogers.data.database.windows.net/" and I keep getting the Bad Request [400] error. I can see this authority using the SDS explorer.
In my code I am simply browsing to the above URL.
Do I need to do more?
Do I need to send an XML Message to the https://data.database.windows.net/ URL?
Respostas
- It might be DNS. You can add an entry into you hosts file for the url. I wouldn't do that though because you'll forget it is there. For me IP address: 65.55.23.105 is Host name: dataloader.data.database.windows.net
There are some command line tools you can use to help diagnose the issue.
Use "nslookup" as a testing tool for that issue. You can test each DNS server on your network settings individually to see of one can't find it. http://support.microsoft.com/default.aspx/kb/200525
nslookup [-option] [hostname] [server]
Use "ipconfig" to find your network settings. That will have the server ips for that you use for DNS. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ipconfig.mspx?mfr=true
ipconfig [/all] [/renew [Adapter]] [/release [Adapter]] [/flushdns] [/displaydns] [/registerdns]
I hope that helps.
Aaron Stanley King - Microsoft Consultant - Perpetual Technologies, Inc. - http://www.perptech.com- Sugerido como RespostaAaron Stanley King quarta-feira, 24 de junho de 2009 11:54
- Marcado como RespostaRick NegrinMSFT, Moderadorquinta-feira, 30 de julho de 2009 22:25
Todas as Respostas
You need to add the /v1 directory and authenticate. Try https://brentrogers.data.database.windows.net/v1/ instead.
Aaron Stanley King - Microsoft Consultant - Perpetual Technologies, Inc. - http://www.perptech.com- Sugerido como RespostaAaron Stanley King segunda-feira, 22 de junho de 2009 12:09
- Thank you I tried that and got further. Now I keep getting the message "The remote name could not be resolved: 'dataloader.data.database.windows.net'" I also get the same message from time to time using the SDS Explorer. I can never seem to figure out why sometimes I get the data I need, and othere I get the above error. Any Ideas this time.
- Hi, if your accessing sds behind corporate firewall then need to check with System administrator, may be this will be the reason kapil
- Sugerido como RespostaKapil Muni Gupta terça-feira, 14 de julho de 2009 17:36
- It might be DNS. You can add an entry into you hosts file for the url. I wouldn't do that though because you'll forget it is there. For me IP address: 65.55.23.105 is Host name: dataloader.data.database.windows.net
There are some command line tools you can use to help diagnose the issue.
Use "nslookup" as a testing tool for that issue. You can test each DNS server on your network settings individually to see of one can't find it. http://support.microsoft.com/default.aspx/kb/200525
nslookup [-option] [hostname] [server]
Use "ipconfig" to find your network settings. That will have the server ips for that you use for DNS. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ipconfig.mspx?mfr=true
ipconfig [/all] [/renew [Adapter]] [/release [Adapter]] [/flushdns] [/displaydns] [/registerdns]
I hope that helps.
Aaron Stanley King - Microsoft Consultant - Perpetual Technologies, Inc. - http://www.perptech.com- Sugerido como RespostaAaron Stanley King quarta-feira, 24 de junho de 2009 11:54
- Marcado como RespostaRick NegrinMSFT, Moderadorquinta-feira, 30 de julho de 2009 22:25

