Results 1 to 4 of 4

Thread: SQL Server access - login fails

  1. #1
    Rajya is offline VB.NET Forum Newbie
    .NET Framework
    Join Date
    Apr 2005
    Location
    Calcutta, India
    Posts
    22
    Reputation
    101

    SQL Server access - login fails

    Hi

    I am using SQL Server 2000 with ASP.NET (in VS.NET).
    How do I implement login / access to the database server?

    As I am developing on W2k, I am using Trusted Connection & have created a new Login in SQl Server (\Logins) for the user MYPC/ASPNET.

    Its working on my dev machine, but when I copied the entire Solution to another W2k dev machine, login failed even after I created a Login for the ..\ASPNET user in SQL Server.

    I know what I am doing is not the right way - how do I configure it all between ASP.NET & SQL Server?

    TIA

  2. #2
    levyuk is offline VB.NET Forum Master
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jun 2004
    Location
    Wales, UK
    Posts
    313
    Reputation
    118
    You might want to have a look at ASP.net 2 Beta. There are much easier ways of creating logins with ASP.net 2 Beta. I know it's only in beta right now but it should be released soon, or so I read somewhere.

  3. #3
    Rajya is offline VB.NET Forum Newbie
    .NET Framework
    Join Date
    Apr 2005
    Location
    Calcutta, India
    Posts
    22
    Reputation
    101

    SQL Server access - login fails

    Thanks for the ASP.NET 2 Beta info - where can I obtain a copy?

    Meanwhile, I stumbled across this article - basically, it confirmed as to what I had been implementing so long -

    HOW TO: Configure SQL Server Security for .NET Applications (
    http://support.microsoft.com/default...en-us%3B815154)

    Thanks

  4. #4
    levyuk is offline VB.NET Forum Master
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Jun 2004
    Location
    Wales, UK
    Posts
    313
    Reputation
    118
    This is where you can download Visual Web Developer 2005 Beta 2
    http://lab.msdn.microsoft.com/express/vwd/

    You will need to download the .net framework 2.0 for it to work. Although it might get installed when you install VWD

    And here are some nice tutorials on getting started.
    http://beta.asp.net/guidedtour2/default.aspx

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
  •  
Harvest time tracking