Troubleshoot ArcGIS for Server on Microsoft Azure
En este tema
If you encounter issues using ArcGIS Server Cloud Builder for Microsoft Azure, see the log files created in the %temp% directory where Cloud Builder is installed (by default, the directory is C:\Users\<your login>\AppData\local\temp). Additional troubleshooting tips are provided in this topic.
Also note that virtual machines created during a failed deployment process are not automatically deleted. This allows you to connect to the virtual machine and check the Windows event logs or the Cloud Builder deployment log (C:\arcgis\Deploy\deploy-log.txt) to troubleshoot the deployment failure. However, this means you need to clean up these virtual machines yourself after you finish troubleshooting. Use the Microsoft Azure Management Portal to delete machines that have been provisioned before you retry deploying a site.
ArcGIS Server Cloud Builder for Microsoft Azure
- I receive the message Subscription <GUID> has no purchase information for this marketplace information when I attempt to deploy a GIS server or web GIS site using Cloud Builder.
- I receive an unhandled exception error in Cloud Builder when the Microsoft Azure session token expires.
- I am unable to sign out of Cloud Builder.
Site administration
- I cannot make a Remote Desktop Connection to the Microsoft Azure virtual machine.
- Administrative access is enabled via the web proxy by default, but I don't want it enabled.
- After installing an SSL (TLS) certificate, the URL property on existing web service items—including the Utility Services that come with Portal for ArcGIS—is not updated. They still use the original *.cloudapp.net URL.
Publishing
I receive the message Subscription <GUID> has no purchase information for this marketplace information when I attempt to deploy a GIS server or web GIS site using Cloud Builder.
Microsoft Azure requires you to accept their license agreement before you can use images from the Azure Marketplace. Your Azure subscription administrator must perform a set of manual steps in the Azure portal and accept Azure's legal terms once for each unique image before you can deploy a site using Cloud Builder.
If you need to sign out of Cloud Builder, for example, if you have more than one Microsoft Azure account and need to switch the account you're signed in with, you need to do the following to log out of Cloud Builder:
- Log out of all other Microsoft Azure clients on that same machine. If you stay logged in to Azure from another client, the session token persists.
- Close and reopen your web browser.
- Clear the browser cache. Delete all cookies and history when you clear the cache.
Confirm you typed the correct login and password. You should log in with the login and password you specified for the machine administrator when you deployed your site using ArcGIS Server Cloud Builder for Microsoft Azure.
If you typed the login and password correctly but still cannot make a Remote Desktop Connection, it is likely that your organization's firewall is blocking access. Contact your network administrator to allow access to Microsoft Azure virtual machines through the firewall.
Nota:
You cannot make a Remote Desktop Connection to a SQL Database machine. If you want to connect to a SQL Database from a remote machine, you must first configure the firewall on the Azure SQL Database's virtual machine to allow remote connections and add the IP address of the remote client to the SQL Database machine.
Do the following to disable administrative access through the web proxy URL:
- Make a remote desktop connection to each of the web proxy instances. Log in using the machine administrator credentials you specified in Cloud Builder when you deployed the site.
- Open the c:\inetpub\wwwroot\web.config file in a text editor.
- Remove admin or portaladmin tokens from the match URL rules.
For example, remove admin from the match URL tag of the "RP-HTTP-Server" rule name text before removing
<rule name="RP-HTTP-Server" stopProcessing="true"> <match url="^[^/]+/(manager|admin|rest|services|mobile|tokens|login|help)(/?)(.*)" />
After you remove the admin token, the tag will look like the following:
<rule name="RP-HTTP-Server" stopProcessing="true"> <match url="^[^/]+/(manager|rest|services|mobile|tokens|login|help)(/?)(.*)" />
- Save changes to the web.config file and close it.
After installing an SSL (TLS) certificate, the URL property on existing web service items—including the Utility Services that come with Portal for ArcGIS—is not updated. They still use the original *.cloudapp.net URL.
To correct this, use the Portal REST API to update the URL property. The URL of the Portal REST endpoint is in the format https://<portal machine>.cloudapp.net:7443/arcgis/sharing/rest. Log in using the portal administrator credentials you specified in Cloud Builder when you deployed the web GIS site.
Publishing to my portal on Microsoft Azure fails, and I receive the message Publish exception 'Exception: no protocol: null/admin/services/exists'.
Occasionally, a race condition occurs between the start of the portal and ArcGIS Server services, which results in an invalid configuration.
To correct this, make a remote desktop connection to the portal machine and restart the Portal for ArcGIS service. Log in using the machine administrator credentials you specified in Cloud Builder when you deployed the web GIS site.