Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Unhandled MongoDB exception on database migration

OrasiPythonGuy
6 - Meteoroid

I had to Migrate MongoDB in order for Alteryx Server to sucessfully start, and ran into this error. I'm not really sure what it's looking for since this MongoDB instance is the default one generated by Alteryx Server, and I haven't set up any credentials for it. The error given looks like this. Does anyone know what it's actually looking for in terms of a credentials file?

 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.AggregateException: One or more errors occurred. ---> AlteryxService_Client.Net.AlteryxServiceException: ReadEmbeddedMongoCredentials failed to read credentials, filename must be non-empty, path must exist and be readable.
   at AlteryxService_Client.Net.ClientAPI.AlteryxService_GetEmbeddedMongoCredentials(String strServer, String strServerSecret, Boolean isAdmin)
   at MongoDbUpgradeTo30.ApiHelper.GetEmbeddedMongoUserPassword(String server, String secret)
   at MongoDbUpgradeTo30.AlteryxSettings.GetMongoDBCredentials()
   at MongoDbUpgradeTo30.Migrator.PerformMigration()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at MongoDbUpgradeTo30.MainForm.StartMigration_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
---> (Inner Exception #0) AlteryxService_Client.Net.AlteryxServiceException: ReadEmbeddedMongoCredentials failed to read credentials, filename must be non-empty, path must exist and be readable.
   at AlteryxService_Client.Net.ClientAPI.AlteryxService_GetEmbeddedMongoCredentials(String strServer, String strServerSecret, Boolean isAdmin)
   at MongoDbUpgradeTo30.ApiHelper.GetEmbeddedMongoUserPassword(String server, String secret)
   at MongoDbUpgradeTo30.AlteryxSettings.GetMongoDBCredentials()
   at MongoDbUpgradeTo30.Migrator.PerformMigration()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3701.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
MongoDbUpgradeTo30
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Alteryx/bin/MongoDbUpgradeTo30.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3701.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3650.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
RuntimeSettings.Net
    Assembly Version: 2018.2.6.51223
    Win32 Version: 2018.2.6.51223
    CodeBase: file:///C:/Program%20Files/Alteryx/bin/RuntimeSettings.Net.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3680.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3630.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Base.Net
    Assembly Version: 2018.2.6.51223
    Win32 Version: 2018.2.6.51223
    CodeBase: file:///C:/Program%20Files/Alteryx/bin/Base.Net.DLL
----------------------------------------
System.ServiceProcess
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
AlteryxService_Client.Net
    Assembly Version: 2018.2.6.51223
    Win32 Version: 2018.2.6.51223
    CodeBase: file:///C:/Program%20Files/Alteryx/bin/AlteryxService_Client.Net.DLL
----------------------------------------
AlteryxAPI.Net
    Assembly Version: 2018.2.6.51223
    Win32 Version: 2018.2.6.51223
    CodeBase: file:///C:/Program%20Files/Alteryx/bin/AlteryxAPI.Net.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 



 

 

0 REPLIES 0