Comments (4)
@shailesh91
Unfortunately it does not work.
on the one hand it might get the token twice or at least the log-file indicates so.
on the other Hand, even if the test is correct it goes to set the Directory again.
Please see the logfile:
[1060-303]: LCM: [ Start Test ] [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Fully Qualified Domain Name :- 1060-303.gis.lab
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] POST http://1060-303.gis.lab:6080/arcgis/admin/system/directories with 78-byte payload
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] received 3897-byte response of content type text/plain;charset=UTF-8
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Testing for Directory basemapcache
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Directory basemapcache already registered
[1060-303]: LCM: [ End Test ] [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] in 1.4190 seconds.
[1060-303]: LCM: [ Start Set ] [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Fully Qualified Domain Name :- 1060-303.gis.lab
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Waiting for Server 'http://1060-303.gis.lab:6080/arcgis/admin' to initialize
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Getting the Token for site 'http://1060-303.gis.lab:6080'
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] POST http://1060-303.gis.lab:6080/arcgis/admin/system/directories with 78-byte payload
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] received 3897-byte response of content type text/plain;charset=UTF-8
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Testing for Directory basemapcache
[1060-303]: [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] Directory basemapcache already registered > no Action required
[1060-303]: LCM: [ End Set ] [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories] in 2.9570 seconds.
[1060-303]: LCM: [ End Resource ] [[ArcGIS_Server_RegisterDirectories]Server1060-303.gis.labRegisterDirectories]
from arcgis-powershell-dsc.
@spitzerr Getting the token twice is it just printing it twice. Nothing more. I have found the result variable was not initialized correctly.
from arcgis-powershell-dsc.
Fixed #70
from arcgis-powershell-dsc.
@shailesh91 Works perfectly. Thanks
from arcgis-powershell-dsc.
Related Issues (20)
- Unable to find the Variable definitions in Wiki page or PublishGISService.json HOT 1
- Issues Installing ArcGIS Pro HOT 1
- ArcGIS Pro Single Use license not authorizing HOT 2
- ArcGIS Pro Single Use Ignoring DotnetDesktopRuntimePath HOT 5
- Error installing Portal 11.1 with gMSA service account HOT 3
- SAML Azure AD HOT 3
- Download and install all available patches 10.9.1 HOT 1
- Base Deployment Multi-Machine Install Issue HOT 3
- Cannot convert value
- Webadaptor 11.1 patch installation failed HOT 2
- Request: provide installer extraction path option HOT 1
- Request: Publish GIS services with Portal Item ID
- Wiki: License Manager
- Request: Provide an option to delete any downloaded files
- Request: Skip Patch download errors
- Update Wiki: Use own Load Balancer instead of Web Adaptor HOT 1
- 11.1 Portal upgrade failure
- LicensePassword and LicensePasswordFilePath are not supported/implemented for ArcGIS Pro HOT 1
- DSC 4.1.0 - Missing .NET Desktop Runtime 6.0 (x64) for ArcGIS Server 11.1 - SOE/SOI .NET support
- IWA login prompt when anonym. auth is disabled in IIS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arcgis-powershell-dsc.