Zum Hauptinhalt gehen

Workflow on a ARCGIS service with security

Kommentare

4 Kommentare

  • Permanently deleted user

    It might be the following Bug, which have been solved with the release of Geocortex Essentials 3.5, as I see it.

    GE-1497: Unable to query a secured ArcGIS service in a workflow.

    - Sune

    0
  • Permanently deleted user

    There might be a more detailed error in the log file. It should be located somewhere like this:

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\REST\App_Data\Logs

    Check the system log file.

    Cheers,

    Christian.

    0
  • Permanently deleted user

    I should have mentioned that we are currently running Geocortex Essentials 3.5 and Silverlight viewer 1.3, sorry. I looked into the log file and have copied it into this post. It appears that it is a permissions error. Is there a way to pass permission in workflow? 

    Many Thanks,

    <Event Timestamp="2011-10-11T08:46:05.765431-04:00" Level="ERROR" Identity="Guest"><Message>Workflow 'Find_address' failed. Cause: Geocortex.Workflow.WorkflowException: Aborted exception: 'Unauthorized access'. ---&gt; ESRI.ArcGIS.Client.Tasks.ServiceException: Unauthorized access

     

       at Geocortex.Workflow.Activities.QueryTask.Execute(NativeActivityContext context)

     

       at System.Activities.NativeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)

     

       at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

     

       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

     

       --- End of inner exception stack trace ---</Message></Event>

     

    <Event Timestamp="2011-10-11T08:46:05.8034332-04:00" Level="ERROR" Identity="Guest"><Message>Error occured during REST request: Workflow 'Find_address' failed</Message></Event>
    0
  • Ryan Cooney

    The error you are seeing is a result of connecting to a secured ArcGIS Server endpoint. The fix mentioned for GE-1497 was to support Token and ProxyURL arguments on the QueryTask and other ArcGIS Server activities (these will allow you to connect to secured services). In your workflow you will need to provide a long-lived token or specify a proxy page that will handle authentication.

    We are working on a GenerateToken activity that will allow you to create tokens on the fly. This will probably be available later this year.

    --Ryan

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.