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
469 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
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
dportas earned 500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now