ASPNET login

  • I have both SSE 2005 Beta and VS.NET 2005 Beta. I have a mdf file in c:\intetpub\wwwroot\....So I do the following:

    try

    sp_grantlogin [newdell\apsnt]

    go

    use databasename

    go

    sp_grantdbacces [newdell\aspnet]

    it doesn't like the second command (use databasename). It tells me entry not found. What am I doing wrong?

  • If you have a database named "yaip"

    then you need to say ...

    use database yaip

    You aren't telling SQLServer what database to use.

    HTH

    B.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply