Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

"Exception: Not a domain User" when NPrinting And Qlik Sense are installed on Azure machines

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Andrea_Bertazzo
Support
Support

"Exception: Not a domain User" when NPrinting And Qlik Sense are installed on Azure machines

Last Update:

Jun 26, 2024 2:57:23 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 29, 2024 6:59:54 AM

Qlik NPrinting and Qlik Sense are installed on Azure cloud machines. The configuration respects all the requirements. in particular, the NPrinting Engine user is present on both the NPrinting and Sense servers with the same domain and SSID.
The Metadata reload test fails with a "Not a domain user" message. On the other side, the Metadata reload is successful when launched (ignoring the Test error) even if the NPrinting Engine logs show these error and warning messages:

Engine.Navigator.QlikSense.SDK.QlikSenseDiagnose 20231128T103337.642+01:00 ERROR NP-SERVER _NAME 0 0 0 0 0 0 0 0 PerformDiagnosis found a problem. ERROR: System.Exception: Not a domain User : Domain\NPUser↓↓   at Engine.Navigator.QlikSense.SDK.QlikSenseDiagnose.<>c__DisplayClass8_0.<PerformDiagnosis>b__3() in C:\Jws\release-may2023-SwCB9Sd4b\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\QlikSenseDiagnose.cs:line 90↓↓   at Engine.Navigator.QlikSense.SDK.QlikSenseDiagnose.GetStep(DiagnoseStep step, Action stepCode) in C:\Jws\release-may2023-SwCB9Sd4b\server\NPrinting\src\Engine.Navigator.QlikSense.SDK\QlikSenseDiagnose.cs:line 40
Engine.Navigator.QlikSense.SDK 23.20.5.0 Engine.Navigator.QlikSense.SDK.QRSApi

20231128T103350.840+01:00 WARN NP-SERVER _NAME 0 0 0 0 0 0 0 0 Domain user check failed for Domain\NPUser. ERROR: System.Runtime.InteropServices.COMException (0x8007200A): The specified directory service attribute or value does not exist.↓↓↓↓   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)↓↓   at System.DirectoryServices.DirectoryEntry.Bind()↓↓   at System.DirectoryServices.DirectoryEntry.get_SchemaEntry()↓↓

 

Resolution

Ignore the error message and proceed with the metadata reload.

 

Cause 

According to the current analysis, the error message is shown because Azure does not organize users and permissions as on-premise Windows servers do. NPrinting does not receive the expected answers from Azure AD Connect and interprets this as missing access levels in Azure during the connection tests.


On the other side, when the environment is correctly configured, the NPrinting Engine user has access to the Qlik Sense applications, so the metadata reload and the tasks executions are completed successfully at the end.

This issue can occur in non Azure environments as well. Proceed with the same solution.

 

Environment

  • Qlik NPrinting all supported versions.
Comments
sis
Partner - Specialist
Partner - Specialist

@Andrea_Bertazzo 

お世話になっております。

弊社のNPrintingの検証時に、NPrintingとQlik Senseの接続時に
接続の確認すると「ドメイン ユーザーではありません」でエラーになりました。

解決策を調査したところ下記Community記事を見つけました。
 "Exception: Not a domain User" when NPrinting And Qlik Sense are installed on Azure machines
https://community.qlik.com/t5/Official-Support-Articles/quot-Exception-Not-a-domain-User-quot-when-N...

記事上ではAzureで発生するとのことでしたが、
Azure環境でないServer機でしたが、同様のメタデータの読み込みで事象は解決しました。

■インストール環境、製品バージョン

Windows 10 Pro
NPrinting May 2024
Qlik Sense May 2023

以下、1点ご確認お願いします。

(1)
Azure以外の環境でも発生しましたので、Community記事の更新をご検討お願いします。

 

よろしくお願いいたします。

 

ーーー下記翻訳した文章です。ーーー

When verifying our NPrinting, when connecting NPrinting and Qlik Sense,
when checking the connection, an error occurred with "Not a domain user".

When investigating a solution, I found the following Community article.

"Exception: Not a domain User" when NPrinting And Qlik Sense are installed on Azure machines
https://community.qlik.com/t5/Official-Support-Articles/quot-Exception-Not-a-domain-User-quot-when-N...

The article said that this occurs on Azure,
but although it was a server machine that was not in an Azure environment, the issue was resolved by loading the same metadata.

■Installation environment, product version

Windows 10 Pro
NPrinting May 2024
Qlik Sense May 2023

Please check the following.

(1)
This issue also occurred in environments other than Azure, so please consider updating the Community article.

Thank you.

 

sis
Partner - Specialist
Partner - Specialist

@Andrea_Bertazzo 

お世話になっております。

この問題は、Azure 以外の環境でも発生する可能性があります。同じ解決策を続行してください。

上記の文は、追加された文でしょうか。

また、Azure以外の環境でも発生する可能性があるとのことですが、
過去にも事例はありましたでしょうか。
事例があった場合、どのような事例かご教示ください。

以上、よろしくお願いいたします。

Version history
Last update:
Wednesday
Updated by: