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
464 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This article describes some very basic things about SQL Server filegroups.
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

772 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

14 Experts available now in Live!

Get 1:1 Help Now