Re: Can't run views and stored procedures



Thanks. I am using Windows Authentication.

Do I need to manually set the permissions even if the view and stored proc
were created in VS 2003 Server Explorer (right click/ New)?

I am logged in as admin on the development machine which is running Win
Server 2003, SQL 2000, IIS 6, ASP.net 1.1 and VS 2003. I am a member of VS
developers group.

By the way, just as a sanity check, the same view and stored proc worked
just fine when I loaded VS with a windows forms app that contains the same
connection string (except a Modifiers property set to Friend whereas web
form conn str set to Protected - all by VS not me). The win form has the
same code behind as the web form. So it seems like the permissions are right
for windows but somehow not right for web.


"David Wier" <dw@xxxxxx> wrote in message
news:OH4Cc2kcIHA.1960@xxxxxxxxxxxxxxxxxxxxxxx
If you've got Windows authentication on your connectionstring to SQL
Server, you must grant execute permissions on sProcs to the same user
named in the connectionstring

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
no bloated markup


"John Dohn" <noemail@xxxxxxxxxxx> wrote in message
news:OUhWzzkcIHA.5208@xxxxxxxxxxxxxxxxxxxxxxx
I can work with them just fine in VS but when I run my app, I get a select
permission denied error on any view and execute permission denied on any
SP in my web app.

All was worked fine until Friday and not since then.

Win Server 2003 SP4
VS 2003
ASP.NET 1.1
IIS 6.0

I am developing on the server machine and am logged in with admin
privileges.
My account is in the VS Developers group.

Looking for the best way to troubleshoot this.

Much obliged.








.



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • RE: Windows 2003 Server - Everyone Group
    ... this folder only accessable by the users in the "special" group. ... Configure User and Group Access on an Intranet in Windows Server ... NTFS files system permissions control ... group that you want to set permissions for, click Check Names to verify the ...
    (microsoft.public.win2000.networking)
  • Fail DBD::Mysql 4.003 installation
    ... This test requires a running server and write permissions. ... permissions, then retry. ... Failed 9/9 tests, 0.00% okay ...
    (perl.dbi.users)
  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • Re: Virtual Directory - Permission Denied with fso CopyFile
    ... TestUser (normal user account with same credentials on all machines). ... I created a share on a remote server. ... reviewing it's sharing permissions and security tab permissions "everyone" ... "directory security" tab on the vdir and selecting, edit, edit and manually ...
    (microsoft.public.inetserver.iis)