Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 12
  1. #1

    Impossibile eseguire l'accesso per l'utente 'sa'.

    need help!
    ho installato sqlserver, dicendogli sempre
    "autenticazione windows"
    ma mi dà sempre questo errore, come devo fare?

    Impossibile eseguire l'accesso per l'utente 'sa'.


    su un altro pc funzionava, adesso non va più

    please. sono davvero incasinato!!!
    One bug, one crash

  2. #2
    Utente di HTML.it L'avatar di Gioba66
    Registrato dal
    Jun 2002
    Messaggi
    2,189
    ma l'utente sa esiste?
    ti stai collegando in locale?
    Tutti vogliono parlare, nessuno sa ascoltare.

  3. #3
    credo che sa esista di default, dato che è system admin


    mi collego in locale
    One bug, one crash

  4. #4
    Utente di HTML.it L'avatar di Gioba66
    Registrato dal
    Jun 2002
    Messaggi
    2,189
    controlla se esiste e che tu stia usando la password giusta
    Tutti vogliono parlare, nessuno sa ascoltare.

  5. #5
    ho già provato
    l'utente esiste, e la pwd glielo ho data io.
    ma niet.

    +ttosto, pensavo...

    non è che bisogna fare qualche configurazione?
    notare che io ho solo creato una nuova registrazione, e nient'altro.

    non è che bisogna impostare una roba che si chiama 'replica' 'server di distribuzione'.

    buah
    One bug, one crash

  6. #6
    Utente di HTML.it L'avatar di comas17
    Registrato dal
    Apr 2002
    Messaggi
    6,523
    Puoi fare due cose:

    cancelli la registrazione e ne crei un'altra usando la "SQL Server Authentication" (mixed mode) che ti abilita l'utente 'sa' oppure puoi anche fare una piccola modifica nel registro :

    Tratto da "Microsoft Knowledge Base Article - 285097"

    By default, SQL Server 2000 installation sets the login authentication to Windows authentication mode. This can be easily changed after the install by connecting to the server by using any installation of SQL Server Enterprise Manager (SEM).
    For more information regarding changing authentication mode by using SEM, refer to the "Authentication" topic in SQL Server Books On-Line.

    Another way to change the security mode after installation is to stop SQL Server and set the appropriate registry key for your installation:

    Default instance:

    HKLM\Software\Microsoft\MSSqlserver\MSSqlServer\Lo ginMode

    Named instance:

    HKLM\Software\Microsoft\Microsoft SQL Server\Instance Name\MSSQLServer\LoginMode

    to 2 for mixed-mode or 1 for integrated.

    WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

    To set this key, follow these steps:
    Stop SQL Server and all related services, such as SQLAgent, from the Services control panel.
    Click Start, click Run, type regedt32, and then click OK.
    Find the HKEY_LOCAL_MACHINE window on the local computer.
    Navigate to the following registry key for the default instance:

    HKEY_LOCAL_MACHINE\Software\Microsoft\MSSqlserver\ MSSqlServer


    Navigate to the following registry key for a named instance:

    HKLM\Software\Microsoft\Microsoft SQL Server\Instance Name\MSSQLServer\LoginMode


    On the right-hand pane, find the value LoginMode and double-click it.
    In the DWORD Editor window, set the value to 2. Also, make sure that the Hex radio button is selected.
    Click OK.
    Restart SQL Server and SQL Server Agent services for this change to take effect.

    L'ho fatto alcune volte senza alcun problema
    Ciao

  7. #7
    mah... io ho provato a fare come te...
    l'errore è questo

    Microsoft OLE DB Provider for SQL Server (0x80004005)
    Impossibile eseguire l'accesso per l'utente 'sa'. Motivo: l'utente non è associato a una connessione SQL Server trusted.
    e mi collego con questo

    connessione_db = "Provider=sqloledb;" & _
    "Data Source=127.0.0.1;" & _
    "Initial Catalog=sqp" & _
    "UID=sa;"




    bah

    grazie per l'aiuto!
    One bug, one crash

  8. #8
    Utente di HTML.it L'avatar di Gioba66
    Registrato dal
    Jun 2002
    Messaggi
    2,189
    non vedo la password...
    Tutti vogliono parlare, nessuno sa ascoltare.

  9. #9
    ma c'è un modo speciale per asseganre 'sta cazzo di sql trusted a qualcuno?? io non l'ho ancora capito!
    One bug, one crash

  10. #10
    hai ragione, ma sa non ha password, e poi l'errore che dà non è password sbagliata, ma è proprio utente non trovato. inoltre ho provato a creare un nuovo user come db owner, dandogli nome e pass, ma non funge nemmeno quello
    One bug, one crash

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.