Hoppa till huvudinnehållet

Workflow to Report ERROR "target machine actively refused it"

Kommentarer

4 kommentarer

  • Permanently deleted user
    OK so I played around a bit, added a blank iCredential type (because I have no idea of the format) and put an alert after the export map to show me what's inside the Result URL variable after the ExportMap activity.  I copy/pasted that URL into a new tab and voila! There was my image of the map.  However that somehow ends up blank in just the next activity to DownloadImage....  

     

    Does this somehow have to do with the iCredential variable type?  Somehow it can't download that image.  I got more details of the error in the simulator below:

     

    _img_ alt="Simulator error" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907600000000Rng&feoid=Body&refid=0EM60000000DGnE" _/_img_
    0
  • Permanently deleted user
    found the ICredentials I think...  It seems to like this format in the variable: New NetworkCredential(SecurelyStoredUserName,SecurelyStoredPassword,SecurelyStoredDomain )

     

    However, whether I put in my admin password I use for the manager, or one of the users of the map itself, I still get the same error.  

     

    Anybody know what to do for this???

     

     
    0
  • Permanently deleted user
    To solve my own question... Wit the help of the awesome tech support!

     

    The download map image activity is using the reverse proxy URL that is set for the site.  When that happens, it is using an external URL and the server sees that as an outside ip address.  Because of this, the server will never be willing to download anything from the outside even though it is itself because it doesn't know that it is itself.

     

    To fix that, I used an Assign activity to replace the first part of the exported image URL with an internal address. 

     

    To get the map image into the report, I had to create a new column in the datatable using the activity AddDataTableColumn of type Byte and called it the same name as my image variable "MapImage".  

     

    Then later on in my workflow, I insert it into the datatable with the assign activity dataSet1.Tables(0).Rows(0)("MapImage") = MapImage.GetBytes.

     

    Then I use another assign to assign MapImage = nothing

     

    Kind of weird but it works!  It had nothing to do with security and everything to do with the external address.

     

     
    0
  • Permanently deleted user
    Jacqueline, what did the string look like when you performed "To fix that, I used an Assign activity to replace the first part of the exported image URL with an internal address"?

     

    I think I see what you are getting at and that could help solve a very similar problem I am having.  For example, I have "mapImageURL" variable as the 'Result Url" in the 'ExportMap' activity.  Then, do I add just prior to the 'DownloadImage' activity the 'Assign' activity? If so, would it look something like this: mapImageURL=?? <-- what goes here?

     

     
    0

Du måste logga in om du vill lämna en kommentar.