SQL Server Logins Issues

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default SQL Server Logins Issues

    Hi,

    I'm trying to create a user login on SQL Server 2000 using a SPROC which
    executes the sp_addlogin SPROC. This SPROC runs correctly when using Query
    Analyzer while being logged in as a window domain user. However, when I call
    this SPROC from a .cfm page logged in as a Standard SQL login user (which I've
    set to have server admin rights) I get the folloiwing error:

    Error Executing Database Query.
    [Macromedia][SQLServer JDBC Driver][SQLServer]SELECT permission denied on
    object 'sysxlogins', database 'master', owner 'dbo'.

    Why? The account is set to have total control of the server.

    TIA,
    Eric

    l_eric_l Guest

  2. Similar Questions and Discussions

    1. Testing Server Issues on Mac
      I posted last month about getting started with php and was excellently referred to and bought "Foundation PHP for DW". Excellent resource, but I...
    2. Two Server Logins to Same File
      I have a testing server to which I have connected Contribute. As the administrator of the site, I have my own personal login giving me access to...
    3. web server connection issues
      I downloaded a trial copy of Contribute and am considering it for my company. I like it a lot in general, but have had trouble connecting to ftp...
    4. memory Issues with 2003 Server
      I cannot run 4GB with my version of 2003 server. It works fine with 3GB but when the 4th gig is added it fails to boot. I have verified with the...
    5. File Server issues while using CS
      Like Cory says it's a problem with Xinet's Appleshare server. Install the patch as soon as you can. Here's what Apple says about it: ...
  3. #2

    Default Re: SQL Server Logins Issues

    l_eric_l wrote:
    > Hi,
    >
    > I'm trying to create a user login on SQL Server 2000 using a SPROC which
    > executes the sp_addlogin SPROC. This SPROC runs correctly when using Query
    > Analyzer while being logged in as a window domain user. However, when I call
    > this SPROC from a .cfm page logged in as a Standard SQL login user (which I've
    > set to have server admin rights) I get the folloiwing error:
    >
    > Error Executing Database Query.
    > [Macromedia][SQLServer JDBC Driver][SQLServer]SELECT permission denied on
    > object 'sysxlogins', database 'master', owner 'dbo'.
    >
    > Why? The account is set to have total control of the server.
    >
    > TIA,
    > Eric
    >
    Can you hit the database at all from CF? Are you sure you have mixed
    mode authentication turned on in SQL Server as opposed to just Windows
    authentication?

    Matt

    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

  4. #3

    Default Re: SQL Server Logins Issues

    Hey Matt,

    Yeah I have mixed mode authentication and no I can't even do a simple select
    on the master database. I've even redundantly added myself as a user in the
    users sections of the database with owner permissions.

    Any thoughts?

    TIA,
    Eric

    l_eric_l Guest

  5. #4

    Default Re: SQL Server Logins Issues

    l_eric_l wrote:
    > Hey Matt,
    >
    > Yeah I have mixed mode authentication and no I can't even do a simple select
    > on the master database. I've even redundantly added myself as a user in the
    > users sections of the database with owner permissions.
    >
    > Any thoughts?
    >
    > TIA,
    > Eric
    >
    Hmm ... not sure. Is the SQL Server on the same physical machine as CF
    or a different physical machine? If it's a different machine, can you
    try and connect to it using Enterprise Manager from the CF box? I'd
    just be curious if it's a connectivity problem in general or something
    specific with CF. The other thing you could try just for kicks is
    setting up an ODBC connection to the SQL Server from the CF box at the
    Windows level and see if you can get in that way. That will just help
    narrow things down a bit.

    Matt

    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion
    mpwoodward *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139