SQL Server Window Authentication Slow

Hi
   We are using SQL Server 2012. When we run our applications with window authentication it runs really slow. But if we use same application with database user authentication then it runs really fast.
    Any Suggestion?
thanks
Drew

Hi Drew,
When you use Windows Authentication I assume your are using domain accounts (no local account). Your database server has probably some issue connecting to Active Directory. You might have similar delay logging on to the server using a domain account and
or rebooting the server might also be slow. Most likely your DNS server settings on that server or on your client are incorrect or out of date.
You can check this from the Command Prompt with the IPCONFIG.EXE /ALL command. Make a note of configured DNS servers. The configured DNS servers should ONLY be the DNS servers from the Active Directory domain (typically those are the same servers as the
domain controllers). You should remove any DNS servers from the Internet.
Why does this matter? You may ask. SQL Server needs to connect to the domain controller to verify your credentials. to that it first needs to know the IP address of the domain controller. This information is stored on a DNS server in your Active Directory
domain, not on public DNS servers on the Internet. If your server is configured with public DNS servers from the Internet, requesting this information will fail and cause an delay until either a correct DNS server is contacted or the domain controller is contacted
using legacy (NTLM) methods.
You may have a more complicated situation if more Active Directory domains are involved (e.g. domain trusts, forest trusts, complex nested group memberships.), or if the configured Domain Controller is located at another site and is only connected by a slow
link, or there is actually a performance issue with your domain controllers. In that case your Active Directory Administrator may supply with more information.
In short: check your DNS server settings.
Hope this helps.

Similar Messages

  • Get an error for changing the windows authentication mode to the both SQL and windows authentication mode

    I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode. 
    Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
    Following steps are the steps that I went but I got an error:
    Server properties >> security >> choose the option of SQL Server and Windows Authentication mode 
    and the error that I got is attached(access is denied)  
    Can you please help me?

    You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
    Here's a guide on how to (re)gain those rights:
    http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

  • Powershell for to list SQL Server Windows Groups

    Hi All:
    I m planning to write a script, to pull SQL Server Windows Groups members list by using powershell.
    By using dsa.msc i can view the members of a particular SQL widows groups., the same i want to do using powershell., is there any way to do this. I want to run this from remote machine.
    Please let me know how can we do this and per-requist... Already installed PowerShell 3.0 and loaded the recommended modules on it.
    Thanks,
    Satish Kumar.
    Thanks, Satish Kumar. Please mark as this post as answered if my anser helps you to resolves your issue :)

    Hi,
    I was able to run the command on the other machines with no problem. Have you tried right-clicking, Run As Administrator?
    According http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/29/use-active-directory-cmdlets-with-powershell-to-find-users.aspx
    “This warning message: “WARNING: Error initializing default drive: 'Unable to find a default server with Active Directory Web Services running.'” is generated because I have several domain controllers, and not all of them have
    the
    Active Directory Management Gateway Service installed. Depending on which domain controller authenticated my workstation, the warning appears. The solution is to install the Active Directory Management Gateway Service
    on all of the non-Windows Server 2008 R2 domain controllers. The other solution is to ignore the warning and specify the
    server parameter each time when using one of the cmdlets (but that will mean the PSDrive will be unavailable).”
    In addition, this issue is more related to PowerShell, for quick and accurate answers to your questions, it is recommended that you initial a new thread in our PowerShell forum for dedicated help.
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell
    Thanks.
    Tracy Cai
    TechNet Community Support

  • SQL Server Windows NT - 64 Bit in Windows Server 2012 R2 Standard

    Hi,
    We have started migrating our SQL Server 2005 version and Operating System 2003 to SQL Server 2012 and operating system 2012 R2 Standard.
    Before we restore the production database, we had created an empty database and tables. We ran couple of packages which were migrated to SSIS 2012 version from SSIS 2005 and those were working fine and we saw good performance compare to production server.
    Recently we have taken 2005 SQL Server database backup and restored on 2012 version. Since then we are facing performance issues on 2012 server. Below is the configuration of 2012 server
    Intel(R) Xenon(R) CPU E5-2650 v2 @2.60 GHZ 2.60 GHZ (2 processors), RAM - 32 GM and 64-Bit Operating System.
    We are using this server only for data loading from SSIS packages. We have set that this server to use MAX memory is 25 GB RAM. We have checked the memory usage of the server and seen SQL Server Windows NT - 64 bit process is taking total memory allotted
    and also taking 100% CPU utilization.
    Old Server Configuration is
    Intel(R) Xenon(TM) MP CPU 3.66 GHZ, RAM - 8 GB and 32-Bit Operating System
    Could you please let us know what was causing for the high memory utilization on our migration server and make the server for better performance?
    Attached the image of memory utilization.

    Hello,
    I would start by setting maxdop (max degree of parallelism) properly:
    http://blogs.msdn.com/b/sqlsakthi/p/maxdop-calculator-sqlserver.aspx
    Rebuilding indexes and statistics too.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Server Windows NT - 64 Bit RAM Consumption

    Hi,
    I'm using SQL Server Express 2012. I have database with 200 Mb actually.
    So, I want to know If is it normal
    if the process (app) 'SQL Server Windows NT - 64 Bit' use 400 MB from Ram (at all) and CPU up to 46% some times ?
    If my Server receive DDOS Attak on the TCP port of database ? How can I detect ? How can I solve it.
    Thanks

    Hi nadjibnet,
    SQL Server Windows NT -64 Bit is known as sqlservr.exe process, it is normal that SQL Server consumes as much memory as possible since SQL Server likes to cache data in memory to speed up access. You might have long running queries on SQL Server. Do you
    find any performance issues?
    If SQL Server is not installed on a dedicate production machine and you have other applications on the machine, you could limit the memory usage by
    configuring Max Server Memory according to your situation.
    In addition, about how to detect DDOS attack and block it, you could refer to the following article:
    https://sulich.wordpress.com/2012/06/27/detecting-ddos-attack-in-windows/. I suggest you to post the questions in the
    Windows Server forums. It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • Create dblink in Oracle/Linux (RHEL4) to MS SQL Server/Windows?

    Hi,
    Can anyone share me the procedure to Create dblink in Oracle/Linux (RHEL4) to MS SQL Server/Windows?
    Thanks

    Hi,
    to access non-Oracle systems you must use Oracle Heterogeneous Services.
    You have to follow the instructions from Heterogeneous Connectivity Administrator's Guide to perform it.
    Regs,
    Acr

  • SQL Server window nt-64bit on window 2012 R2

    I just installed windows 2012 R2 standard, and there is a process called "sql server window nt-64bit"  that consumes 15 GB of memory SQL Server, but I have not installed SQL Server. 
    My server have 32Gb RAM
    Where did that process?
    ¿can I control the memory consumption?
    cyber

    Hi Cybercosmos,
    Quote: Then I understand that SQL Server or part of it is  included on Windows 2012 Server STD R2, it is correct?? if it is so,  how can I control the memory consumption?
    No, the SQL Server is not included on Windows 2012 Server STD R2. It might  come with another program.
    The sqlservr.exe process is also known as SQL Server Windows NT (Version - 64 Bit). This process is required if we are using applications that rely on the SQL service (of which there are many). If you are sure you do not need it, you can uninstall the related
    program using Windows Control Panel.
    To remove SQL Server Windows NT from your computer, please follow the manual instructions below:
    Click the Windows Start Button, look for Control Panel.
    Click Control Panel.
    Click Uninstall a program.
    Look for SQL Server Windows NT in the list of available programs.
    Click Uninstall.
    If you have any question, please feel free to let me know.
    Regards,
    Donghui Li

  • SQL Developer: Windows Authentication on Linux

    Hello.
    I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does anyone have success using this option? It simply gives me an error that it is unable to login.
    Hope anyone can be of help. Thanks in advance.
    Stefan

    Just wondering why the option would be there in the linux version (which is different in other areas than the windows one).
    Is it not possible using Kerberos perhaps?
    regards

  • Sql developer + windows authentication

    Hi,
    Is it possible to use windows authentication to connect to windows databases when using sql developer? From what I have seen, it seems that it is not straight forward.
    Is ther any kind of work around?
    Thanks in advance for any help
    Seastian

    It is, but it it's complicated - at least from what I have experienced.
    First you need the jtds-1.2.1.jar on your machine (a tutorial here..http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html) - it doesn't mention that you need to unzip the file (from sourceforge.et) and add the SSO directory to your windows PATH variable.
    It gets complicated depending on the Win Server (e.g. clustered)
    On the Hostname I had to add this "ip adress":1433;instance=CVDEV instead of just the server's ip\CVDEV as you would do in a win connection
    And you get disappointed, from what I found out, you need a connection for each of the databases there (e.g. master, temp, etc) it doesn't show all the databases on the server under the same connection

  • Microsoft JDBC 2.0 driver for SQL:  Integrated Windows Authentication?

    Has anyone had success with the MS JDBC 2.0 driver for SQL and Integrated Windows Authentication in distributed mode (Multiserver)?  At best, we can get server-to-server authentication.

    Hello Thomas,
    You may want to download the driver again and install it again.
    heres a sample xml tag in the config.xml:
    <JDBCConnectionPool
    DriverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    InitialCapacity="3" MaxCapacity="12" Name="MSpool"
    Password="{3DES}fUz1bxR0zDg=" Properties="user=uid"
    Targets="myserver"
    URL="jdbc:microsoft:sqlserver://mydbserver:1433"/>
    ensure that you follow the instructions from Microsoft. For using 2000
    driver you will need to have
    Install_dir/lib/msbase.jar and Install_dir/lib/msutil.jar in addition to
    Install_dir/lib/mssqlserver.jar in the CLASSPATH.
    hth
    sree
    "Thomas" <[email protected]> wrote in message
    news:3c91ec0e$[email protected]..
    Hi,
    Has anybody used the JDBC 2.0 driver for sql server 2000 downloadable from
    the
    microsoft website?When I try using it with WL 6.1 sp1 it says it can't load
    the
    driver.I try viewing the class file from the jar file using the jar utility
    it
    gives an unknown Zip format error.Anybody has any solution for this ?If
    anybody
    has managed to work with this microsoft driver i will be grateful if they
    provide
    me with a solution.
    Thanks
    Thomas

  • Migrating DB from SQL Server (Windows) to Oracle (Unix)

    I wish to migrate a SQL Server 2000 database on a Windows environment to an Oracle database on a Unix environment.
    Are there any issues with using the Oracle Migration Workbench to migrate a SQL Server database to Oracle between different operating systems?
    Thanks in advance.

    Hi!
    After trying to migrate only a copule of schemas from sqlserver, my solution appeared by itself. It seems that something goes wrong if you migrate only selected users, so I build up a test instance in windows, made the workbench repository on it, and ran a full migration from all the users to this test environment.
    After this it was nice, cause I made an exp from the squema I wanted and imported it on production environment.
    PD: Migration logs only raised java related problems. I got quite crazy realizing what jdbc version I had, but it wasn't the problem.
    By the way, if you try to run sqlloader scripts, be careful with language issues, cause I had to reverse data loading because incorrect typos or so.
    Thanks a lot for your help.
    Mensaje editado por:
    manuel lopez

  • Oracle (Solaris) to SQL Server (NT Authenticated)

    How do I connect specify my connection (username/password) to a SQL Server database via ODBC (Merant/DataDirect) from a Sun Solaris if the SQL Server uses NT AUTHENTICATION?

    Ken,
    Please contact Oracle support for this issue.
    Vira

  • Oracle (Unix) to SQL Server (NT Authenticated)

    I've setup Heterogeneous Connectivity to connect from my Oracle Server (on Sun Solaris) to SQL Server database configured for NT User Authentication.
    I'm getting the following error from my ODBC driver (DataDirect/Merant):
    SQLConnect: Failed...
    SQLSTATE = 28000
    NATIVE ERROR = 18456
    MSG = [DataDirect][ODBC SQL Server Driver][SQL Server]Login failed for user 'KWood'.
    I'm not sure how to connect to the SQL Server database since it is authenticating logins via NT.
    My user account is a network id...
    Any ideas?
    Ken

    Ken,
    Please contact Oracle support for this issue.
    Vira

  • SQL and windows authentication login

    Please clear my doubt.
    If login is windows authntication, we can not lock and expire that account right. We can just disable that account.
    We can not do lock the account manually, if it is windows and sql logins.
    Please clear my doubt

    Hello Shashikala,
    In SQL Server you can manually disable a Windows and SQL Logins, but you can't lock them, you only manually unlock a SQL Login.; a SQL Server Login can be locked by SQL Server, if e.g. the password period has expired.
    Windows Logins can also be locked, but that happens on OS / AD level, not on/from SQL Server.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SSO under SQL Server/Windows

    Hi,
    What are the required parameters to configure SSO in ERP system running in SQL server with Windows OS?
    Do i need to configure SNC parameters too? if so , please let me know the parameters.
    Also how do i configure my desktop frontend to access the SSO? Is there any standard/customized doc or OSS notes, kindly let me know.
    regards
    RGC

    Thanks for your reply.
    I've already applied the required parameters in the ERP CI. I'm having problem with SAP GUI throwing error while logon... I did the below..
    Copied the gssntlm.dll to C:\windows\System32 folder and renamed to sncgss32.dll.
    RC My computer, Advanced tab- Environment Variable, under System variable i set SNC_LIB to C:\windows\system32\sncgss32.dll.
    Right click on the entry in SAP logon pad, properties - Network tab, enabled the SNC checkbox and provided the value:     p:<domain>\SAPServiceSID and login. got the error "Secure Network Connection (SNC) error"
    I tried changing the value to p:SAPServiceSID@<domain>, but the same error i'm getting.
    Any idea, which .dll file has to go to which location, what has to be set in environment variable, etc..
    regards
    RGC

Maybe you are looking for

  • How do I setup "port forwarding" on a Time Capsule on Mountain Lion?

    I am trying to set up a Foscam FI8910W so that I can access it remotely.  I have some tutorials about how to do it, but most seem to involve using an old OS and I'm getting hung up at the step that involves setting up port forwarding.  I have never d

  • How to transfer pics from ipone to iphone or put on the cloud

    I recently purchased a new ipone 4s but don't know how to transfer photos from my iphone 4.  I have numbers on the cloud, but I can't figure out how to add other things, notes, tasks, photos,,,

  • Re: purchases

    I have purchased music and have been charged for it but can't find it anywhere, i have followed the help guide but still no joy, i have been told my download is successful but still cannot find my purchase, please help me.

  • Flash Player 11.1/11.2 causing 32 bit IE to crash

    Hello, I have an interesting issue.  I have a Flex application which uses the FileReference object to save a file to the users computer.  In testing this no problems were found, it was a very basic piece of code.  However in production some users rep

  • Why is my WiFi grated out?

    I just put my new SIM card in, I just got this iPhone from my brother. He didn't have any problems with the WiFi. I have the iOS 7.1.1 update, please help.