LocalServers - SQL Server CE missing on clean server

0

LocalServers - new functionality - the on prem. development on the fully armored dev. machine works as expected. But when I xcopy the folder with MDrServer and MDrTurnkey folders to the clean server 2019 core (no GUI) and run AppCompleteGenericCore.exe under non-admin user the Kestrel starts but curl to the localhost returns exception that "SQL Server Compact Edition" is missing.

I found in the last reply to this quite old article here that nuget package solved the issue. Seems that it is not true.

Have you seen such behavior before?

System.IO.FileNotFoundException: The specified module could not be found. (0x8007007E)

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at System.Data.SqlServerCe.UnmanagedLibraryHelper..ctor(String fileName) at System.Data.SqlServerCe.NativeMethodsHelper..ctor(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadValidLibrary(String modulePath) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinariesFromPrivateFolder(String privateI nstall) at System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() at System.Data.SqlServerCe.SqlCeConnection..ctor() at AppCompleteGeneric.CommonPMPBase.GetConfiguredSQLPMapper(DatabaseIdentity dbid) in C:\cap ableobjectsbuild2017\source\AppCompleteGeneric\AppCompleteGeneric.PServerIis\PeriodicActions\Co mmonPMPBase.cs:line 88 at AppCompleteGeneric.admin.CommonServer.EvolveAdminDB() in C:\capableobjectsbuild2017\sourc e\AppCompleteGeneric\AppCompleteGeneric.PServerIis\admin\CommonServer.cs:line 256 at AppCompleteGeneric.Controllers.MDSBaseC.SanityCheckPriorToAccess_DoLevelZeroChecks(String & op, String& message) in C:\capableobjectsbuild2017\source\AppCompleteGeneric\AppCompleteGener ic.PServerIis\Controllers\MDSBaseC.cs:line 193 at AppCompleteGeneric.Controllers.MDSBaseC.OnActionExecuting(ActionExecutingContext filterCo ntext) in C:\capableobjectsbuild2017\source\AppCompleteGeneric\AppCompleteGeneric.PServerIis\Co ntrollers\MDSBaseC.cs:line 81 at Microsoft.AspNetCore.Mvc.Controller.OnActionExecutionAsync(ActionExecutingContext context , ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Filters.ControllerActionFilter.OnActionExecutionAsync(ActionExec utingContext context, ActionExecutionDelegate next) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awai ted|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSe aled context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, O bject& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(Reso urceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext cont ext)

mdriven
asked on Stack Overflow Dec 22, 2020 by Alex • edited Dec 24, 2020 by Alex

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0