<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error while connecting a geodatabase through .sde file in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/error-while-connecting-a-geodatabase-through-sde/m-p/622332#M4210</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to connect .sde file&amp;nbsp; created through ArcGIS Pro. I am using ArcGIS Pro SDK 2.0 for coding. My code is Geodatabase enterpriseGeodatabaseViaConnectionFile = new Geodatabase(new DatabaseConnectionFile(filepath))); but at run time i am getting the error&amp;nbsp; System.DllNotFoundException was unhandled&amp;nbsp; &amp;nbsp;HResult=-2146233052&amp;nbsp; &amp;nbsp;Message=Unable to load DLL 'CoreInterop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)&amp;nbsp; &amp;nbsp;Source=ArcGIS.Core&amp;nbsp; &amp;nbsp;TypeName=""&amp;nbsp; &amp;nbsp;StackTrace:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Internal.Interop.GetInterface(Guid&amp;amp; id, Object&amp;amp; obj)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Internal.Interop.get_Geodatabase()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.GeodatabaseUtil.OpenDatastore(String path)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.Geodatabase.Open(Uri uri)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.Geodatabase..ctor(DatabaseConnectionFile databaseConnectionFile)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.ArcUtility.FileGdbWorkspaceFromPath(String path) in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\ArcUtility.cs:line 47&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.Form1.cmbProcessType_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\Form1.cs:line 97&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WmReflectCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WmCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DefWndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WmCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.Program.Main() in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\Program.cs:line 23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&amp;nbsp; &amp;nbsp;InnerException:&amp;nbsp; i have added ArcGIS.core.data namespace. Can any one have any idea why i am getting this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 10:46:44 GMT</pubDate>
    <dc:creator>SurajJha1</dc:creator>
    <dc:date>2018-01-05T10:46:44Z</dc:date>
    <item>
      <title>Error while connecting a geodatabase through .sde file</title>
      <link>https://community.esri.com/t5/developers-questions/error-while-connecting-a-geodatabase-through-sde/m-p/622332#M4210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am trying to connect .sde file&amp;nbsp; created through ArcGIS Pro. I am using ArcGIS Pro SDK 2.0 for coding. My code is Geodatabase enterpriseGeodatabaseViaConnectionFile = new Geodatabase(new DatabaseConnectionFile(filepath))); but at run time i am getting the error&amp;nbsp; System.DllNotFoundException was unhandled&amp;nbsp; &amp;nbsp;HResult=-2146233052&amp;nbsp; &amp;nbsp;Message=Unable to load DLL 'CoreInterop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)&amp;nbsp; &amp;nbsp;Source=ArcGIS.Core&amp;nbsp; &amp;nbsp;TypeName=""&amp;nbsp; &amp;nbsp;StackTrace:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Internal.Interop.GetInterface(Guid&amp;amp; id, Object&amp;amp; obj)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Internal.Interop.get_Geodatabase()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.GeodatabaseUtil.OpenDatastore(String path)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.Geodatabase.Open(Uri uri)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ArcGIS.Core.Data.Geodatabase..ctor(DatabaseConnectionFile databaseConnectionFile)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.ArcUtility.FileGdbWorkspaceFromPath(String path) in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\ArcUtility.cs:line 47&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.Form1.cmbProcessType_SelectedIndexChanged(Object sender, EventArgs e) in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\Form1.cs:line 97&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WmReflectCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WmCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DefWndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WmCommand(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Control.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.ComboBox.WndProc(Message&amp;amp; m)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp;amp; msg)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at ESRIIndiaDataTranslator.Program.Main() in C:\Users\suraj.jha\Desktop\ESRIIndiaDataTranslator\Program.cs:line 23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at System.Threading.ThreadHelper.ThreadStart()&amp;nbsp; &amp;nbsp;InnerException:&amp;nbsp; i have added ArcGIS.core.data namespace. Can any one have any idea why i am getting this error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 10:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/error-while-connecting-a-geodatabase-through-sde/m-p/622332#M4210</guid>
      <dc:creator>SurajJha1</dc:creator>
      <dc:date>2018-01-05T10:46:44Z</dc:date>
    </item>
  </channel>
</rss>

