Results 1 to 4 of 4

Thread: ASP.NET security with SQL Server 2005

  1. #1
    Join Date
    Dec 2008
    Posts
    87

    ASP.NET security with SQL Server 2005

    When i try to access web page i get error message : Login failed for user . The user is not associated with a trusted SQL Server connection. I am running Virtual machines (VMWare) for my development and DB server. Is this sql server 2005 security problem.

  2. #2
    Join Date
    May 2008
    Posts
    2,297

    Re: ASP.NET security with SQL Server 2005

    The SQL server has been configured to operate in "Windows Authentication Mode (Windows Authentication)" and doesn't allow. Change the Authentication Mode of the SQL server from "Windows Authentication Mode (Windows Authentication)" to "Mixed Mode (Windows Authentication and SQL Server Authentication)".

  3. #3
    Join Date
    Jan 2009
    Posts
    199

    Re: ASP.NET security with SQL Server 2005

    Sounds like the database is expecting SQL Authentication instead of Windows Authentication.View the SQL Server error log to ensure that processes have completed successfully.

  4. #4
    Join Date
    Dec 2008
    Posts
    177

    Re: ASP.NET security with SQL Server 2005

    SQL Server 2005 supports encryption capabilities within the database itself, fully integrated with a key management infrastructure. In Windows Authentication mode access is given based on a security token assigned during successful domain logon by a Windows account. To enable both authentication protocols: Go to Enterprise Manager > Right Click on Server Name > Select Properties > Go to Security Tab > Set authentication to SQL Server and Windows.

Similar Threads

  1. Replies: 1
    Last Post: 05-06-2011, 07:35 AM
  2. Replies: 27
    Last Post: 12-03-2010, 05:51 AM
  3. Replies: 16
    Last Post: 16-10-2009, 12:52 PM
  4. Replies: 0
    Last Post: 15-07-2008, 12:47 PM
  5. Upgrade fails: SQL Server Express 2005 to SQL Server 2005
    By Steve BB in forum Small Business Server
    Replies: 3
    Last Post: 11-06-2008, 07:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,500,189.25015 seconds with 16 queries