Error: The API key used on this Web site was registered for a different Web site
"The API key used on this Web site was registered for a different Web site. You can register for an API key for this Web site on the ArcWeb Services Register URL page."
There are a number of causes for this error message.
Apply the appropriate solution for the Web site being used:
- Make sure to access the Web page through a URL on a Web server, not as a file.
- Check the API key in the application for typing errors.
- Use lowercase letters, when registering the URL on the ArcWeb site: http://www.arcwebservices.com/v2006/account/account_register_url.do
is properly written as:
- Make sure that the URL of the application is registered:
As in the above sample, add the following line of code to the onBodyLoad section:
Article ID: 000008978
Software: ArcWeb Services 2006, 2006.1