Dear Community
I am facing a fundamental problem since I build my big application in LV2021.
I have included a webservice in my application and build it the last "years" with LV2020(64-bit)
After creating the installer and installing it to a clean PC everything worked fine till LV2021(64bit). The "niembeddedws.conf" was read during launch and the application was controlable via the set TCP port 8002.
Now when the same application is build in LV2021(64bit) all seems to be fine after installation but the webservice is not running. (no listening port 8002 is there)
It is not a problem of the firewall because it is completly switched off.
After starting the Application i see in the windows event log that there is a problem (but i have no idea how to investigat or even to solve this issue)
There are three error messages all related to problems with the webservice.
Here are the entries:
appweb: Error: NI Auth Module -- Caught exception while loading NIAuth shared library
appweb: Error: Initialization for module niAuthModule failed
appweb: Error: Error with directive "LoadModule"
At line 14 in C:\Program Files\ioniTOF42\niembeddedws.conf
This is the niebeddedws.conf file (hope it is ok as text in thread, i am to sure if the attached file would have been better)
# Web server configuration file.
# Generated by LabVIEW 21.0.1f1
# 16.05.2022 14:36:07
#
# Global Directives
#
NI.AddLVRouteVars
TypesConfig "$LVSERVER_ROOT/mime.types"
LimitWorkers 10
LimitRequestBody 50000000
LoadModulePath $LVSERVER_ROOT/modules;$LVSERVER_ROOT/..
LoadModule niSessionManagerModule mod_nisessmgr
LoadModule niAuthModule mod_niauth
LoadModule EspModule mod_niesp
LoadModule WSRuntime mod_niws
Listen 8002
#
# Directives that apply to the default server
#
NI.ServerName "LV Embedded Web Server"
DocumentRoot "$LVSERVER_ROOT/ws_www"
InactivityTimeout 60
SetConnector netConnector
AddHandler niAuthHandler
AddHandler WSRuntime
AddHandler fileHandler ""
AddOutputFilter chunkFilter
LimitRequestForm 50000000
NI.WSRuntime.Configuration embedded "$LVSERVER_ROOT/services"
NI.WSRuntime.LoadWebService Ic_WebAPI.lvws
Hope anyboldy has a good idea as this topic is pending till LV2021(64bit) arrived and still here in LV2021SP1(64bit)
By the way, there are no webrelated NI services running and it is working with 2020. (no NISystemWebserver, and no NI ApplicationWebserver)
Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.