Ask a Question related to Coldfusion Database Access, Design and Development.
-
l_eric_l #1
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
-
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... -
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... -
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... -
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... -
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: ... -
mpwoodward *TMM* #2
Re: SQL Server Logins Issues
l_eric_l wrote:
Can you hit the database at all from CF? Are you sure you have mixed> 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
>
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
-
l_eric_l #3
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
-
mpwoodward *TMM* #4
Re: SQL Server Logins Issues
l_eric_l wrote:
Hmm ... not sure. Is the SQL Server on the same physical machine as CF> 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
>
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



Reply With Quote

