Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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$'

    Scheduled Pinned Locked Moved Support
    sql-serverproget
    2 Posts 1 Posters 75 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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).

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation