Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell.  How do I get them back?

Posted on 2009-05-05
2
Medium Priority
?
489 Views
Last Modified: 2012-06-21
My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell.  How do I get them back?   I'm not a SQL expert, we are running Everest Accounting system that uses MS SQL 2000.  There support person is the one who determined the missing procedures.

Thanks! In advance
0
Comment
Question by:Mr_Comdata
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
dportas earned 2000 total points
ID: 24313052
Do you have a backup of the Master database?
http://msdn.microsoft.com/en-us/library/aa173515.aspx
If not, you may have to rebuild it if you really want those procs back. Although you can recreate xp_cmdshell I don't think you can do that without sp_addextendedproc.

Firstly, are you sure sp_addextendedproc isn't there? Check it yourself. Secondly, do you actually NEED either of these procs? They are not often used and in fact xp_cmdshell is very often removed by administrators for security reasons. It may well be that your system can work just fine without either of the procs.

If you really must fix it, then consider rebuilding master. Best to get some help from someone who has done it before. Make sure you have good backups of everything and be sure you know how to get your server up and working again. If you aren't confident of doing that then find or hire some help - it may only take less than an hour to do if all goes smoothly.
http://msdn.microsoft.com/en-us/library/aa214014(SQL.80).aspx
0
 
LVL 22

Expert Comment

by:dportas
ID: 24357868
Glad if that helped. I'm interested to know how you resolved this because I haven't heard of sp_addextendedproc being missing before. Was it really missing and did you have to rebuild master?
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question