LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Webservice not working since LV2021(64bit) / LV2020(64bit) was perfect

Solved!
Go to solution

Hi Community

I still have the same problem even when I use a package instead of an installer.

 

I have configured the Application as shown here in the screenshot.

nottilie_0-1679929334641.png

in my Package properties I added this project

nottilie_1-1679929434022.png

I also added many additional dependencies to my package installer, to be sure not to miss something.

 

Finally I still end up with the following errors when starting the application and set the loglevel to 2.

 

appweb: 2: Configuration for Embedthis Appweb
appweb: 2: ---------------------------------------------
appweb: 2: Version: 4.1.0-0
appweb: 2: BuildType: Release
appweb: 2: CPU: x64
appweb: 2: OS: windows
appweb: 2: Host: DESKTOP-BJEAG83
appweb: 2: Directory: C:\Program Files\IoniTOF 4.4 PKG
appweb: 2: Configure: bit configure --platform windows-x64
appweb: 2: ---------------------------------------------
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\mod_nisessmgr.dll
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\webserver\modules\mod_niauth.dll
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 15 in C:\Program Files\IoniTOF 4.4 PKG\niembeddedws.conf


appweb: 1: Can't configure the server. Error -19 while parsing configuration.
appweb: 1: Couldn't start LVAppwebInterface

 

 

When I start the same installed package on my development PC all is fine and the error file looks like this.

 

appweb: 2: Configuration for Embedthis Appweb
appweb: 2: ---------------------------------------------
appweb: 2: Version: 4.1.0-0
appweb: 2: BuildType: Release
appweb: 2: CPU: x64
appweb: 2: OS: windows
appweb: 2: Host: CLIA087
appweb: 2: Directory: C:\Program Files\IoniTOF 4.4 PKG
appweb: 2: Configure: bit configure --platform windows-x64
appweb: 2: ---------------------------------------------
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\mod_nisessmgr.dll
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\webserver\modules\mod_niauth.dll
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\mod_niesp.dll
appweb: 2: Loading native module C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\2023\mod_niws.dll
appweb: 2: Started HTTP service on "*:8002"
appweb: 2: Pruned 1 workers, pool has 0 workers. Limits 0-10.

 

Do you have any additional ideas how to solve this issue.

 

Thank you

 

 

 

 

 

 

 

 

 

Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 11 of 16
(1,158 Views)

Can you confirm that you are installing on a clean Windows install? If you have run a "broken"  installer before it might be that the package installer will not work. At any rate, there is a dirty workaround for the standard installer. If you configure the Installer Build Spec so as to install on the target PC the following folder present on the development PC:

 

C:\Program Files\National Instruments\Shared\niauth

 

Everything will work just fine.

 

Have a look at my installer specification

 

lsi_0-1679931720102.png

 

0 Kudos
Message 12 of 16
(1,152 Views)

You have to do a complete uninstall of all things NI, otherwise the error message sticks around.

 

Did you make a package installer?  That would work most similarly to the previously supported installer option.

0 Kudos
Message 13 of 16
(1,144 Views)

Thank you, 

 

No it is not a 100% clean system.

 

I will try on wednesday with a absolutely clean one and keep you informed 

 

Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 14 of 16
(1,142 Views)

Dear Igor et. al.

 

I also can confirm that this "workaround" works on a "naked" PC.

 

I accepted as a solution.

 

Thank you once more for the help. You are much better than SSP or what it is called today 😉 

Gernot Hanel
IONICON Analytik Gesellschaft m.b.H.
0 Kudos
Message 15 of 16
(1,105 Views)

The actual reason for this problem is that the run-time installer doesn't install all the files needed for the application webservice to run. This folder is missing even after running the installer - C:\Program Files\National Instruments\Shared\niauth. Copy this folder from your development computer to the target computer or include it in the custom installer and you should be all set. I know this is a stale thread but maybe this will help someone out there!

0 Kudos
Message 16 of 16
(1,086 Views)