Skip navigation
All Places > Esri Technical Support > Blog

We have attempted several times to configure a server on a virtual machine running the following setup. The server was previously running the same DBMS and OS with ArcGIS Server 10.4 successfully; however, we wanted to upgrade and include Portal. Unfortunately, we have had problems with the upgrade.

  • Microsoft Windows Server 2012 R2 Ver. 6.3.9600
  • IIS Ver. 6.2.9200
  • Microsoft SQL Server 2016
  • ArcGIS Server Enterprise 10.5.1
  • ArcGIS Portal
  • Web adaptors for Portal and Server
  • ArcGIS Datastore

In previous attempts using the Enterprise Builder app, I have opened SSL ports as instructed for 6080, 6443, 7443, and 2443; however, I have since removed bindings in trying to get back to where we were with a simple install of ArcGIS Server.

 

Currently, IIS has been configured with bindings for ports 80, 6080 and 6443.

For the moment, Windows Firewall is turned off; however, I have set inbound Rules to allow access to the following local ports:

Inbound Rule

Local Ports

ArcGIS Enterprise Setup

80, 6080, 7080, 443, 2443, 6443, 7443, 9876

ArcGIS Server

1098, 4000-4004, 606, 6080, 6099, 6443

ArcGIS Portal

7080, 7443

ArcGIS DataStore

2443, 9876, 29080

 

I have tried installing using the automated Enterprise Builder application and manually by using the ArcGIS Server for Enterprise installation ISO distribution. In both cases, the software appears to install and configure correctly, but attempts to access the arcgis/manager (or any other related links) through a browser returns 404 errors. IIS is running as indicated by other web services.

 

In some attempts, it has appeared that the ArcGIS server software is running correctly, because I can see the map REST services in the system services list. Nevertheless, we are unable to access them with the same 404 error results.

I have many years of experience with ESRI products but am not much of a web programmer, so these setup problems are confounding me. There is probably a simple issue which you may have seen previously that is blocking access to the system framework; however, despite many web searches and after many unsuccessful (and some partially successful) attempts, I am at a loss as to what the problem is.

 

If you need more information about setup, I will be happy to provide it. I appreciate your assistance on this.

Exciting things are coming for GIS users in 2018 - ArcGIS Desktop 10.6 and ArcGIS Pro 2.1 are being released in January, along with some great new tools, features and functionality. Esri Technical Support is excited to work with our customers in these new environments, but what does this mean for some of the older platform versions?

 

Alas, on January 1, 2018, ArcGIS 10.1 is officially retired

 

Here's a quick list of what this entails: 

  • Technical Support will not be available for ArcGIS Desktop 10.1, ArcGIS Server 10.1, or Enterprise GDBs at 10.1
  • It will not be possible to request a Support Case for ArcGIS Desktop/Server/Enterprise 10.1
  • We are here to help you with upgrading. If you need technical support for the upgrade process, give us a call. 

 

As this year comes to a close, it's important to plan ahead. Get a jump start on upgrading your applications and geodatabases, and reach out to us if you have questions. 

 

For more information, check out some of our documentation:

Product Life Cycle for ArcGIS 10.1

Deprecation Plan for ArcGIS 10.1 and ArcGIS 10.1

What is it?

The synchronization process is made up of multiple tasks involving sending and receiving data and acknowledgements between the two geodatabases that participate in the replica.  The Disconnected Synchronization process allows the user to manually complete each of these individual tasks. 

One way to think of synchronization can be to compare it to a phone conversation between two people, speaking and listening to each other.

 

Why use it?

To provide a method of synchronization for customers with replication between geodatabases that are in a disconnected environment.

To troubleshoot issues with replicas in a connected environment.

To get a deeper understanding of the synchronization process.

 

How to use it?

There are three ways you can access the tools needed to perform a disconnected synchronization.

 

                           ArcCatalog Context Menu:                                        ArcToolbox Geoprocessing tools:                                                  

 

ArcMap Distributed Geodatabase toolbar:

 

Before running any tools, use the replica manager to confirm which geodatabase in your replica is the data sender.  *Always check this status from both the parent and the child.

 

 

 

 

Step 1: Export Data Changes from the Data Sender.

 

 

If you are using a two way replica, and need to synchronize data in both direction, check the 'Switch to being a receiver once the message has been exported' so this workflow can be done in the opposite direction later.

 

Exporting the changes to Delta Geodatabase allows you to see the records with updates, inserts, and deletes that are being synchronized.  If features have not been updated, inserted or deleted since the last synchronization then you will not see those records in your Delta Geodatabase. 

 

Esri Support insight:  If other synchronization methods fail, this is my go-to option for troubleshooting that failure.

 

 

 

This step can be compared to saying “Hello” to start a conversation.

 

 

Step 2:  Import those data changes into the Data Receiver using the Import Messages Wizard.  Since our output in step 1 was a file geodatabase, we will choose to import a delta file geodatabase here.

 

 

This step can be compared to hearing someone say “hello” to you to start a converstaion.

 

 

Step 3:  Export an Acknowledgement Message from the Data Receiver.  This output will be an XML document.

 

 

This step can be compared to saying “hello” back to someone who just greeted you.

 

 

Step 4:  Import that Acknowledgement Message into the Data Sender. 

 

 

This step can be compared to someone hearing your “hello” reply.

 

 

The four steps are needed in order to perform a synchronization in one direction of a single replica.  If you are using a two way replica, and need to send data in both directions, then you will need to repeat these four steps again in the opposite direction.

 

*Use the Advanced tab in the Replica Properties to see the history of your replica geodatabases conversations. 

 

                 Parent geodatabase Replica Properties                             Child geodatabase Replica Properties                                            

 

  • The Current Generation of the Data Sender increases when data changes are exported from the sender geodatabase.
  • From the Data Receiver, The relative replica generation increases when new data changes are imported into the receiver geodatabase.
  • The Last Acknowledged Generation of the Data Sender increases when this geodatabase imports the acknowledgement message

 

 

 

 

For Fun!

*Always check this status from both the parent and the child.

Now that you have completed the disconnected synchronization workflow, let’s look at the statement above. 

  • Can you now think of WHY it is important to check the status from both the parent and the child? 
  • If you see both the parent and the child have the same status, what would you do to reconcile that so that only one geodatabase is the sender, and the other is the receiver?

 

*Use the Advanced tab in the Replica Properties to see the history of your replica geodatabases conversations.

This blog uses images to show the generations of a parent and child geodatabase.  In the images, the generations are "in sync", meaning that the conversation between the two geodatabases is completed...one said hello, and the other said hello back.

  • The generation numbers are 3-3-1 in the parent, and 1-1-3 in the child.   Can you determine how many times the parent has sent data to the child?  Can you determine how many times the child has sent data to the parent?
  • Can you determine what needs to be done if those numbers were 3-2-1 and 1-1-3?

 

 

 

esrisupport

We have all been there.  Your stomach is growling, yet all of your mental energy is focused on fixing the car in front of you going fifty in the fast lane.  When people are hangry (hungry/angry) they may come off irritable and agitated, maybe even point out every little thing that is going wrong, when the issue at hand is as simple as “I am hungry.  Feed me!”. 

Misdiagnosis happens all the time and can translate into many other facets of life, including software issues, but could you diagnose software issues when it seems like your software is being hangry?

The good news is that with some practice, and skills of observation, anyone can categorize software issues like a pro.  This blog will help guide you when encountering software issues.  The intention is to lift the many layers that can complicate issues, so that you may accurately, yet simply state the issue you need help with.

 

Symptoms of software issues are observable by the end user in many forms, such as an error, performance degradation, or a software crash, to name a few.  Hopefully, these interruptions prompt users to call to Esri Support and log a case for investigation.  At Esri Support, our analysts have a specific skillset.  Few of us are generalists, and this structure is designed to provide our customers with elite technical support…in other words, we don’t use scripts. 

Why is this important?  One of the first steps to logging a case with Esri Support is providing a description of the issue, which will be used to form a subject line in the case.  These subject lines can be altered as more knowledge is gained on the issue through investigation, but this initial subject line is big factor in determining which analyst owns the case first. 

 

Determining the overall symptom helps guide the triage process and the lifetime of the case.   Let’s explore these symptoms in more detail.

 

1.  Error: 

Error messages will stop us in our tracks.  Sometimes the messages are very useful, and tell us exactly what we need to know to proceed, sometimes not so much.  When users encounter errors we always request a screenshot of the error and the workflow (clicks) leading up to the error.  For example, “Error: invalid coordinate system identifier” is seen when adding data from an Oracle enterprise geodatabase into ArcMap.

 

2.  Performance degradation:  

Personally, this is the most frustrating issue to encounter.  There is no error; instead, the process is slow, and the spinning hour glass doesn’t tell you when you can expect performance to return.  When performance cases come to my desk, I first gauge the slowness, because “slowness” is a relative term, and something that is slow in one environment may be optimal in another.  The symptom here isn’t just performance, but specifically performance degradation.  In other words, there was a more optimal performance, which has now degraded.

Symptoms of slow performance can be caused by many things including workflows, overloaded resources, and software compatibility to name a few.   To get started troubleshooting it is always helpful to have a comparison case available for investigation.  If you believe you are seeing slowness in software, first ask yourself ‘this is slow compared to what?”  

For example, “using ArcMap 10.1 sp1 to do the same workflow on the same data takes 1 seconds, while using ArcMap 10.5.1 takes 20 seconds”, or “Previewing feature class A in ArcCatalog takes 1 second, while previewing feature class B takes 20 seconds.  Both features are stored in the same enterprise geodatabase”. 

These examples give us a “fast” example and a “slow” example that can be compared to each other.  Notice in these examples that there is only one difference in the workflows, giving us controlled variables and a single dependent variable to review…right, like scientists.

 

3.  Unexpected results:  

This symptom, like performance, will not produce an error, but unlike performance symptoms, these processes will complete, seemingly successful.  However, when the results are analyzed they are incorrect or incomplete.   Unexpected results can also take the form of tools being disabled, or grayed out. 

For example, “I open ArcCatalog to enable Editor Tracking on my feature class, but Enable Editor Tracking is grayed out”, or “I created a replica of my U.S. States feature class, but only 48 of the states were replicated into the child geodatabase”.

Most of the time unexpected results stem from a workflow issue.  Some setting that needed to be turned on for this tool to work was not turned on, or properties/constraints on this data caused the unexpected results.  In the first example above the connection must be made as the data owner to enable Editor Tracking.  Any other user connection will see the Editor Tracker option grayed out.  The second example, where not all data has been replicated, may be due to filters placed on the data being replicated, or relationship classes enforcing database referential integrity.  

 

4.  Crash:

Click, click boom goes the dynamite.  There is no error.  The best you can do is re-open the software and try again.  Esri considers all crashes a bug.  We want our software to give you a meaningful error that will help you complete your work.  Crashes occur when the software encounters an argument that it doesn’t know how to resolve.  Always report crashes to Esri Support so we can ensure our software understands how to handle these situations.

 

Software issues can be complex, can employ multiple technologies that require different levels of expertise on many different subjects.  These issues can be more approachable by answering the question, “What did I observe during my daily work that prompted me to request help”?   While there are always exceptions, 90% of the time I can start answering that question with one, or more, of the symptoms discussed in this blog.   I hope this helps brighten up the perceived darkness around software issues, and as always, give us a call if you encounter any of these issues, or just have questions for us. 

 

esrisupport

As a Support analyst, I take for granted how easy it is to say the words “how can we help you?” But as a software user, I understand answering that question can be difficult.  My expertise lies in the enterprise geodatabase, and even with my near decade of experience, I can still get overwhelmed when discussing other technologies. 

 

Esri Support has taught me enough to fill a novel, so for the sake of your time, here are a few rules of thumb I live by when discussing technical details with customers, management, engineers, and development alike…

  • Write an accurate and detailed, yet succinct description of the issue. 

The subject line on a support case is often the first thing we Support analysts see.  A clear and universally understandable subject line can help your case get assigned to the right analyst the first time, and avoid unnecessary transfers. 

Hint:  Understanding the issue is key.  To help formulate a primo subject line by focusing  on the heart of your issue you can refer to my blog Understanding Software Issues

 

  • Use numbers and bullets to list steps in a workflow.

Paragraphs are great for storytelling, but bullets drive home details. 

Hint:  When reproducing the issue, think of each mouse click as a step in the workflow.  If there are 10 mouse clicks to reproduce the issue, then that workflow will have 10 bullet points.

 

  • Ensure the workflow starts at a point that your audience can relate to. 

The common ground you start on is relative, and can change depending on your and your audience’s combined experience.   

Hint:  If the first step in the workflow is to ‘click on the Manage Replicas button to open the replica manager’, then first make sure your audience knows where and how to find the Manage Replicas button. 

  1. Open ArcMap 10.5.1
  2. Click ‘Customize’ on the menu bar
  3. Expand ‘toolbars’
  4. Click on ‘Distributed Geodatabase’ to open the toolbar
  5. Click on the Manage Replicas tool

 

  • When in doubt about what to call a tool, open the software and call it what the interface calls it. 

For example, the terms ‘layer’ and ‘feature class’ are often used interchangeably in conversation, however, a feature class is data stored in a geodatabase, and a feature layer is a representation of that feature class, usually in-memory and often in a map.   These two items, while they look and act very similarly, will require different background and experience to troubleshoot.

 

  • Refrain from using pronouns, acronyms or industry specific language, unless they have been previously defined for both you and your audience.  Don’t assume that everyone knows what is meant by the “OPI”.  One person’s “Oracle Program Interface” is another person’s “Offensive Pass Interference” is another person’s favorite nail polish.

 

While no one knows everything, we all know something, and if we can clearly communicate ourselves, then combining that knowledge becomes much easier.  Ask questions, ask 20 questions if you must, because each question will help determine the most effective triage path to take (See my awesome colleague’s blog that discusses this method in more detail...  What Would Tech Support Do?). 

 

Esri Support Analysts practice this approach from day one.  I often recall my onsite interview where I was asked to explain to my future manager how to tie her own shoelaces with my back turned to her.  I thought “this will be easy. I can tie shoes with my eyes closed.”.   After about a minute of giving what I considered an award-winning description of how to tie shoelaces, I turned around to see her shoes did not even have laces!  I failed to ask the right questions and find our common ground.  That moment has taught me not to shy away from even the most basic questions, and has turned out to be very valuable when needing to describe technical details in a timely manner to people with wide ranges of technical experience.

 

So, whether you are just getting started, or a GIS guru, give us a call at Esri Support, where our first question will always be “How can we help you?”. 

 

esrisupport

Hello there, and welcome! We've been preparing for this day, and we are almost ready! But before we move all the way in, I would like to introduce you to the new home of the Esri Support Services Blog.

Previously, our blog and several other Esri blogs would post their updates to the blogs.esri.com domain. Now we are moving here to the Esri Community (GeoNet) website, a move that is great for everyone. In the Technical Support group, we'll have more opportunities to engage with you and help further your GIS goals with the ArcGIS Platform. As blog readers, not only will you gain access to a plethora of forum discussion topics, ideas, and community groups involving Esri, GIS, and The Science of Where, but you will be able to participate in all of this content in a single place.

If you are not familiar with our previous blog, then all you have to do is prepare yourself for some new content from the Esri Support team! However, if you were a regular reader, you may want to know what this move means - i.e. accessing previous blog posts, RSS feeds, and the like. The following thread goes into more detail, but here are some highlights:

  • The "official" move date period is early to mid-October 2017.
  • The home page URL for the new site is https://community.esri.com/groups/technical-support/.
  • All links to blogs from our old website will automatically redirect to their new URLs on GeoNet. No need to update your bookmarks or edit your posts - we got you covered.
  • Some blogs were not migrated (e.g., Happy Halloween 2009). If a blog was not migrated, you will be redirected to the Technical Support home page.
  • You do *not* need an account to access this blog, but you will need an account in order to post comments, like posts, etc.

As administrators, we have thoroughly enjoyed developing and growing our blog site over the years, and we hope you will join us on our next voyage within this community.

-Greg and Megan

This blog post is part II of the WWTSD blog series from Esri Support Services. Click here to view the first part in the series: WWTSD (What Would Tech Support Do?) Part I.

Have you ever attempted to run a geoprocessing tool, only to have the tool fail? Perhaps your data fails to publish to ArcGIS Online or draws incorrectly on your map. Maybe you are running a geoprocessing tool only to have it fail with a generic error message. You are using the same workflow you use every day with the same settings and configuration, but you can't seem to find another cause to the problem.

You may be dealing with a data-specific issue. There are a few basic troubleshooting steps that may provide a resolution to this, but it all starts with determining if the issue is truly data-specific. Determining if an Issue Is Data-specific

A quick test to determine if an issue is data-specific is to bring your dataset into a blank map document, map frame, or web map (depending on the environment in which you are working). If the issue does not persist in a new map, then the issue may be specific to the map document. If you experience the same issue in a new map document, the source of the problem may be the data.

Another way to determine if an issue is data-specific is to run the same process with a different dataset similar to the one that you are using. For instance, if using a point shapefile that fails to import into your file geodatabase, run the process on a different point shapefile of a similar size. If the tool or process succeeds on the new dataset, then the issue may be data-specific. Luckily, there are tools available that can help to resolve some of these data-specific issues.

If you find that the problem or error is reproducible with multiple datasets, you may want to investigate some of our additional resources to determine the source of the issue. Feel free to check out more resources from the first post in the WWTSD series (linked above).Possible Data-specific Issues and Their Solutions

A geometry error can be one potential source of a data-specific issue that has a quick fix. ArcGIS applications require that a feature's geometry meets certain standards. Issues can occur if any features have null or incorrect geometry. In ArcMap and ArcGIS Pro, you can determine if your dataset has any geometry errors by running the Check Geometry tool, which generates a table that lists the geometry errors found in the data. If there are errors present in the resulting table, run the Repair Geometry tool to fix the geometry errors present in the data. It is recommended to make a copy of your data prior to running this tool, as the tool may delete records with geometry errors.

If your features appear in a different location on the globe than you would expect, your data may have an issue with your data's projection. You can view the coordinate system of your data by navigating to the properties of the layer. If the data does not have a defined projection, you may need to use the Define Projection tool to assign the correct projection (see the tool documentation here for more information). If your data has been assigned a different projection than the other layers in your map, you may need to use the Project tool (here) to alter the coordinate system of your data. For more information about when to use the Define Projection tool versus the Project tool, take a look at the blog post found here. If you do not know what projection your data should be in, please see the technical article here for more information.

Data can become corrupt for various reasons, including incorrectly copying data or  experiencing connection issues to a network drive. These issues sometimes can be resolved by exporting the data into a different format or location, such as to a different feature class or to a .tif rather than to a .png raster file. If you are working in a file geodatabase, run the Recover File Geodatabase tool, which creates a new file geodatabase with repaired versions of feature classes that the tool identifies as potentially corrupt. Considerations for Raster Datasets

Raster datasets have many parameters and properties and therefore, many sources of data-specific issues. The following by no means addresses all potential issues with raster datasets, but does address a couple common sources of data-specific issues for rasters and troubleshooting steps to address the issues.

Bit-depth is a characteristic of a raster that defines the possible cell values allowed for the dataset (for more information, click here). If the bit-depths of two or more rasters that you are running a geoprocessing operation on do not match, you may run into errors or issues. For instance, if you create a mosaic dataset containing rasters from multiple sources, you may want to confirm that the bit-depths of the rasters are the same. You can determine the bit-depth of a raster by navigating to the raster properties. If you must change the bit-depth of your raster, you can use the Copy Raster tool to manually set the necessary bit-depth and create a new output raster with those parameters.

When adding a raster dataset to a map document or creating a new one, you are given the option to build pyramids that control how the dataset is viewed at different scale levels. If you are unable to view your raster dataset at some scale levels, but not at other levels, the raster pyramids may have become corrupt. Exporting the raster into a different format or deleting and rebuilding pyramids may help resolve this issue. If you would like more information about deleting and rebuilding pyramids, click here.Contact Esri Support

These steps can help to begin narrowing down potential causes to an issue, but they may not resolve every potential problem. If you need additional assistance with diagnosing or resolving an issue, feel free to contact Esri Support. We are happy to assist our customers resolve any technical issue they encounter. When contacting Esri Support, please be prepared to provide the following information so that an analyst can assist you as efficiently as possible.
  • Software version and license level
  • Operating system
  • Device, if using a mobile application
  • Synopsis of the issue
  • Detailed workflow
  • Error message
  • Test data

Krista M. - Desktop Support Analyst
As part of our ongoing commitment to enhance the online support experience for our global user base, we are very pleased to announce the official launch of the Spanish language version of our award-winning Esri Support website.
Main-Page-in-Spanish-Screenshot-300x258.jpg

Main Page in Spanish

http://support.esri.com/es/

Support site localization empowers customers to access important online support resources in their preferred language, such as:
  • Popular technical articles
  • Product lifecycles
  • Support downloads for all products in General Availability
  • The Request Case web form
  • The GIS Dictionary (to be completed by Q3 2017)


You can directly access the Spanish site through http://support.esri.com/es/, or by going to the English version of the site and selecting "Español" from the drop-down menu in the upper-right banner next to the Esri ID Sign In option.
Language-Selection-Screenshot-1024x503.jpg

Language Selection



As you navigate through the site, you may come across content that has not yet been translated. You can submit a translation request for this content by clicking the "Request Translation" button in the green banner at the top of the page or by filling out the site's feedback web form in the page footer.
Request-Translation-Screenshot-1024x547.jpg

Request Translation



Our goal is to provide helpful and instructive content, and we strive to ensure this content maintains a high standard of quality. If you find any problems with the translated content or feel there are potential improvements, please use the "Translation Feedback" option (comentarios sobre la traducción) to send us your feedback.
Translation-Feedback-Screenshot-1024x710.jpg

Translation Feedback



Moving forward, we will translate the site into additional languages including Chinese, French, German, and Arabic.
Megan S. - Online Support Resources
This blog post provides the latest updates regarding deprecated features in the recent release of ArcGIS 10.5.1.

With each release, Esri assesses and adjusts the products and functionality supported in the ArcGIS Platform based on customer needs and technological trends. The purpose of the Deprecated Features for ArcGIS document is to provide as much advanced notice as possible regarding these changes.

For more information on Esri's plans for deprecating features, refer to the following PDF document, Deprecated Features for ArcGIS 10.5.1 (this deprecation plan is also available in the following technical article from the Esri Support Knowledge Base). The documentation linked above provides additional information about each note below, in addition to recommendations of alternative workflows and applications. Information from previous releases (10.4 and 10.5) is also included in the link above.

Here are some of the major changes in ArcGIS 10.5.1:
  • ArcGIS 10.5.1 is the last release to support Visual Studio 2013 for the ArcObjects SDK.
  • In the near future, the cluster functionality in the ArcGIS Server component of ArcGIS Enterprise will be deprecated. Instead, it is recommended to create separate ArcGIS Server sites where multiple clusters would have been used previously.
  • ArcGIS Enterprise 10.5.1 will stop bundling the portalpy module in favor of the ArcGIS API for Python. No further development is planned for this module.
  • ArcGIS 10.5.1 will be the last release to support the PostgreSQL 9.3.x series of releases, DB2 versions 9.7 and 10.1, and the ST_Raster data type for Oracle, SQL Server, and PostgreSQL.
  • ArcGIS 10.5.1 is the last release to support anything other than the Data Store product as a data store for a Hosting Server.

Note: The deprecation of cluster functionality does not affect the ability to create multi-machine sites. ArcGIS Server sites with multiple machines continue to be fully supported.
Gregory L. - Online Support Resources
clipND_image-300x193.pngImagine this: you've been assigned a project where you must find the drive times (at 5 minutes, 10 minutes, and 30 minutes) for 100 different customers and the best routes to deliver supplies to all customers. On top of that, you'll need to do it for many different datasets. The result of each analysis, along with the underlying data used to produce those results, must be sent to the client.

ArcGIS Network Analyst is the best option, but you'll need your own network dataset. So, you reach out to a colleague or friend. They'd be happy to give you a network dataset, but it contains data for a much larger area than needed. While it may work for your analyses, you can't send the client the whole dataset.

A network dataset containing turn features, sign features, and/or traffic data can be difficult to clip. Using a regular Clip operation on the streets can break connectivity between the streets, as well as break the link between the network edges and the turns, signs, and traffic data.

So, the question is how can you clip the network dataset to a manageable size and keep all the connectivity between the streets, turns, signs, and even the traffic data?

There are a few ways to accomplish this, as outlined in this post. Using Extracted Data from the Distributed Geodatabase Toolbar in ArcMap:
  1. From the Distributed Geodatabase toolbar, select Extract Data. ExtractData.png
  2. In the Extract Data Wizard, check the box to 'Show advanced options for overriding data extraction defaults when I click Next'.ExtractDataWizard1.png
  3. Click Next.
  4. Choose the extent of the data to extract to a new geodatabase (when using an extent smaller than the full extent of the network dataset, the network dataset will be clipped to that extent during the extraction).ExtractDataWizard2.png
  5. Choose the feature classes to extract. By default, all feature classes in the map are checked, and the network dataset is one of those layers.
  6. Click Next > Finish.
Using the Consolidate Layer Geoprocessing Tool in ArcMap or ArcGIS Pro:
  1. In the Data Management toolbox, select Package toolset > Consolidate Layer.
  2. Choose the input layers and the output folder. Choosing the network dataset layer (for example, Streets_ND) brings all source layers with it.
  3. Choose the output format.
  4. Choose the extent of the data to extract to a new geodatabase (when using an extent smaller than the full extent of the network dataset, the network dataset will be clipped to that extent during the extraction).ConsolidateLayer.png
Create Mobile Map Packaging Tool in ArcGIS Pro:Note: This is the best option if you plan to use routing in Navigator for ArcGIS.
  1. Choose the input map(s) and the output location.
  2. Optional: Choose an input locator. If you want to use data in Navigator for ArcGIS, you must use an input locator other than the World Geocoding Service or the default XY locator.
  3. Choose the appropriate extent (when using an extent smaller than the full extent of the network dataset, the network dataset will be clipped to that extent during the extraction).
  4. Check the box to Clip Features.CreateMMPK.png

With all methods above, your data will still allow routing and other network analysis, but will now be a much more manageable size for sharing with others.
Rachel A. - Desktop Support Analyst
This blog post is the third in a series of JavaScript debugging tips and tricks to help you on your way. See JavaScript Debugging Tips Part I  and also JavaScript Debugging Tips Part II for our previous segments.

In the past two JavaScript Debugging Tips posts on the Esri Support blog, we looked at the Network Tab and the Console Tab as part of the Google Chrome Developer Tools. While most modern browsers have some form of developer tools, here we use Chrome for our examples.

Our goal for this third blog post in the series is to introduce more advanced tips and tricks to enable you to more effectively debug and troubleshoot your JavaScript code. Specifically, we will focus on three areas: enhanced messaging to the console, better ways to set breakpoints using conditions specified at runtime, and a more efficient way of stepping through breakpoints in the Sources tab with a method called blackboxing.Part 1: Console.table

Console.log is our primary debugging function, but this function's output can be a bit difficult to read (especially when viewing a lot of data). One way to enhance our console log messaging and view data more easily is to display a list of objects as a table, which is accomplished using the console.table function. This function takes one mandatory argument, which must be an array or an object, and one additional optional parameter. Each element in the array is a row in the table.

Let’s take a look at the Console Table sample.

1. Open the Chrome Developer Tools by using shortcut keys (Windows: Control + Shift + I, and Mac: Command + Option + I), or by navigating to the top right-hand pane of the browser, clicking the three grey vertical dots, and choosing “More tools” > “Developer tools”.

2. Select the console tab.

3. Click “Perform Query” in the sample application. This performs a query task to view all counties in Connecticut. The code uses the console.table to print the results in a table as shown below.
console.table_.png

console.table



Every row in the table shows all attributes for a specific county. Next, we use the console.log to compare the console.log and console.table. This function will print a line with an array of objects.
console.log_.png

console.log



Once we expand the array, we can view the objects in a list.
console.log-expanded.png

console.log expanded



To view the attributes, we must expand the objects in the list.
console.log-expanded-with-attributes.png

console.log expanded with attributes

While we can access the attributes of one feature when using console.log, we can view all attributes for all features at once using console.table! The image below shows both functions in the console window.
console.table-console.log_-e1496352191442.png

console.table & console.log

Part 2: Conditional Breakpoints

In JavaScript Debugging Tips Part II, we talked about setting a breakpoint in the Sources tab, refreshing the application, and pausing the application at that line of code. This is a great way to examine your code and how functions are called, and where potential areas of trouble could arise.

However, sometimes we don’t want the breakpoint to be reached every time. Sometimes we only want the breakpoint to be reached if certain conditions are met. While we could write some logic code in the form of a loop to check for values, there is an easier way to do this at runtime.

For example, let’s look at a sample.

1. Open the Edit Features sample and the Chrome Developer Tools.

2. Navigate to the Sources tab, and left-click line 301 to set a breakpoint there.

3. After the breakpoint is set, right-click the breakpoint and select “Edit breakpoint…”.
EditBreakpoint2.png

Edit Breakpoint

Note: We could also get here by first right-clicking line 301 and selecting “Add conditional breakpoint…”.
AddConditionalBreakpoint1.png

Add Conditional Breakpoint



4. Set a condition whereby the breakpoint will be reached only if the user inputs “test” into the “Contact:” field when updating a feature. Here is the code: editFeature.attributes["Incident_Address"] == “test”Note: We do not want to use "=" because this assigns a value and thus always returns true, so we must use "==".
BreakpointExpression1.png

Breakpoint Expression



5. If we input “test” for the “Contact:” and click “Update incident info”, the breakpoint will be reached and the application pauses.
ConditionMet1.png

Condition Met



These conditional breakpoints can be useful for testing when you want to ensure data is sent back to the server correctly, or for error handling when you want the application to pause so you can inspect the object(s) of interest rather than letting your error handling code take over.Part 3: Blackboxing

While setting breakpoints is a great way to make friends and go through your code, this process can occasionally kick you out of the file of interest and into another source file or into a third-party JavaScript library.

For example, let’s look at a sample.

1. Open the Query SceneLayerView sample to follow along (this is similar to the sample found on developers.arcgis.com).

2. Open the Chrome Developer Tools, select the Sources tab, and left-click line 49 to set a breakpoint.

3. Refresh the page so the debugger pauses on line 49. From here, a "Paused in debugger" message appears (next to a "Play" button and a "Step Over" button). See below for a screenshot.
PausedAtLine49.png

Paused At Line 49



4. If you click the "Step Over" button about five times, you exit out of the main .html file and into the init.js file of the ArcGIS API for JavaScript. You can explore the init.js file, but we want to focus on the code that we wrote. Click the "Play" button to get home safely.
DebuggerInInitJSFile.png

Debugger in init.js file



Enter blackboxing to save the day. Blackboxing is a method to exclude files and libraries from the debugger, so that your focus remains on your file(s) of interest. Let’s take a look at how we can blackbox the ArcGIS API for JavaScript library so we can just step through the main file of interest.

1. With the Developer Tools open, click the three vertical dots in the far right-hand pane of the window and select Settings.
Developer-Tool-Settings.png

Developer Tool Settings

Developer-Tool-Settings2.png

Developer Tool Settings



2. On the left-hand side of the window, click “Blackboxing” to open the “Framework Blackbox Patterns”.
Blackboxing.png

Blackboxing



3. Click the “Add pattern…” button, and enter this framework pattern: js.arcgis.com.*\.js
Blackboxing-Pattern.png

Blackboxing Pattern



4. Click “Add” and check the box above the pattern input to “Blackbox content scripts”.

5. Close the Settings window and return to the Sources tab.

6. Refresh the page so the debugger pauses on line 49.

7. If you click the "Step Over" button about five times, you exit out of the main .html file and into the debugger:///VM file (this is an empty function which you can safely ignore, or read more about here), as well as complete one more "Step Over" operation into the application. Now rather than debugging unnecessary, ancillary libraries, you can focus on debugging the code you wrote or are trying to understand.Debug_Blackbox.gif

One last point worth mentioning is that blackboxing applies to the browser, not just to the webpage or web app of interest. After testing completes, feel free to remove the blackboxed pattern(s) to ensure a conventional web browsing experience.

This concludes our blog about advanced tips for using the Google Chrome Developer Tools with examples from the ArcGIS API for JavaScript. We hope you found the above tips useful and entertaining. For more information about debugging tips with JavaScript applications, here are a couple additional resources from the past several years:Additional Resources
Join us next time as we continue to delve ever deeper into Developer Tools and learn some valuable lessons. Happy debugging!</span>

Artemis F. and Noah S. - Esri SDK Support
Whether you are a new user or a power user of Survey123 for ArcGIS, you know it is an extremely useful and powerful tool for collecting data in a form-based environment. In typical workflows, Survey123 for ArcGIS is used to store a spatial component of your data. In this post, I'll provide a brief introduction for using calculations in Survey123 for ArcGIS to convert decimal degrees (DD) to degrees-minutes-seconds (DMS) and extend the application to better fit all survey requirements.

When we create our surveys in Survey123 Connect, the desktop application, we have the option to choose the display format of the coordinate. We can do this for both the preview map and the detailed map. However, this is solely a display functionality because the data is saved to ArcGIS Online. The default coordinate system for services published by Survey123 isDMS-300x75.jpg WGS 1984 Web Mercator, meaning all data is saved in DD regardless of how it appears in our map viewer. While DD may look nice and evenly spaced online, we in the GIS world know that this doesn’t always meet every need.

There is no way to change our coordinate system of the data in ArcGIS Online hosted feature services, and the the pulldata(''@geopoint'') function will only capture DD. However, we can take full advantage of the Survey123 for ArcGIS's calculation fields to determine both DMS and decimal minutes (DDM) coordinates for our data. Since we determine DDM and DMS values in our survey, we can create this information on-the-fly and save it into the form response. While this process doesn’t change the coordinate format, you can save valuable time should you need this information.

As these calculations can be quite complex, here's a sample survey that does everything for you! Copy and paste the sections you need to add DDM or DMS values to your survey. On your survey form, a new field depicting the value you want appears. Due to how the application is making these calculations, all our in-between steps appear in the data. Happy survey-ing!Survey-1024x478.jpg
Andy S. - Desktop Support Analyst
Nobody likes to talk about it, but sometimes computers can crash.  Yup, the entire thing just fails and nothing at all can be recovered (if you haven’t backed up your data, go do it now!) Or what if your laptop is stolen, or you flipped your kayak and your machine sank to the bottom of Lake Superior?  You just don’t have it anymore and there is absolutely nothing you can do to get it back. When these types of things happen, any Esri licenses that were authorized on the machine may be lost, too.

In the past, an authorized maintenance contact had to call Esri Technical Support to submit a license appeal and recover the lost licenses.  Now, this functionality is built in to My Esri, empowering your organization with self-service functionality and enabling you to get back up and running quickly.

I wanted to make sure that our customers are aware of this great new functionality and walk through how you’d go about getting your licenses back in the event of a catastrophic failure or loss as described above – though I really hope that never happens.

To perform the following steps, you will either need “Esri Admin” permission or the “Take Licensing Actions” permission. Sensitive information such as machine IDs, license numbers, and other personal information have been replaced with asterisks in the following screenshots.

First, log in to My Esri and click the My Organizations tab.


Please note that I’m demonstrating the steps in a QA environment and that your experience won’t include the green QA…MyOrganizationTab.png

Click the Licensing tab.

LicensingOverview.png

This will bring up the Licensing Overview page and if you have the correct permissions, you should see the Recover Lost Licenses option both in the Licensing panel as well as a card.

Next, click Recover Lost Licenses.


The Recover Lost Licenses screen explains that this is a process to retrieve licenses from a machine that is no longer accessible due to system failure, system loss, or destruction. The License Recovery process requires the signature of the organization’s License Administrator in a Certificate of Destruction. This process is irreversible and should only be used as the absolute last option when all other solutions to rectify the problem have failed.

An example of when you would not use the Recover Lost Licenses option is if you can still access the machine and deauthorize the licenses normally. The instructions provided describe how to perform standard license deauthorization:
Once you’ve determined that it really isn’t feasible to scuba dive to the bottom of Lake Superior to recover your machine (and hence, its licenses), follow the steps outlined below to complete the recovery.

Step 1: Find Your Machine


To proceed with license recovery, select how you would like to find the machine. There is an option to search by products on the machine or use the machine’s UMN IDs if you know those.FindYourMachine.png

Step 2

Option A: Search for machine by product


Search for the machine by populating the dropdown boxes.SearchForMachine.png

Click Search.

We see that the search for ArcGIS Desktop Advanced Concurrent Use licenses for this organization returns five machines.SearchResults2.png

Selecting the machine from which the licenses need to be recovered will take you to Step 3.

Option B: Select Machine using the UMN

SelectMachine1.png

Enter the UMN for the machine and click Search.  Since the UMN by definition is associated with a single machine, you should get only one result in this case, as opposed to searching for a machine by product.SearchbyUMNresults1.png

Click Select to take you to Step 3.

Step 3: Review Selected Machine


This step will show you a list of products our records show were activated for the selected machine.ReviewSelectedMachine1.png

After reviewing the selected machine, you have the option to go back if this is not the correct machine or proceed with the license recovery process.

Step 4: Accept Terms and Conditions


Review and agree to the terms and conditions, and click Next.TermsAndConditions.png

Step 5: Summary to process License Return


This step gives you another opportunity to fully review the selected licenses to return. If the selection is correct, click the “Process Return” button near the bottom of the page.SummaryToProcessReturn1.png

You’ll receive a confirmation screen showing the status of each license return.ReturnedSuccessfully1.png

And that’s it.  You are now able to authorize these licenses on a new, dry machine!

In the event that not all licenses are returned successfully, you will be presented with a summary of which licenses were returned and which were not. These should be exceptions; not the norm. In these cases, please work with Esri Customer Service or your local distributor to finalize the recovery process.
Kory K. - Customer Advocacy Lead
Web AppBuilder for ArcGIS (Developer Edition) version 2.4 supports a Report class with which you can print a file with a map, tables, and other supporting elements.

Check out the ArcGIS blog post, Creating a Custom Widget for Web AppBuilder for ArcGIS using the Report Class, that describes how you can extend the Report class to create your own custom widget to use in Web AppBuilder for ArcGIS (Developer Edition).
Artemis F. - Technology Lead, SDK
As always, Esri Support aims to make your time with us as simple and pleasant as possible. We are constantly reviewing the ways we interact with you and making improvements so that you receive the best possible support from our highly qualified team of analysts.

Starting on April 3rd, we are deprecating the support@esri.com email address as a method for creating an Esri Support ticket. Instead, we request that all Email and Chat cases be created through the Support website.

Many customers already use the website to request new cases. Clicking the "Request Case" link on the Support site prompts you to sign in and then opens the Request Case web form. You can use this web form to describe the issue you are facing and the Esri software product you are using. By using the preformatted web form, rather than an email, we can quickly route your case to a specialized Support Analyst who can begin helping you right away.

Support cases can also be opened from the Support page on My Esri. This means that all Support resources will be in one place - the creation, tracking, and history of case work all occurs through My Esri. When a case is requested through the web form, the process of creating the case and routing it to the right analyst is optimized and streamlined, so customers will be connected faster than they would if emailing directly.Myesri_screen1.png

We're very excited for the changes and updates being made to our Support website, and we're looking forward to providing even better support as a result!
Melissa Q. & Joseph M. - Support Services

Filter Blog

By date: By tag: