Re: Very simple SELECT stored procedure permission denied error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Mary Chipman (mchip_at_online.microsoft.com)
Date: 10/16/04


Date: Sat, 16 Oct 2004 10:28:52 -0400

Creating new tables is not something you want to do from a Web
application on a regular basis. If you open a Profiler trace on the
application, you will see that it is using the aspnet worker process
account to connect to the server. This is not an account that you want
to run with the elevated permissions necessary to create database
objects. Reason: it would create a giant security hole. You might find
the ASP.NET Security Best Practices whitepaper helpful, which you can
download from:
http://www.microsoft.com/downloads/release.asp?ReleaseID=44047

--Mary

On 16 Oct 2004 07:12:47 -0700, dotnw@hotmail.com (Dot net work) wrote:

>Hello,
>
>I can't get this very simple stored procedure to execute from within
>my ASP.NET application:
>
>SELECT * into MyTempTable from MyTable
>
>The error returned is
>
>CREATE TABLE permission denied in database 'MyTable'.
>
>I've tried setting lots of permission settings that I can see inside
>Enterprise Manager, but it still won't execute.
>
>Can anyone help please? TIA, regards, dnw.



Relevant Pages

  • Re: System.Security.SecurityException was unhandled
    ... The exception gave you the CLSID. ... the first thing to check might be whether the COM server ... assembly actually has the permission in question. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: System.Security.SecurityException was unhandled
    ... assembly actually has the permission in question. ... Try and find the sorce of the security permission error, ... setting was done on both versions 1.1 and 2.0 .NET framework. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: System.Security.SecurityException was unhandled
    ... Is it a must that I need to register the COM server to the machine using ... CAS permissions on the client machine, and the COM issue is a new problem. ... assembly actually has the permission in question. ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)
  • Re: SQL CLR Sproc isnt running right
    ... did you grant rights using the SQL Server 2005 Surface Area Config tool? ... and I got a permissions error back saying DBO doesn't have permission to insert records into the table... ... but the assemblie's stored procedures do all have execute permissions set for the role that the executing user is in... ... "William Vaughn" wrote in message ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: System.Security.SecurityException was unhandled
    ... I was using Oracle so was getting an Oracle permission problem. ... setting was done on both versions 1.1 and 2.0 .NET framework. ... On the server or the client? ... When I execute the application I received and error message. ...
    (microsoft.public.dotnet.security)