gx-l |
| gdleiva | |
Hola a todos, desarrollo con Genexus 16 U9 .NET. Estoy probando este nuevo Environment, y me encontré con algunos problemas que paso a describir, En una aplicación existente (ya en Producción), agregué el Environment NetCore, cuando compilo, NO me reconoce la base de datos del GAM, (visualizo la parte del output) en este caso tengo seteado NO en Reorganizacion de Tablas Creating connection.gam file... warning: Trying to generate the connection file while Reorganize Server Tables property is set to NO. The process may fail if GAM database schema is not updated. Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Failed Success: Integrated Security Initialization ========== GAM Applications Registration started ========== warning: Trying to register applications while Reorganize Server Tables property is set to NO. The process may fail if GAM database schema is not updated. Registering 'RendicionGasto'...Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Failed Failed: GAM Applications Registration ========== Copying Module 'GeneXus' started ========== Success: Copying Module 'GeneXus' ========== Copying Module 'GeneXusSecurityCommon' started ========== Success: Copying Module 'GeneXusSecurityCommon' ========== Copying Module 'GeneXusSecurity' started ========== Success: Copying Module 'GeneXusSecurity' ========== Target Environment update started ========== Success: Target Environment update Building changed objects list ========== Specification started ========== Specifying GAMHome ... Specifying GAMCheckUserActivationMethod ... Specifying GAMConvertErrorsToMessages ... Generating Resources... Specifying GAMExampleChangePassword ... Success Specifying GAMExampleSSOLogin ... Processing inferred calls... Success: Specification ========== Default (.NET Core) Generation started ========== Generating to .NetCore\web\gxcfg.js Generating to .NetCore\web\GXCFG.WEB Generating to .NetCore\web\Developermenu.bld Generating to .NetCore\web\genexus.programs.common.bld Generating to .NetCore\web\library.bld Generating to .NetCore\web\bld41.info Generating to .NetCore\web\DeveloperMenu.xml Success: Default (.NET Core) Generation Compressing static files...Success ========== SDT Generation started ========== Generating to .NetCore\web\type_SdtGAMExampleSDTApplicationData.cs Success: SDT Generation ========== DeveloperMenu Compilation for Default (.NET Core) started ========== dotnet build -nologo -c Release /v:q /m /p:GxExternalReference=GeneXus.Security.API.Common.dll "C:\DesarrolloGNX16\RendicionGasto\.NetCore\build\LastBuild.sln" Compilaci¢n correcta. 0 Advertencia(s) 0 Errores Tiempo transcurrido 00:03:59.36 Success: DeveloperMenu Compilation for Default (.NET Core) ========== Web config update started ========== Gx config file: gxcfg.web Web config file: appsettings.json Updating web config ... Success: Web config update ========== GAM Permissions Creation started ========== warning: Trying to register permissions while Reorganize Server Tables property is set to NO. The process may fail if GAM database schema is not updated. Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Success: GAM Permissions Creation ========== Execution started ========== Success: Execution Success: Run Developer Menu obviamente ejecuto en el browser y en el login me da el error "La conexión al GAM no fue encontrada, por favor contacte al administrador del GAM." Todas las propiedades en Integrated Security del compilador son las mismas que para .NET, o sea ID del Repositorio y usuarios/contraseñas correspondientes. Cuando seteo SI en Reorganizacion de Tablas, me pregunta si quiero crear las tablas del GAM, le respondo que no y me dá los siguientes errores, ========== Retrieve GAM Version From Database started ========== Current GAM version: Error: Success: Retrieve GAM Version From Database An assembly specified in the application dependencies manifest (agamgetversion.deps.json) was not found: path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Failed: Integrated Security Initialization ========== Copying Module 'GeneXus' started ========== Success: Copying Module 'GeneXus' ========== Copying Module 'GeneXusSecurityCommon' started ========== Success: Copying Module 'GeneXusSecurityCommon' ========== Copying Module 'GeneXusSecurity' started ========== Success: Copying Module 'GeneXusSecurity' ========== Target Environment update started ========== Success: Target Environment update Building changed objects list ========== Specification started ========== Specifying GAMHome ... Specifying GAMCheckUserActivationMethod ... Specifying GAMConvertErrorsToMessages ... Specifying GAMExampleChangePassword ... Generating Resources...Success Specifying GAMExampleSSOLogin ... Processing inferred calls... Success: Specification ========== Default (.NET Core) Generation started ========== Generating to .NetCore\web\gxcfg.js Generating to .NetCore\web\GXCFG.WEB Generating to .NetCore\web\Developermenu.bld Generating to .NetCore\web\genexus.programs.common.bld Generating to .NetCore\web\library.bld Generating to .NetCore\web\bld41.info Generating to .NetCore\web\DeveloperMenu.xml Success: Default (.NET Core) Generation Compressing static files...Success ========== SDT Generation started ========== Generating to .NetCore\web\type_SdtGAMExampleSDTApplicationData.cs Success: SDT Generation ========== DeveloperMenu Compilation for Default (.NET Core) started ========== dotnet build -nologo -c Release /v:q /m /p:GxExternalReference=GeneXus.Security.API.Common.dll "C:\DesarrolloGNX16\RendicionGasto\.NetCore\build\LastBuild.sln" Compilaci¢n correcta. 0 Advertencia(s) 0 Errores Tiempo transcurrido 00:03:54.65 Success: DeveloperMenu Compilation for Default (.NET Core) ========== Web config update started ========== Gx config file: gxcfg.web Web config file: appsettings.json Updating web config ... Success: Web config update ========== GAM Permissions Creation started ========== Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Success: GAM Permissions Creation ========== Execution started ========== Success: Execution Success: Run Developer Menu Qué puede ser?, instalé algo mal, o me falta instalar alguna otra cosa? Verifiqué bien los parámetros del Repositorio, y están igual que en .NET, o sea compilo y ejecuto en .NET y todo funciona bien. verifiqué los requerimientos de la wiki, y está todo instalado (SDK y Runtime según se estipula). Lo que descubrí es que en los errores: Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' Error: An assembly specified in the application dependencies manifest (aGAM_GXDevEnvAPI.deps.json) was not found: package: 'Microsoft.Win32.SystemEvents', version: '4.7.0' path: 'runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll' los archivos manifest hacen referencia a Microsoft.Win32.SystemEvents.dll, pero el path runtimes/win/lib/netcoreapp3.0/ no existe, dicho path debería existir en la carpeta C:\DesarrolloGNX16\RendicionGasto\.NetCore\web\bin, y eso es lo raro, puesto que sí existen los paths runtimes\win\lib\netcoreapp2.0, runtimes\win\lib\netcoreapp2.1 y runtimes\win\lib\netstandard2.0, es como que Genexus no lo creó y obviamente tampoco puso la DLL a que hace referencia en los manifest. Precisamente la version 3.1 (SDK y Runtime) que requiere GNX para NetCore, es la que instalé. Agradezco cualquier ayuda o sugerencia de su parte. Atte. Ing. Daniel Leiva Desarrollo de Sistemas Obra Social Sgo. del Estero -Argentina ----------------------------------------- Para Suscribirse/Desuscribirse: http://www.gxtechnical.com/cgi-bin/hforum.exe?2,3,30,1 Por consultas owner-gx-l@gxtech.com.uy |
|
|
| | |
Back to gx-l |
|