Ask a Question related to ASP Database, Design and Development.
-
ben h #1
GRANT EXECUTE not working
How do I correct this error??
GRANT EXECUTE ON procMyProc TO NEVUS\IUSR_NEVUS
Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '\'.
This is the IIS web account for my machine, and the database user name
and login name are the same. I can't change the login name, can I?
I'm trying to script privileges to a bunch of user stored procs to the
web user account. Maybe there's another way?
Ben
ben h Guest
-
The real Andrew Grant
My name is Andrew Grant. I am a certified Macromedia Instructor and a Certified Advanced Coldfusion Developer. I have published many tech articles... -
Grant Command Syntax
I've got a MySQL database which contains users and their passwords. I have a PHP script that allows me to add new users and passwords to the... -
Why does Grant command fail?
I issued the mysql command Grant all on *.* to myid@localhost identified as "mypw"; and recieved the error message ERROR 1045: Access denied... -
Grant access
Excellent question. I am having the same problem. My computers are not on a "domain", just a workgroup. They are both dhcp clients being... -
How can i grant priviledge to user joaquin???
Hi I just created a user in Oracle9i with: Creates user -- Create user joaquin identified by joaquin; Grants access database -- Grant connect... -
Aaron [SQL Server MVP] #2
Re: GRANT EXECUTE not working
\ is not a valid character in an identifier, so you need to surround the
username with [].
GRANT EXEC ON procMyProc TO [NEVUS\IUSR_NEVUS]
--
[url]http://www.aspfaq.com/[/url]
(Reverse address to reply.)
"ben h" <none@noone.com.invalid> wrote in message
news:%23eH6B0XaEHA.384@TK2MSFTNGP10.phx.gbl...> How do I correct this error??
>
> GRANT EXECUTE ON procMyProc TO NEVUS\IUSR_NEVUS
>
> Server: Msg 170, Level 15, State 1, Line 1
> Line 1: Incorrect syntax near '\'.
>
> This is the IIS web account for my machine, and the database user name and
> login name are the same. I can't change the login name, can I?
>
> I'm trying to script privileges to a bunch of user stored procs to the web
> user account. Maybe there's another way?
>
> Ben
Aaron [SQL Server MVP] Guest



Reply With Quote

