|
POST
|
Changing the type of thread in the source code from STAThread to MTAthread worked. http://support.microsoft.com/kb/828988
... View more
06-14-2013
05:50 AM
|
0
|
0
|
2250
|
|
POST
|
http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000002ns000000
... View more
06-13-2013
03:04 PM
|
0
|
0
|
2250
|
|
POST
|
Hi all It looks like this code does not work in 10.1, at least it does nto close the console window when running a program created withVS 21010, ArcGIS 10.1 and .Net 3.5. [C#]
namespace ConsoleApplication1
{
class Program
{
[STAThread]
static void Main(string[] args)
{
// ...
}
}
}
... View more
06-13-2013
02:59 PM
|
0
|
0
|
2250
|
|
POST
|
Hi all I wrote a Desktop Console Application in 9.3 and it works fine. Then I upgraded to 10.0 and it works fine too. I copied the application to a Windows server 2008R2 with ArcGIS 10.1 recompiled, etc, and now I have a problem when I run the .exe alone, the Console Window does not close, it stays open. I am using VS 2010 VB.NEt and if I run the application from VS 2010 IDE it works fine, but running it as a stand alone program the Console Window does not close. I am checking the code and commenting the following line: pFeatureClass = gputilities.OpenFeatureClassFromString(pathOutput) the stand alone program works fine. Anyone with a similar problem 'ESRI License Initializer generated code.
If (Not m_AOLicenseInitializer.InitializeApplication(New esriLicenseProductCode() {esriLicenseProductCode.esriLicenseProductCodeAdvanced}, _
New esriLicenseExtensionCode() {})) Then
Console.WriteLine(m_AOLicenseInitializer.LicenseMessage())
Console.WriteLine("This application could not initialize with the correct ArcGIS license and will shutdown.")
m_AOLicenseInitializer.ShutdownApplication()
Return
End If
'
' Initialize the Geoprocessor
'
GP = New ESRI.ArcGIS.Geoprocessing.GeoProcessor()
gputilities = New GPUtilitiesClass()
'
' Read App settings
'
prefixOutput = System.Configuration.ConfigurationManager.AppSettings.Item("prefixOutput")
prefixOutputOwner = System.Configuration.ConfigurationManager.AppSettings.Item("prefixOutputOwner")
outputFC = System.Configuration.ConfigurationManager.AppSettings.Item("outputFC")
' FFeature class
pathOutput = prefixOutput & prefixOutputOwner & outputFC
'
' create points
'
Console.WriteLine("Start")
Try
' pathOutput = SDE Feature Class where the program creates points
pFeatureClass = gputilities.OpenFeatureClassFromString(pathOutput)
Console.WriteLine("Create Points")
' CreatePoints()
pFeatureClass = Nothing
Catch ex As Exception
End Try
m_AOLicenseInitializer.ShutdownApplication()
Console.WriteLine("End")
[ATTACH=CONFIG]25192[/ATTACH]
... View more
06-11-2013
05:01 AM
|
0
|
8
|
4709
|
|
POST
|
It is a bug: http://connect.microsoft.com/VisualStudio/feedback/details/570166/visual-studio-2010-keeps-enabling-client-application-services-for-my-project
... View more
06-07-2013
09:45 AM
|
0
|
0
|
605
|
|
POST
|
Hi all I migrated an application form 9.3 to 10 and now to 10.1. In 10.1 the application runs but it does not close the console window. Unchecking the option "Enable Client Applications Windows" works but when I close the project and I reopen it the open is checked. Any ideas in how to fix this problem?
... View more
06-07-2013
09:29 AM
|
0
|
3
|
1008
|
|
POST
|
The error is caused by an Invalid Grid Size. To fix it I copied the feature dataset to a file geodatabase, opened all the features with ArcCatalog inside the feature dataset and recalculated the spatial index . Then the copy/paste from the FGDB to ArcSDE 10 worked. [ATTACH=CONFIG]24207[/ATTACH] Hi all when copying a feature dataset from one ArcSDE Geodatabase in 9.3 to another ArcSDe geodatabase in 10.0 I get the following error message: ERROR 000260: Failed to copy [..... Network into ... Network Underlying DBMS error [Error executing PL/SQL Block db_stgeom_create_index::ORA-29855: se ha producido un error en la ejecución de la rutina ODCIINDEXCREATE ORA-20086: Error, Invalid Grid Size: 2nd and 3rd sizes must be at least 3 times larger than previous grid size.] The index passed was not within the valid range. Failed to execute (Copy). any ideas in how to fix that?
... View more
05-10-2013
10:58 AM
|
0
|
0
|
14925
|
|
POST
|
http://support.esri.com/es/knowledgebase/techarticles/detail/31607 http://forums.esri.com/Thread.asp?c=2&f=59&t=186592
... View more
05-10-2013
04:16 AM
|
0
|
0
|
14925
|
|
POST
|
Hi all when copying a feature dataset from one ArcSDE Geodatabase in 9.3 to another ArcSDe geodatabase in 10.0 I get the following error message: ERROR 000260: Failed to copy [..... Network into ... Network Underlying DBMS error [Error executing PL/SQL Block db_stgeom_create_index::ORA-29855: se ha producido un error en la ejecución de la rutina ODCIINDEXCREATE ORA-20086: Error, Invalid Grid Size: 2nd and 3rd sizes must be at least 3 times larger than previous grid size.] The index passed was not within the valid range. Failed to execute (Copy). any ideas in how to fix that?
... View more
05-10-2013
04:13 AM
|
0
|
8
|
25510
|
|
POST
|
Hi all In order to find what has added or remoed form a polygon I am comparing two different version of the same polygon. How can I find the portions that were added or deleted? What geoprocessing tool can I use? Thanks
... View more
03-27-2013
11:21 AM
|
0
|
2
|
7112
|
|
POST
|
Hi all, I run a process to remove some centroid for a property layer. How can I check if the polygon property layer has now a entroid or if it is missing? How can it be done with model builder? thanks
... View more
03-22-2013
11:15 AM
|
0
|
1
|
1101
|
|
POST
|
Hi all Are you running web ADF legacy applications in AcGIS 10.1? Can you edit in 10.1 with web ADF?
... View more
03-05-2013
09:53 AM
|
0
|
0
|
976
|
|
POST
|
Hi all Is there any sample similar to the one in .Net http://resources.esri.com/help/9.3/arcgisserver/adf/dotnet/developer/scenarios/develop_app_ws.htm or http://help.arcgis.com/en/sdk/10.0/serveradf_net/conceptualhelp/index.html#//0002000001s8000000 that explains how to create a web server to query GIS layers Thanks
... View more
02-27-2013
04:43 PM
|
0
|
0
|
794
|
|
POST
|
Hi all I am currently creating a web service in ArcGIs 10.0. The service takes an address, geocodes it and addis it into a point layer to represent a client call request. The question is about what is the best way to build this web service: - Talk directly with SDE. I already have two batch VB.Net applications (.exe) that work very well doing that - Use a map service or a feature service. In this case should I use Web ADF or javascript Thanks
... View more
02-25-2013
06:48 AM
|
0
|
1
|
968
|
|
POST
|
Hi all, I am doing a search by attributes on a feature class and when I retrieve the whoe, record I would like to get the information in the attributes tables under Shape as a Point shape to obtain the X and Y coordinates. How can I do that? I am using VB.net thanks
... View more
02-14-2013
03:37 PM
|
0
|
1
|
1115
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 05-01-2026 12:34 PM | |
| 1 | 12-02-2022 08:17 AM | |
| 1 | 12-26-2025 05:02 AM | |
| 1 | 08-05-2025 04:28 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|