POST
|
For a variety of operations we load geodatabase layer tables into .net datasets as datatables. We use the data providers from esri to make this connection. The connection is as follows: projConn = New OleDb.OleDbConnection("Provider=ESRI.GeoDB.OleDB.1;Data Source=" & daPath & ";Extended Properties=workspacetype=esriDataSourcesGDB.FileGDBWorkspaceFactory.1;Geometry=WKB") And then to fill the dataset: layDAdbf = New OleDb.OleDbDataAdapter layDAdbf.FillSchema(daDataset, SchemaType.Mapped, layername) layDAdbf.Fill(daDataset, layername) This has worked for many years in a variety of product usages. We are now trying to use this from a Windows Service. It works in a console app, a scheduled task but not in a windows service. It always fails on the fill statement. With a File Geodatabase the program just ends - no error reporting even with a try-catch. The Windows event viewer reports the following: Faulting module name: ntdll.dll, version: 6.1.7600.16695, time stamp: 0x4cc7ab86 Exception code: 0xc0000005 There appears to be many possible causes for this exception. Does anyone have any comments or suggestions - have you run into this issue. Any help is greatly appreciated.
... View more
11-14-2011
07:59 AM
|
0
|
1
|
1425
|
POST
|
Thank you. I am aware of the location to find the file. There-in lies the problem - the files are not installed anywhere. I re-installed at least seven times on a Windows 7 machine to see if I could track down the cause of the missing ESRIregAsm.exe and associated files. No luck. Here is a summary of my installs: 1 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder and it worked. ESRIRegASm.exe file and associated files were installed in the Common Files path. (I wanted to prove that this would work each time so I uninstalled again). Unfortunately it did not work any other time I tried the same scenario. 2 of the times I selected "Run As Administrator" from the setup.exe under the desktop folder it did not work 1 of the times I ran directly from the MSI and it did not work 2 of the times I tried to install from the splash screen and it did not work. 1 of the times I selected "Run As Administrator" on the main setup.exe and it did not work. I do not know what circumstances made the difference for the 1 time it worked. I have not had this problem on other machines yet. I am going to try a couple other things to see if I can't talk it into working.
... View more
08-03-2010
04:27 PM
|
0
|
0
|
1055
|
POST
|
Surely someone has the answer to this? With so many developers updating to ArcGIS 10 already?
... View more
08-02-2010
08:56 AM
|
0
|
0
|
1055
|
POST
|
Forgive me if this is obvious to many of you but I could not find it definitively anywhere. It appears that ESRIregasm.exe is not always installed with ArcGIS - maybe I am missing something. Does this mean we need to redistribute this file in order to get our custom .net programs to register properly with ArcGIS 10?
... View more
07-30-2010
07:04 AM
|
0
|
10
|
6699
|
Online Status |
Offline
|
Date Last Visited |
02-26-2024
03:45 PM
|