Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Login failed for user 'DOMAIN\MACHINENAME$'



  • Hi,
    I have Proget 4.6.5 installed with the standard settings , existing SQL Server Instance and Network Service for the account ProGet will run as.
    When calling http://localhost:81 I get an logon error for user 'DOMAIN\MACHINENAME$' (SqlException (0x80131904)


    Serverfehler in der Anwendung /.

    Fehler bei der Anmeldung für den Benutzer "DOMAIN\MACHINENAME$".
    Beschreibung: Unbehandelte Ausnahme beim Ausführen der aktuellen Webanforderung. Überprüfen Sie die Stapelüberwachung, um weitere Informationen über diesen Fehler anzuzeigen und festzustellen, wo der Fehler im Code verursacht wurde.

    Ausnahmedetails: System.Data.SqlClient.SqlException: Fehler bei der Anmeldung für den Benutzer "DOMAIN\MACHINENAME$".

    Quellfehler:

    Beim Ausführen der aktuellen Webanforderung wurde einen unbehandelte Ausnahme generiert. Informationen über den Ursprung und die Position der Ausnahme können mit der Ausnahmestapelüberwachung angezeigt werden.

    Stapelüberwachung:

    [SqlException (0x80131904): Fehler bei der Anmeldung für den Benutzer "DOMAIN\MACHINENAME$".]
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +356
    System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +117 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +267
    System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource1 retry, DbConnectionOptions userOptions) +318 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource1 retry) +132
    System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource1 retry) +246 System.Data.SqlClient.SqlConnection.Open() +122 Inedo.Data.SqlServerDatabaseContext.CreateConnection() +356 Inedo.Data.DatabaseContext.ExecuteInternal(String storedProcName, GenericDbParameter[] parameters) +204 Inedo.Data.<Read>d__21.MoveNext() +114
    System.Collections.Generic.List1..ctor(IEnumerable1 collection) +452
    System.Linq.Enumerable.ToList(IEnumerable1 source) +70 Inedo.ProGet.InternalConfig.ReadConfigValues() +13 Inedo.ProGet.LazyCached1.GetValue() +98
    Inedo.ProGet.ProGetConfig`1.ReadBoolean(String key) +59
    Inedo.ProGet.Proxy.get_Enabled() +39
    Inedo.ProGet.WebApplication.<BeginFirstRequestAsync>d__3.MoveNext() +1267
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +14139120
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
    Inedo.Web.<HandleBeginFirstRequestInternal>d__27.MoveNext() +455
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    Inedo.Web.InedoHttpModule.ProcessEnd(IAsyncResult ar) +118
    System.Web.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) +116

    Versionsinformationen: Microsoft .NET Framework-Version:4.0.30319; ASP.NET-Version:4.6.1586.0

    How can a solve this issue?

    Product: ProGet
    Version: 4.6.5



  • In this case, you are pointing PRoGet to a SQL Server on a different machine.

    You will need to either use a different connection string (name/[assword), run proget service/web under a domain account and continue to use integrated auth, or allow connections from that machine in SQL Server (not recommended).



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation