Cannot add Network Service as User/Login
I want to setup ProGet on a 2016 server with SQL Express and IIS.
Both the service and IIS web runs under the Network Service user. None seem to be able to access the Database on a local SQL Express instance.
The IIS website tells me that the login WORKGROUPPACKAGE$ (where PACKAGE is the servers name) cannot access the database:

I understand that I need to add the Network Service (which IIS uses to actually authenticate with SQL Express) as a login/user to the database.

When I tried adding the NT-AuthorityNetwork Service as a login/user to the database, I get an error that tells me that Windows cannot find any authentication for the Network Service.

How can this be? Why can't SQL Express find the Network Service?
sql-server-2016 authentication logins windows-server-2016
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to setup ProGet on a 2016 server with SQL Express and IIS.
Both the service and IIS web runs under the Network Service user. None seem to be able to access the Database on a local SQL Express instance.
The IIS website tells me that the login WORKGROUPPACKAGE$ (where PACKAGE is the servers name) cannot access the database:

I understand that I need to add the Network Service (which IIS uses to actually authenticate with SQL Express) as a login/user to the database.

When I tried adding the NT-AuthorityNetwork Service as a login/user to the database, I get an error that tells me that Windows cannot find any authentication for the Network Service.

How can this be? Why can't SQL Express find the Network Service?
sql-server-2016 authentication logins windows-server-2016
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to setup ProGet on a 2016 server with SQL Express and IIS.
Both the service and IIS web runs under the Network Service user. None seem to be able to access the Database on a local SQL Express instance.
The IIS website tells me that the login WORKGROUPPACKAGE$ (where PACKAGE is the servers name) cannot access the database:

I understand that I need to add the Network Service (which IIS uses to actually authenticate with SQL Express) as a login/user to the database.

When I tried adding the NT-AuthorityNetwork Service as a login/user to the database, I get an error that tells me that Windows cannot find any authentication for the Network Service.

How can this be? Why can't SQL Express find the Network Service?
sql-server-2016 authentication logins windows-server-2016
I want to setup ProGet on a 2016 server with SQL Express and IIS.
Both the service and IIS web runs under the Network Service user. None seem to be able to access the Database on a local SQL Express instance.
The IIS website tells me that the login WORKGROUPPACKAGE$ (where PACKAGE is the servers name) cannot access the database:

I understand that I need to add the Network Service (which IIS uses to actually authenticate with SQL Express) as a login/user to the database.

When I tried adding the NT-AuthorityNetwork Service as a login/user to the database, I get an error that tells me that Windows cannot find any authentication for the Network Service.

How can this be? Why can't SQL Express find the Network Service?
sql-server-2016 authentication logins windows-server-2016
sql-server-2016 authentication logins windows-server-2016
edited Sep 4 '18 at 5:58
Florian Peschka
asked Sep 3 '18 at 18:34
Florian PeschkaFlorian Peschka
150110
150110
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It can be a bit misleading, when working with the German version of SQL Server and/or a Windows Client/Server OS.
When you select the <HOSTNAME>Network Service from the Active Directory pop-up in the SQL Server Login dialog, then SQL Server automatically displays the login (when closing all the dialogues with OK) as:
<HOSTNAME>Network Service
This is actually wrong.
German Solution
If you enter the following German string then it will resolve correctly:
NT-AutoritätNetzwerkdienst
English Solution
If you were to use an English Windows / SQL Serer installation then you would have to enter:
NT-AuthorityNetworkService
If you click on OK, then the SQL Server Login will be created.

add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "182"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f216599%2fcannot-add-network-service-as-user-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It can be a bit misleading, when working with the German version of SQL Server and/or a Windows Client/Server OS.
When you select the <HOSTNAME>Network Service from the Active Directory pop-up in the SQL Server Login dialog, then SQL Server automatically displays the login (when closing all the dialogues with OK) as:
<HOSTNAME>Network Service
This is actually wrong.
German Solution
If you enter the following German string then it will resolve correctly:
NT-AutoritätNetzwerkdienst
English Solution
If you were to use an English Windows / SQL Serer installation then you would have to enter:
NT-AuthorityNetworkService
If you click on OK, then the SQL Server Login will be created.

add a comment |
It can be a bit misleading, when working with the German version of SQL Server and/or a Windows Client/Server OS.
When you select the <HOSTNAME>Network Service from the Active Directory pop-up in the SQL Server Login dialog, then SQL Server automatically displays the login (when closing all the dialogues with OK) as:
<HOSTNAME>Network Service
This is actually wrong.
German Solution
If you enter the following German string then it will resolve correctly:
NT-AutoritätNetzwerkdienst
English Solution
If you were to use an English Windows / SQL Serer installation then you would have to enter:
NT-AuthorityNetworkService
If you click on OK, then the SQL Server Login will be created.

add a comment |
It can be a bit misleading, when working with the German version of SQL Server and/or a Windows Client/Server OS.
When you select the <HOSTNAME>Network Service from the Active Directory pop-up in the SQL Server Login dialog, then SQL Server automatically displays the login (when closing all the dialogues with OK) as:
<HOSTNAME>Network Service
This is actually wrong.
German Solution
If you enter the following German string then it will resolve correctly:
NT-AutoritätNetzwerkdienst
English Solution
If you were to use an English Windows / SQL Serer installation then you would have to enter:
NT-AuthorityNetworkService
If you click on OK, then the SQL Server Login will be created.

It can be a bit misleading, when working with the German version of SQL Server and/or a Windows Client/Server OS.
When you select the <HOSTNAME>Network Service from the Active Directory pop-up in the SQL Server Login dialog, then SQL Server automatically displays the login (when closing all the dialogues with OK) as:
<HOSTNAME>Network Service
This is actually wrong.
German Solution
If you enter the following German string then it will resolve correctly:
NT-AutoritätNetzwerkdienst
English Solution
If you were to use an English Windows / SQL Serer installation then you would have to enter:
NT-AuthorityNetworkService
If you click on OK, then the SQL Server Login will be created.

answered Sep 11 '18 at 12:08
hot2usehot2use
8,37652056
8,37652056
add a comment |
add a comment |
Thanks for contributing an answer to Database Administrators Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdba.stackexchange.com%2fquestions%2f216599%2fcannot-add-network-service-as-user-login%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown