I installed Flexmonster Data Speed Accelerator for Miscrosoft SSAS according to the instructions on the website. Without changing anything in the configuration, I get this error message. I tried changing the port to a random number and still get the same error. I'm running this on a Windows machine that has installed SQL Server 2022 and SSAS.
2025-08-05 16:09:45.5800 | TRACE | Flexmonster Data Speed Accelerator for Miscrosoft SSAS
2025-08-05 16:09:45.6083 | TRACE | Version 2.9.109
2025-08-05 16:09:45.6083 | TRACE |
2025-08-05 16:09:45.6221 | TRACE | Testing connection...
2025-08-05 16:09:45.8752 | TRACE | Data Source connection [MultidimensionalProject1] - OK
2025-08-05 16:09:45.8832 | TRACE | Starting server...
2025-08-05 16:09:45.9684 | ERROR | Starting server - FAILED
2025-08-05 16:09:45.9684 | INFO | ! PLEASE TRY TO USE ANOTHER PORT IN flexmonster.config FILE !
2025-08-05 16:09:45.9684 | ERROR | Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.StartServer(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options, Action1 startup)
at Flexmonster.Proxy.FlexmonsterProxy.StartServer()
2025-08-05 16:11:49.9214 | TRACE | Flexmonster Data Speed Accelerator for Miscrosoft SSAS
2025-08-05 16:11:49.9214 | TRACE | Version 2.9.109
2025-08-05 16:11:49.9214 | TRACE |
2025-08-05 16:11:49.9214 | TRACE | Testing connection...
2025-08-05 16:11:49.9354 | TRACE | Data Source connection [MultidimensionalProject1] - OK
2025-08-05 16:11:49.9354 | TRACE | Starting server...
2025-08-05 16:11:49.9354 | ERROR | Starting server - FAILED
2025-08-05 16:11:49.9435 | INFO | ! PLEASE TRY TO USE ANOTHER PORT IN flexmonster.config FILE !
2025-08-05 16:11:49.9435 | ERROR | Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.StartServer(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options, Action1 startup)
at Flexmonster.Proxy.FlexmonsterProxy.StartServer()
2025-08-05 19:10:23.4257 | TRACE | Flexmonster Data Speed Accelerator for Miscrosoft SSAS
2025-08-05 19:10:23.4257 | TRACE | Version 2.9.109
2025-08-05 19:10:23.4257 | TRACE |
2025-08-05 19:10:23.4257 | TRACE | Testing connection...
2025-08-05 19:10:23.4323 | TRACE | Data Source connection [MultidimensionalProject1] - OK
2025-08-05 19:10:23.4323 | TRACE | Starting server...
2025-08-05 19:10:23.4492 | ERROR | Starting server - FAILED
2025-08-05 19:10:23.4492 | INFO | ! PLEASE TRY TO USE ANOTHER PORT IN flexmonster.config FILE !
2025-08-05 19:10:23.4492 | ERROR | Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Owin.Hosting.ServerFactory.ServerFactoryAdapter.Create(IAppBuilder builder)
at Microsoft.Owin.Hosting.Engine.HostingEngine.StartServer(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at Microsoft.Owin.Hosting.WebApp.StartImplementation(IServiceProvider services, StartOptions options, Action`1 startup)
at Flexmonster.Proxy.FlexmonsterProxy.StartServer()
Hello,
Thank you for reaching out to us and sharing the logs.
This error occurs when the specified port is already used. Even if you have tried changing it, it is worth double-checking if the port is already used by another application or is reserved by the system. We recommend using Windows network diagnostics commands to verify that the port you are trying to set is free. If this does not work, could you please share your config file so we can examine this further?
Looking forward to hearing from you.
Best Regards,
Maksym
Thanks for the answer. The ports are free:
This is the config, I just changed the port number, the rest is the default that's configured when installing the program.
CONNECTION_STRING=Data Source=localhost
PORT=50392
HTTPS=false
CACHE_MEMORY_LIMIT=0
CACHE_ENABLED=true
GZIP=true
ALLOW_ORIGIN=*
WINDOWS_AUTH=false
Hello,
Thank you for sharing more details with us.
This issue has several more potential causes, excluding the port being actively used.
Firstly, it is worth checking the restrictions of the user logged on when running the Flexmonster Accelerator service. To check this, we suggest following these steps:
services.msc
.After checking this tab, make sure the user has sufficient rights.
In addition, we recommend examining the port-related cause of the issue further. Even if the port is not actively used, it might be part of a reserved range that prevents binding at the system level. Running netsh int ipv4 show excludedportrange protocol=tcp
command can help identify whether the port is blocked silently by Windows. Also, you could try setting a wider range of ports from 1024 to 9999.
If none of that works, but you need to get something working fast and see the data in Flexmonster, consider using an XMLA connection through msmdpump.dll
instead of using the Accelerator: https://www.flexmonster.com/doc/connecting-to-microsoft-analysis-services-via-xmla/
Please let us know if our answer helped you.
Best Regards,
Maksym
It worked changing the port to 40004
Hello Pablo,
Thank you for the feedback!
We are glad to hear that it works for you.
Feel free to contact us if other questions arise.
Kind regards,
Nadia