import arcpy arcpy.env.workspace=r"<path to our sde-connection-file>" arcpy.ListDatasets()
Fehler beim Generieren des Aktivierungskontextes für "C:\Program Files\Common Files\ArcGIS\bin\de\ResArcGISFileHelperLib.dll". Die abhängige Assemblierung "Microsoft.VC90.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"" konnte nicht gefunden werden. Verwenden Sie für eine detaillierte Diagnose das Programm "sxstrace.exe".
Hello, I solved the problem following these steps:1) installing both the 64 and 32 bit version of the oracle client2) placing the 64 bit path before the 32 bit path in the path system variable3) creating a system variable TNS_ADMIN that points to the folder containing the tnsnames.ora file.Finally I had to restart the ArcGIS Server process.Ale
This was bothering me for hours today, but I finally solved it because of your post!
I was getting the error "TNS:listener was not given the SERVICE_NAME in CONNECT_DATA No extended error" because Oracle wasn't being pointed at the proper tnsnames.ora file.
What fixed this for me was step 3 of your answer:
3) creating a system variable TNS_ADMIN that points to the folder containing the tnsnames.ora file. From the Environmental Variables window, click New under the System variables section. Variable Name = TNS_ADMIN Variable value = The directory location of your tnsnames.ora file
Thanks for posting this!
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.