|
POST
|
Thanks for the clarification Tim. Hopefully when I implement your instructions it will work in the Flex App. I believe I need to create a virtual directory to direct the web application to on that server.
... View more
09-09-2013
09:52 AM
|
0
|
0
|
1140
|
|
POST
|
Tim: What do you mean by local data? Do you mean local to a client machine that is calling the web application through a URL? Or do you mean local data to the server where ArcGIS Server is installed and running the web application?
... View more
09-09-2013
09:10 AM
|
0
|
0
|
1140
|
|
POST
|
Tim: Have you ever tried this with an ArcGIS Server feature service that can be edited through a web application such as a FlexViewer application?
... View more
09-09-2013
08:30 AM
|
0
|
0
|
1140
|
|
POST
|
Is this table being used in a web application, where you would be hyperlinking to the file after it has been added to the table?
... View more
09-09-2013
07:07 AM
|
0
|
0
|
1140
|
|
POST
|
"Check to make sure that the ArcGIS Server (AGS) Account is able to access c:\arcgisserver." That is if you went with the default configuration. If you pointed ArcGIS Server to use another drive such as an E-drive, then you want to make sure AGS has access to that location.
... View more
09-03-2013
11:04 AM
|
0
|
0
|
1982
|
|
POST
|
Do you know what the geoprocessing is failing on? Maybe you can add some messages to see where the script is running to.
... View more
09-03-2013
10:06 AM
|
0
|
0
|
1058
|
|
POST
|
Is this something that ESRI might consider adding as out-of-the-box functionality in a future release?
... View more
09-03-2013
09:34 AM
|
1
|
0
|
830
|
|
POST
|
Richard: You are running out of memory after only getting through a portion of the 275 lyr files? Are you running on a desktop computer or a server that has more resources? I would suggest running the script on a server, if you access to one, as that is where I am running my script to get as large a batches as possible. The job of converting layers in mxds is a much bigger job than converting lyr files (approximately 150 times bigger for me as I need to convert over 50,000 connections), so I would think you would want to be able to process much larger batches than you can currently process. I have opened incident(s) with ESRI in regards to the memory issue, but their answer after internal investigation was always to break the job down into smaller batches.
... View more
09-03-2013
08:54 AM
|
0
|
0
|
2296
|
|
POST
|
Tracy: Do you have multiple SDE environments to perform your testing in (e.g. development, test, production) or are you just working in a production environment? If you are just working in a production SDE environment, the problems you are encountering highlight the need for at least 1 other environment to perform your testing in so you have an SOP that you are highly confident with before upgrading your production environment. If budget is a concern, you can show how not having an additional SDE environment eats up person-hours and could impact production workflows for essential operations if they are tied to the SDE database.
... View more
09-03-2013
08:12 AM
|
0
|
0
|
1227
|
|
POST
|
Craig: I believe you need to convert the VB Expression to a python expression to support ArcGIS Server services. There should be plenty of help to assist you in the python format, but if you can not locate help I'll try to dig up some sample syntax for you.
... View more
09-03-2013
07:14 AM
|
0
|
0
|
2508
|
|
POST
|
Both of these posts are very helpful, as I can now determine exactly which process is running under each PID (Process Identifier) in a Windows 2008 Server environment. I believe SDE exposed the PID, but in the past it was difficult if not impossible to determine which ArcGIS Server service was associated with a specific PID.
... View more
09-03-2013
05:37 AM
|
0
|
0
|
4318
|
|
POST
|
Try using lyrFile.saveACopy instead of lyrFile.save This is the syntax for my python code that works. It has been a long time since I wrote this code and I forget why I am using saveACopy instead of save (There might have been a bug). What version of Arc are you using as I am at v10.0?
... View more
08-30-2013
12:16 PM
|
0
|
0
|
2296
|
|
POST
|
Richard: Is the statement NewDataSource = 'J:\\SDEConnections\\dbx\\GISuser-' + servProp.get('Database', 'N/A') + '.sde' supposed to represent a database connection that you have already created for your new GIS server? My issue is different from yours where I am connecting to an Oracle database. The database was originally at Oracle 10g, but we upgraded the Oracle database to 11g but did not upgrade the desktop clients so we were connecting to an 11g Oracle database with 10g Oracle client connections. Everything works, but we want to move to an ESRI supported environment where the Oracle client is at the same version as the database. Originally I was going to create the SDE connections beforehand (there would be about 150 different connections to development, test and production SDE databases), but I found it was easier to create the new SDE 11g connections on the fly.
... View more
08-30-2013
12:00 PM
|
0
|
0
|
2296
|
|
POST
|
What does this call servProp.get('Database', 'N/A') return? Can you psot this info to the thread?
... View more
08-30-2013
11:51 AM
|
0
|
0
|
2296
|
|
POST
|
Richard: Are you able to update the datasource for any lyr files? What kind of machine are you running this script on? I am resourcing both lyr files and SDE connections inside 1000s of mxds. I was also encountering memory usage which kept increasing and eventually halted my script. I am now running the script on a Windows 2008 Server server and I am able to get through batches with 2000 files. Can you create a print statement for your NewDataSource to see if it is getting the correct value to be added to the lyr.replaceDataSource statement?
... View more
08-30-2013
10:41 AM
|
0
|
0
|
2296
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-18-2024 01:45 PM | |
| 1 | 08-19-2024 10:38 AM | |
| 1 | a month ago | |
| 1 | 02-23-2026 05:32 PM | |
| 2 | 02-11-2026 10:42 AM |
| Online Status |
Online
|
| Date Last Visited |
6 hours ago
|