Access Secured Services Bug in 3.0
We've got ArcGIS Server 10 with SQL Authentication (pretty standard stuff) and I go to "Access Secured Services" and I get an error. "There was an error connecting to the host "http://myServer/arcgis/rest/services" with the credentials provided. Underlying error message: The remote name could not be resolved: "http"". myServer is the only bit I changed. I'm not typing the password incorrectly or anything like that.... I also didn't have a very good experience the first time I ran the Add Site (looked like some css or some such wasn't there). There is a bit of external web access going on (to arcgisonline??) when running the wizard??. Our server is not connected to the internet easily. Can I have an answer whether this a bug? Should I go to support?
0
-
Hello, If I understand correctly, you are connecting to locally hosted, secured ArcGIS Server map service using the fully qualified URL to the services directory as in (http://myserver/arcgis/rest/services) http://myServer/arcgis/rest/services . Have you tried specifying just the host name, as in "myServer", or the IP address instead of the fully qualified service URL. Also, is your server secured with SSL? If so, you might want to try using https instead of http.
Can you reproduce the error, and find an associated log message within the logs written by REST Manager? In a default installation, logs are found in c:\inetpub\wwwroot\Geocortex\Essentials\RestManager\App_Data\Logs\. Internet access is only required by the Add Map Service wizard when selecting an external ArcGIS Server map service (such as those hosted on ArcGIS Online). Have you been able to reproduce the styling inconsistencies you experienced the first time you ran the add site wizard, or does that appear to have been an anomaly? Thank you for providing these additional details - they will help us diagnose your situation. Drew.0 -
I am having problems adding a new site or adding a new map service to a new site. in Essentials 3.0 Rest Manager.. I suspect perhaps it is that my ArcGIS Server instance is under 'arcserver' instead of the default 'arcgis' that perhaps something is hard coded somewhere (ie. http://myhost/arcserver/services gives me a blank pop-up window after giving me the list of services there and I select one) If I chose server name, instead of the HTTP URL, I get the error "The host 'http://myhost/ArcGIS/rest/services' does not appear to reference a valid ArcGIS Server instance. Underlying error: The remote server returned an error: (404) Not Found." -
Event Timestamp="2010-08-10T13:32:29.5056477-07:00" Level="ERROR" Identity="mdadmin">Message>Error occured in action 'Index' of controller 'MapServiceWizard': Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'. Source: System.Web Message: Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'. Stack Trace: at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage) at System.Web.HttpServerUtility.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.HttpServerUtilityWrapper.Execute(IHttpHandler handler, TextWriter writer, Boolean preserveForm) at System.Web.Mvc.ViewPage.RenderView(ViewContext viewContext) at System.Web.Mvc.ViewUserControl.RenderViewAndRestoreContentType(ViewPage containerPage, ViewContext viewContext) at System.Web.Mvc.ViewUserControl.RenderView(ViewContext viewContext) at System.Web.Mvc.WebFormView.RenderViewUserControl(ViewContext context, ViewUserControl control) at System.Web.Mvc.WebFormView.Render(ViewContext viewContext, TextWriter writer) at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.b__11() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.b__13() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.b__13() at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)0 -
Hi Michelle, Because most people will likely choose the default IIS virtual directory "arcgis" when installing ArcGIS Server, we chose to allow administrators to enter just the server's name or IP address as a shortcut, rather than forcing them to type out the full URL to the map service. What that means is, if ArcGIS Server is installed at the default virtual directory path, you can simply enter "myhost" to get a list of all map services at http://myhost/arcgis/rest/services. But if ArcGIS Server is not at the default virtual directory path, you need to specify the full URL; in your example, that would be http://myhost/arcserver/rest/services (don't forget the "rest" bit of the URL). Regards, Joel Andrews Software Developer Latitude Geographics Group Ltd. 0 -
I also have the problem of not being able to access any secured mapservice of arcgis from the RESTmanager. It is the same error as topic starter. So i provide my details below.
My systemproperties:
ArcGIS 10
secured mapservices using sqlmember
mapservices with access for some roles
mapservices with free access
geoprocessingservices with acces for some roles
requireSSL = False in all web.config of arcgis
Geocortex essentials 3.3
Working situation:
arcgis/tokens/?request=gettoken&........ delivers valid tokens.
With token, I can access mapservices, get images. With token, i can start geoprocessing.
Now I want to access the mapservices from Geocortex 3.3, but Restmanager returns error when putting in username/password
1 ) Add mapservice
2) Type = arcgis server
3) Mapserver: = http://myserver/Arcgis/rest/services (http !)
4) It shows me the free available mapservices
5) Access Secured Services
6) Username/password--> OK
7) Error: There was an error connecting to the host 'http://gm21940/ArcGIS/rest/services/' with the credentials provided. Underlying error message: External hostname could not be resolved: 'http'
In the logs of REST and RESTmanager nothing is shown.
Secondly I access the mapservice with local connection:
1 ) Add mapservice
2) Type = arcgis server
3) Mapserver: = myserver
4) It shows me the free available mapservices
5) Access Secured Services
6) Username/password--> OK
7) Error: There was an error connecting to the host 'gm21940' with the credentials provided. Underlying error message: The underlying connection is closed: An unexpected error occurred.
(translated from dutch: De onderliggende verbinding is gesloten: Bij verzending is een onverwachte fout opgetreden.
It still gives error, but error is different. When i use: myserver.domain.net it gives same error. When using http://myserver.domain.net/arcgis/rest/services/ it gives same error as first sequence.
Can anyone give clues on what to do? Many thanks in advance. Gerben Tiemens Grontmij Netherlands0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
4 commentaires