3 Replies Latest reply on Nov 3, 2016 11:12 AM by Tim Szekely

    Errors in Event Viewer

    Jim Beck

      We are using Arc FM Solutions 10.2.1, Arc Reader 10.2.2 and Arc Gis 10.2.2. when we run Replication  we are getting periodic errors in the Event Viewer but everything seem to be fine with the files for FM Viewer and Arc Reader.

      What could be causing this or how can we fix this?

        • Re: Errors in Event Viewer
          David Miller

          One thing to note:  ArcFM 10.2.1 is not supported to run on ArcGIS 10.2.2.

           

          What are the error messages you are seeing?

            • Re: Errors in Event Viewer
              Jim Beck

              This question is for Replication.

              Using Arc Reader 10.2.2 and Arc FM Viewer 10.2.1

              The Event Viewer Log just says ERROR with

               

               

               

              Miner.Geodatabase.Replication.Replica

              Message: LinkedFiles: Error in replica update, retry 5 of 5
              Exception Info:
              Too many errors at this level (see earlier errors)...

              Thread: LinkedFiles AppDomain: ReplicationConsole.exe

              Exception: Miner.Geodatabase.Replication.ReplicationException: Too many errors at this level (see earlier errors)...

                 at Miner.Geodatabase.Replication.ReplicationHelper.CopyDirectories(DirectoryInfo source, DirectoryInfo inTarget, Boolean includeSourceDir)

                 at Miner.Geodatabase.Replication.ReplicationHelper.CopyDirectories(DirectoryInfo source, DirectoryInfo inTarget, Boolean includeSourceDir)

                 at Miner.Geodatabase.Replication.DirectoryClientReplica.CreateUnlockedDirectory()

                 at Miner.Geodatabase.Replication.DirectoryClientReplica.ApplyTransferredFullDownload()

                 at Miner.Geodatabase.Replication.ClientReplica.UpdateReplica(Int32 retryCount)

                 at Miner.Geodatabase.Replication.ScheduledReplica.Start(WorkerThreadStatus threadState, WaitHandle threadTerminateWait)

              Properties: {Process.StartTime=5/12/2016 6:58:23 AM, log4net:HostName=PC7450, UnmanagedSecurity.CurrentUser=OUC\everw654, Process.ProcessName=ReplicationConsole, Process.Id=5136, LoggingAssemblyFileVersion=10.20.0.265, ManagedSecurity.IdentityName=, ManagedSecurity.IsAuthenticated=False, Process.MachineName=., UnmanagedSecurity.ProcessAccountName=OUC\everw654, ManagedSecurity.AuthenticationType=}

              Or

              Miner.Geodatabase.Replication.ReplicationHelper

              Message: An I/O error occured copying file plot.log to C:\GIS\LinkedFiles\REPLIC.unlocked\DWFDesign\plot.log

              Thread: LinkedFiles AppDomain: ReplicationConsole.exe

              Exception: System.UnauthorizedAccessException: Access to the path 'C:\GIS\LinkedFiles\REPLIC.unlocked\DWFDesign\plot.log' is denied.

                 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

                 at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)

                 at System.IO.FileInfo.CopyTo(String destFileName, Boolean overwrite)

                 at Miner.Geodatabase.Replication.ReplicationHelper.CopyDirectories(DirectoryInfo source, DirectoryInfo inTarget, Boolean includeSourceDir)

              Properties: {Process.StartTime=5/12/2016 6:58:23 AM, log4net:HostName=PC7450, UnmanagedSecurity.CurrentUser=OUC\everw654, Process.ProcessName=ReplicationConsole, Process.Id=5136, LoggingAssemblyFileVersion=10.20.0.265, ManagedSecurity.IdentityName=, ManagedSecurity.IsAuthenticated=False, Process.MachineName=., UnmanagedSecurity.ProcessAccountName=OUC\everw654, ManagedSecurity.AuthenticationType=

               

              Miner.Geodatabase.Replication.Replica

              Message: Fiber: Error in replica update, retry 1 of 5
              Exception Info:
              Could not find file 'C:\Users\NAVAH153\AppData\Local\Temp\cwgf7nzr.dll'.

              Thread: Fiber AppDomain: ReplicationConsole.exe

              Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\NAVAH153\AppData\Local\Temp\cwgf7nzr.dll'.

              File name: 'C:\Users\NAVAH153\AppData\Local\Temp\cwgf7nzr.dll'

                 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

                 at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

                 at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

                 at Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters options, String[] fileNames)

                 at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)

                 at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)

                 at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options, String[] sources)

                 at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

                 at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)

                 at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)

                 at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace)

                 at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

                 at System.Xml.Serialization.XmlSerializer..ctor(Type type)

                 at Miner.Geodatabase.Replication.Hasher.LoadHash(String hashFileName)

                 at Miner.Geodatabase.Replication.PersonalGdbClientReplica.PrepareUpdatesForTransfer()

                 at Miner.Geodatabase.Replication.ClientReplica.UpdateReplica(Int32 retryCount)

                 at Miner.Geodatabase.Replication.ScheduledReplica.Start(WorkerThreadStatus threadState, WaitHandle threadTerminateWait)

              Properties: {Process.StartTime=9/7/2016 10:50:53 PM, log4net:HostName=PC7450, UnmanagedSecurity.CurrentUser=OUC\NAVAH153, Process.ProcessName=ReplicationConsole, Process.Id=5592, LoggingAssemblyFileVersion=10.20.0.265, ManagedSecurity.IdentityName=, ManagedSecurity.IsAuthenticated=False, Process.MachineName=., UnmanagedSecurity.ProcessAccountName=OUC\NAVAH153, ManagedSecurity.AuthenticationType=

               

              These are some of the errors.

              Thanks for any help.

                • Re: Errors in Event Viewer
                  Tim Szekely

                  Hi Jim,

                   

                  Looking at that event log, I'd first focus on these lines:

                   

                       Exception: System.UnauthorizedAccessException: Access to the path 'C:\GIS\LinkedFiles\REPLIC.unlocked\DWFDesign\plot.log' is denied.

                   

                  ...and

                   

                       Exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\NAVAH153\AppData\Local\Temp\cwgf7nzr.dll'.

                   

                  Find out why the process is running into these errors. 

                   

                  What is the particular release of ArcGIS products that the replication process is using (ArcGIS Engine or ArcGIS Desktop)?  As David mentioned, the ArcFM replication executables aren't expected to work with ArcGIS 10.2.2.