Go Back   Rhinocerus > Newsgroup > Newsgroup comp.databases.* > Newsgroup comp.databases.ms-sqlserver

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-29-2012, 09:46 PM
tbone
Guest
 
Posts: n/a
Default Can't delete sp_makewebtask

I have a need to remove sp_makewebtask in sql server 2005. I am
logging in with a user that is in the sysadmin role however when I try
to run the command: drop procedure sp_makewebtask
I receive:
Msg 3701, Level 11, State 5, Line 1
Cannot drop the procedure 'sp_makewebtask', because it does not exist
or you do not have permission.
The same thing happens for xp_makewebtask. Is it possible to drop
these procedures? If so how do I do it?
Reply With Quote
Alt Today
Advertising
 
and become member of Rhinocerus
Standard Sponsored Links

  #2 (permalink)  
Old 05-29-2012, 10:13 PM
Bob Barrows
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

tbone wrote:
> I have a need to remove sp_makewebtask in sql server 2005. I am
> logging in with a user that is in the sysadmin role however when I try
> to run the command: drop procedure sp_makewebtask
> I receive:
> Msg 3701, Level 11, State 5, Line 1
> Cannot drop the procedure 'sp_makewebtask', because it does not exist
> or you do not have permission.
> The same thing happens for xp_makewebtask. Is it possible to drop
> these procedures? If so how do I do it?


You might be in the wrong database. What database are you using when you run
this command?


Reply With Quote
  #3 (permalink)  
Old 05-29-2012, 11:16 PM
tbone
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

On Tuesday, May 29, 2012 4:13:40 PM UTC-6, Bob Barrows wrote:
> tbone wrote:
> > I have a need to remove sp_makewebtask in sql server 2005. I am
> > logging in with a user that is in the sysadmin role however when I try
> > to run the command: drop procedure sp_makewebtask
> > I receive:
> > Msg 3701, Level 11, State 5, Line 1
> > Cannot drop the procedure 'sp_makewebtask', because it does not exist
> > or you do not have permission.
> > The same thing happens for xp_makewebtask. Is it possible to drop
> > these procedures? If so how do I do it?

>
> You might be in the wrong database. What database are you using when you run
> this command?


I have tried master and msdb as well as a user db.
Reply With Quote
  #4 (permalink)  
Old 05-30-2012, 01:03 AM
Bob Barrows
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

tbone wrote:
> On Tuesday, May 29, 2012 4:13:40 PM UTC-6, Bob Barrows wrote:
>> tbone wrote:
>>> I have a need to remove sp_makewebtask in sql server 2005. I am
>>> logging in with a user that is in the sysadmin role however when I
>>> try to run the command: drop procedure sp_makewebtask
>>> I receive:
>>> Msg 3701, Level 11, State 5, Line 1
>>> Cannot drop the procedure 'sp_makewebtask', because it does not
>>> exist or you do not have permission.
>>> The same thing happens for xp_makewebtask. Is it possible to drop
>>> these procedures? If so how do I do it?

>>
>> You might be in the wrong database. What database are you using when
>> you run this command?

>
> I have tried master and msdb as well as a user db.


I've just discovered they are located in the System.Resource database, which
is read-only so it appears you cannot delete them. What will be gained by
deleting them? You can disable them easily enough.


Reply With Quote
  #5 (permalink)  
Old 05-30-2012, 07:21 AM
Erland Sommarskog
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

tbone (tony.despain@gmail.com) writes:
> I have a need to remove sp_makewebtask in sql server 2005. I am
> logging in with a user that is in the sysadmin role however when I try
> to run the command: drop procedure sp_makewebtask
> I receive:
> Msg 3701, Level 11, State 5, Line 1
> Cannot drop the procedure 'sp_makewebtask', because it does not exist
> or you do not have permission.
> The same thing happens for xp_makewebtask. Is it possible to drop
> these procedures? If so how do I do it?


Why do you need to do this? They are system procedures, and you can't drop
them.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Reply With Quote
  #6 (permalink)  
Old 05-30-2012, 03:36 PM
tbone
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

On Wednesday, May 30, 2012 1:21:07 AM UTC-6, Erland Sommarskog wrote:
> tbone (tony.despain@gmail.com) writes:
> > I have a need to remove sp_makewebtask in sql server 2005. I am
> > logging in with a user that is in the sysadmin role however when I try
> > to run the command: drop procedure sp_makewebtask
> > I receive:
> > Msg 3701, Level 11, State 5, Line 1
> > Cannot drop the procedure 'sp_makewebtask', because it does not exist
> > or you do not have permission.
> > The same thing happens for xp_makewebtask. Is it possible to drop
> > these procedures? If so how do I do it?

>
> Why do you need to do this? They are system procedures, and you can't drop
> them.
>
> --
> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>
> Books Online for SQL Server 2005 at
> http://www.microsoft.com/technet/pro...ads/books.mspx
> Books Online for SQL Server 2000 at
> http://www.microsoft.com/sql/prodinf...ons/books.mspx


If I can't get rid of them how does one disable them? I have removed execute permissions for the public role, is that what you mean by disable?
Reply With Quote
  #7 (permalink)  
Old 05-30-2012, 04:47 PM
Bob Barrows
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

tbone wrote:
> On Wednesday, May 30, 2012 1:21:07 AM UTC-6, Erland Sommarskog wrote:
>> tbone (tony.despain@gmail.com) writes:
>>> I have a need to remove sp_makewebtask in sql server 2005. I am
>>> logging in with a user that is in the sysadmin role however when I
>>> try to run the command: drop procedure sp_makewebtask
>>> I receive:
>>> Msg 3701, Level 11, State 5, Line 1
>>> Cannot drop the procedure 'sp_makewebtask', because it does not
>>> exist or you do not have permission.
>>> The same thing happens for xp_makewebtask. Is it possible to drop
>>> these procedures? If so how do I do it?

>>
>> Why do you need to do this? They are system procedures, and you
>> can't drop them.
>>
>> --
>> Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
>>
>> Books Online for SQL Server 2005 at
>>

http://www.microsoft.com/technet/pro...ads/books.mspx
>> Books Online for SQL Server 2000 at
>> http://www.microsoft.com/sql/prodinf...ons/books.mspx

>
> If I can't get rid of them how does one disable them? I have removed
> execute permissions for the public role, is that what you mean by
> disable?

Wow, no access to Books Online or Google? Here you go. From:
http://www.kodyaz.com/articles/enabl...kewebtask.aspx

sp_configure 'Web Assistant Procedures', 0;
Reconfigure;




Reply With Quote
  #8 (permalink)  
Old 06-07-2012, 05:49 PM
tbone
Guest
 
Posts: n/a
Default Re: Can't delete sp_makewebtask

Ok that was already done, thanks for the info, I think I'll just have to tell our audit script programmer that 2005 doesn't allow that to be dropped whereas it did in 2000.
Reply With Quote
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 03:57 PM.


Copyright ©2009

LinkBacks Enabled by vBSEO 3.3.0 RC2 © 2009, Crawlability, Inc.