Re: Execute permission denied

From: Hari Prasad (hari_prasad_k_at_hotmail.com)
Date: 08/29/04

  • Next message: Hari Prasad: "Re: How to get create temp table permission for a user"
    Date: Sun, 29 Aug 2004 14:47:25 +0530
    
    

    Hi,

    After the reinstall of SQL 2000, did you restore the Master database and
    then followed the restore of all user databases. If it is the case then
    all the permissions for all Logins and users will be syncronized back.
    If you have not resored the Master database then the SID in sysLogins table
    will not syncronize with sysusers table. Refer the system procedure
    "sp_change_users_login" in books online. This will re-sync the logins and
    users.

    Thanks
    Hari
    MCDBA

    "Jon" <jsb@watersteward.com> wrote in message
    news:1aa501c48c8f$7c4a42b0$a501280a@phx.gbl...
    > I am accessing an s2k database from a web app using .net.
    > My server died and I had to reinstall s2k and now I am
    > getting "Execute permission denied" on my stored
    > procedures. The web app has not changed so I infer that
    > something's wrong with the setup on the database. The
    > connection string is as follows:
    >
    > "Password=xxxx;Persist Security Info=True;User
    > ID=WebUser;Initial Catalog=ScottWeb;Data
    > Source=SRV;Trusted_Connection=Yes"
    >
    > WebUser exists and has owner permission on the db.
    >
    > Thanks for any help.


  • Next message: Hari Prasad: "Re: How to get create temp table permission for a user"

    Relevant Pages

    • Re: Cant restore master db!!
      ... Login to sql server using query analyzer and retore the master database. ... After the restore .. ... Go to control panel and start the MSSQL server and Sql agent service. ...
      (microsoft.public.sqlserver.server)
    • Re: Single user mode
      ... You can restore the Master database backup to another SQL Server. ... restore Master database you have to start the sql server in single user. ...
      (microsoft.public.sqlserver.server)
    • Re: Single user mode
      ... In order to restore the databases, should I restore the Master Databases ... > restore Master database you have to start the sql server in single user. ...
      (microsoft.public.sqlserver.server)
    • Re: Single user mode
      ... You need to start SQL Server in single user mode from the ... After you restore the master database, ...
      (microsoft.public.sqlserver.server)
    • Re: Single user mode
      ... > but when i do that, i got an error message - Restore Database must be ... > used in single user mode when try to restore the master database. ... "Restoring the master Database from a Current Backup" ...
      (microsoft.public.sqlserver.server)