Windows error 0x8009030E, -2146893042

Detailed Error Information

SEC_E_NO_CREDENTIALS[1]

MessageNo credentials are available in the security package
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode9 (0x009)
NameFACILITY_SSPI[2][1]
DescriptionThe source of the error code is the Security API layer.[2][1]
Error Code782 (0x030e)

Questions

7votes
2answers

IIS 7.5 Windows Authentication failed with 401

Since we moved from IIS 7.0 to IIS 7.5 the Windows Authentication doesn't work anymore from remote requests. If I open the website on the webserver everything works fine. web.config: <authentication mode="Windows" /> <identity impersonate="true" /> <authorization> <deny users="?" /> <allow users="*" /> </authorization> IIS Settings: Authentication (enabled): ASP.NET Impersonation, [...] read more
windows
iis
windows-authentication
iis-7.5
5votes
3answers

Cannot find "IIS APPPOOL\{application pool name}" user account in Windows Server 2008

Normally when setting up IIS 7, I'm used to allowing permissions to user IIS APPPOOL\{application pool name} on the root folder of my web application(s). I also give permissions to IUSR (or the IIS_IUSRS user group. (Note, in Windows Server 2008, I found that IUSR isn't in that group by [...] read more
windows-server-2008
iis
iis-7
permissions
application-pools
3votes
2answers

Deploy Service Fabric Application through VSTS release pipeline using Hosted Agent

I have set up continuous integration using Hosted Agent for service fabric by following this document https://azure.microsoft.com/en-us/documentation/articles/service-fabric-set-up-continuous-integration/ In Release pipeline after importing certificate I am getting the following error and deployment failing. I am not able to identify where the issue is enter image description here [https://i.stack.imgur.com/Afc7G.png] > [ERROR]AN ERROR [...] read more
azure
azure-devops
microservices
azure-service-fabric
azure-pipelines-release-pipeline
3votes
1answer

ASP.NET MVC3 401.1 Error in IIS7.5

I have setup an ASP.NET MVC3 website using Windows Authentication and am getting a 401.1. The error code is 0x8009030e on the 401 page. Users should be able to access the site using their domain credentials. I don't get the error if I logon to the machine and hit the [...] read more
asp.net
iis-7.5
windows-authentication
2votes
3answers

Published asp.net WebApp won't connect. 401.1 unauthorized

asp.net app (c#) worked fine in debug mode; published, getting 401.1 error (unauthorized). When I put in the url, a dialog asks for username & password. Put it in 3x, error. It's an internal app, using Windows authentication only. * IIS 7.5, using ApplicationPoolIdentity. * SQLServer Database Specific Error Message [...] read more
asp.net
sql-server-2008
iis-7.5
windows-authentication
publishing-site
1vote
1answer

How to get Windows Admin Center working with workgroup PC's

Trying to get Windows Admin Center working on my home network I ran into a few errors 1. Trying to add the computer > A computer with the name 'pc1' was not automatically discovered. You can still > add it to your connections list, but its availability cannot be verified. [...] read more
winrm
1vote
0answers

AEM Dispatcher on IIS 10 with Windows Authentication NTLM - authentication problem when Dispatcher cache enabled

I have strange problem with AEM Dispatcher running on Windows Server 2019 on IIS 10 with Windows Authentication turned on. When AEM Dispatcher is configured to cache static files, the website can be accessed using Chrome, IE, Edge from Windows. It doesn't work using Firefox. Windows Authentication keeps asking about [...] read more
aem
windows-authentication
ntlm
iis-10
windows-server-2019
1vote
0answers

ASP.NET Core - Let's Encrypt - No credentials are available in the security package while creating certificate

I'm trying to get Let's Encrypt certificate through ACME protocol for my web application by using Lettuce Encrypt. I'm facing an issue (underlined in red bellow) while starting my application, and requesting a new certificate : > Win32Exception (0x8009030E): No credentials are available in the security > package No credentials [...] read more
c#
asp.net-core
ssl-certificate
lets-encrypt
1vote
1answer

Azure DevOps: pipeline can't use NuGet package from artifact

I'm trying to use a Azure DevOps Server 2019 (née TFS) project in multiple ways: * the Repos feature to keep the code, * the Artifacts feature to add some private packages, * the Pipelines feature to do CI (mainly just pull the packages, build from the code, publish to [...] read more
azure-devops
nuget
1vote
0answers

Having too many bindings breaks Windows Authentication

Our website starts prompting credentials after adding the 65th binding for the same site in IIS. Even if we enter credentials correctly, we are not able to authenticate. It’s the same for all bindings (Tested with 20th and 45th bindings). Using Windows Server 2012 R2 Disabling kernel-mode authentication fixes the [...] read more
iis
windows-authentication
http-status-code-401
kernel-mode
1vote
1answer

PowerCLI: how to provide a password or credential for a guest OS which has no password set?

I want some system info of a guest OS, the script goes like this: $script = '&"$env:ProgramFiles\Common Files\Microsoft Shared\MSInfo\msinfo32.exe" /report "$env:Tmp\inforeport"' Invoke-VMScript -ScriptText $script -VM $targetVM unfortunately it failed with the error: Invoke-VMScript SSPI NTLM: InitializeSecurityContext failed for target 'PC\TOM'. Error code: 0x8009030E PC\TOM is my username in my pc. [...] read more
vmware
vsphere
powercli
1vote
1answer

How to include domain user in Jenkins Job execution

I am automating a build process. The process requires deployment of application to a server, after deployment a few scripts have to be executed to share and provide permissions on the server. The scripts run when I login via domain user through powershell.I am using Jenkins for the CI/CD process. [...] read more
windows
powershell
jenkins
dns
continuous-deployment
1vote
1answer

Connecting to WMI Remotely with C# to a non-domain PC not working

I use the Microsoft.Management.Infrastructure namespace to connect to remote computers to get WMI information and it works. But when I try to connect to a non-domain PC it does not work. Can anyone pinpoint what I am doing wrong. Here is the code: string computer = "Computer_B"; string domain = [...] read more
c#
wmi
remote-access
credentials
winrm
1vote
1answer

Powershell remoting only with domain account

Im trying to create a PSSESSION between two Windows 2016 servers, both in the same domain. PSremoting is enabled and Test-Wsman works fine. I want to enter the remote session on target machine with a local admin-account of the target machine, provided by the -credentials parameter. But it just works [...] read more
powershell
powershell-remoting
winrm
1vote
1answer

IIS 7.5 site using impersonation does not have permissions to access Sharepoint web services

edit updated with new information I've been trying to configure a ASP.Net site to use windows authentication impersonation, and use this to call Sharepoint 2010 web services. I've enabled impersonation and windows authentication on the site, and given in a "classic" .net 4.0 app pool identity. I display the user [...] read more
sharepoint-2010
permissions
iis-7.5
0votes
1answer

Web Application Proxy SPN Delegation

Hopefully this will be a quick one but I keep drawing a blank on how to do this even after some frantic searching online. I have recently been tasked with adding resiliency to our WAP (Web Application Proxy) farm as we are publishing more apps internally and using ADFS for [...] read more
windows-server-2016
adfs
spn
web-application-proxy
0votes
0answers

AD: No TGT after logon

I’m investigating a domain where logon does not seem to produce a TGT. After logon with a test account, klist tgt outputs this: Current LogonId is 0:0x71647be1 Error calling API LsaCallAuthenticationPackage (Ticket Granting Ticket substatus): 1312 klist failed with 0x8009030e/-2146893042: No credentials are available in the security package I. e. [...] read more
windows
active-directory
kerberos
0votes
0answers

sql server can't identify CA Certificate

My company gives a new way to send an email that needs to install CA Cert and enable TLS1.2. But it can't be identified due to the CA certificate Common Name is not the machine name. I also try this way(the UPDATED 2 way: SSL Certificate missing from dropdown in [...] read more
sql-server
ssl
0votes
1answer

AcquireCredentialsHandleA() returns 0x8009030e (No credentials are available in the security package) for PFX file

I'm trying to setup server-side encryption using SSPI. I'm successfully (as far as I can tell) loading a certificate stored as a PFX file, but the call to m_pSSPI->AcquireCredentialsHandleA() returns 0x8009030e. This method seems to successfully load the file and return a CERT_CONTEXT object. HRESULT CTLSPackage::LoadCertContextFromFilePFX (PCWSTR pcwzFile, PCWSTR pcwzPassword, [...] read more
c++
winapi
sspi
schannel
0votes
1answer

Consuming Package From Private Azure Artifacts In Azure DevOps Server

I am using Azure DevOps On-Prem (Version Dev17.M153.3) and I have 2 projects. Let's say the first one is 'A' and the second one is 'B' PS: I am using my own build agent. A project doesn't have any dependency. B project depends on A project. I made a build [...] read more
azure-pipelines
azure-artifacts
build-agent
azure-devops-self-hosted-agent
azure-devops-server
0votes
2answers

Sql Server can't see my certificate

I need to install a certificate for encryption (replication) between an external vendor and my company. I cannot get a third party certificate for the FQDN of my server because the net part of that does not match a domain that we own (ie my FQDN is sqlservername.company.root.net but we [...] read more
encryption
ssl-certificate
sql-server-2008-r2
0votes
1answer

Upgrade to TFS 2017 HTTP Error 401.1 - Unauthorized

I have a Windows Server 2012 machine that is on our domain here at owrk. I upgraded our TFS from TFS2015 to TFS2017. When I try to open the dashboard in the web browser I get an HTTP Error 401.1 - Unauthorized You do not have permission to view this [...] read more
iis
tfs
tfs-2015
0votes
0answers

Error connecting Azure Service Fabric Cluster with Connect-ServiceFabricCluster

Below is the Cmdlet I am using to connect azure fabric cluster, it was working until yesterday Connect-ServiceFabricCluster -ConnectionEndpoint "FQDN:19000" -KeepAliveIntervalInSec 10 -X509Credential -ServerCertThumbprint $ClientCertificateThumbprint ` -FindType FindByThumbprint -FindValue $ClientCertificateThumbprint ` -StoreLocation CurrentUser -StoreName My Error: > ErrorCode : Unknown Message : An error occurred during this operation. Please > [...] read more
powershell
azure
azure-service-fabric
azure-powershell
azure-deployment
0votes
2answers

Executing a script remotely on non-domain Target from server on Domain

I am stuck with a very specific problem: My infrastructure: 1. Driver script on a Server in organization domain – uses delegated credentials based on user login 2. Target VM – not on organization domain – different local credentials that need to be passed 3. Shared network drive with data [...] read more
powershell
0votes
3answers

PowerShell remoting using a remote local account on a computer on the same domain

I've made a app in C# that remotly updates the hosts file of the computers on our domain using powershell remoting. It works great but entry level IT Support position in our company do not have their domain accounts part of the admin group on our workstations. They can however [...] read more
powershell
powershell-remoting

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0