Hi - I'm wondering if anyone has come across this scenario before when trying to register new Customdata Providers.
I loaded my CDPK file to ArcGIS Server admin directory, now I'm trying to register my Customdata provider and I'm being blocked by this error:
Unable to rename old path 'C:\Users\arcgis\AppData\Local\Temp\xxxxxx3104529350312973065149899762102600' to new path 'D:\Program Files\ArcGIS\Server\framework\runtime\customdata\providers\xyzxyz'. |
I confirmed that our ArcGIS Server service account has full control over the providers folder here: Program Files\ArcGIS\Server\framework\runtime\customdata\providers. This error started after our upgrade from 11.1 to 11.5. I also get this same error when trying to register through ArcGIS Server Manager. I've tried this with a few different CDPK files and rebuilt a few Customdata Providers for 11.5 but no luck so far.
Hey @AJohnson_HFHI,
Have you checked the "Path on server" that your uploaded item has?
Were you able to do this on the 11.1 deployment prior to upgrade?
Regards,
Glen
Hi @GlenterpriseUK Yes I can, utilizing the same Item ID shown on that screen when trying to register. Also yes, no issues when performing this on 11.1.
Hi @AJohnson_HFHI,
I was actually asking about your "Path on server" for the CDPK that you have uploaded is it on 'C:\arcgisserver\directories\xxxxxx or is the path' showing 'C:\Users\arcgis\AppData\Local\Temp\xxxxxx3104529350312973065149899762102600'
Regards,
Glen
I understand sorry, my path on server is: D:\arcgisserver\directories\arcgissystem\arcgisuploads\admin\xyzxyzx, similar to your screenshot.
I see your other message and yes, now I am utilizing Service Parameters instead of Host and ID.
The other thing that I'm noticing now is that, although it's giving the same message about unable to rename folder, it does show the item as a Registered Customdata Provider when I refresh the browser. However, at this location, the providers folder is still empty: D:\Program Files\ArcGIS\Server\framework\runtime\customdata\providers
Hey @AJohnson_HFHI,
Have you checked the SDK documentation for this https://developers.arcgis.com/enterprise-sdk/guide/custom-data-feeds/build-a-custom-data-package-fil....
Be aware that hosts and id are deprecated in ArcGIS Enterprise 11.5. serviceParameters should be used instead.
Regards,
Glen
Is there any further explanation on how to resolve this issue? I'm trying to deploy one of the github examples to a 11.5 server and I'm running into the folder path renaming error.
@AJohnson_HFHI I am hitting this issue on two separate ArcGIS Enterprise 11.5 instances using custom data feed built for 11.3 but is working within the 11.3 environment.
I did try to place the required files in the target directory but I then hit other issues that I cannot yet prove are not caused by this issue. I would suggest that you raise a support case with Esri.
Thanks
Dave
Thanks @DaveBarrett1034, I submitted a new case to support today and will update this feed when I learn more information.
#03993385
@DaveBarrett1034 @SJehle3 @GlenterpriseUK
Still working with Support on this but it appears that it may be due to us not having ArcGIS Server installed on the C drive on our server. Testing has showed that if ArcGIS Server is not installed on the C drive (including content store) then this error is reproducible. In our deployment, we installed everything on a separate disk (D drive).