473,406 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

sp_configure missing - need to allow updates!

Hi,

I have a database server (SQL 6.5 sp5a on NT4) and it is running ok,
however when I tried to run sp_configure - it doesn't exist! It looks
like a number of stored procedures are missing in the Master database
and in order to recreate them (via script taken from other db server) i
need to change the configuration setting to allow updates. But am in
catch 22 - can't change the allow updates setting to 1 as sp_configure
doesn't exist.

Any ideas with how I can change the allow updates settings without
having to use sp_configure?

I would prefer not to rebuild the Master db if at all possible as it
will incur downtime and as I said the server is running ok at the
moment.

Any help would be fantastic as have run out of ideas..

Jul 23 '05 #1
1 2422
You should be able to go to another server and look at the code from
sp_configure, then *very carefully* trace through the code as it would
run if you passed it the proper parameters. Run that code on your bad
server and you should then be able to recreate the stored procedures.

I've never actually tried this, so I suggest that you test it on a test
server until you are comfortable with it.

The important parts of sp_configure are:

---------------------------------------
select @confignum = number
from master.dbo.spt_values,master.dbo.sysconfigures c
where type = 'C'
and (@configvalue between low and high or @configvalue = 0)
and name like '%' + @configname + '%'
and number = c.config
and
((c.status & 2 <> 0 and @show_advance = 1)
OR
(c.status & 2 = 0)
)

update master.dbo.sysconfigures set value = @configvalue
where config = @confignum
---------------------------------------

The rest of the stored procedure deals with error handling and with
determining what to do with parameters that are not a full config name
with a value.

Good luck,
-Tom.

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Andrew Clancy | last post by:
Hi, I'm reposting this question as no resultion as yet. Couple of updates, so re-read if you have seen before. I am trying to set up VS Developer users with non-administrator rights debug ASP...
0
by: serenabarker | last post by:
Hi, I have a database server (SQL 6.5 sp5a on NT4) and it is running ok, however when I tried to run sp_configure - it doesn't exist! It looks like a number of stored procedures are missing in...
6
by: Sharon and James | last post by:
If I build a debug or release version of a C# program using VS .Net and try to run the app on a W98 machine, I get the following error: A required .DLL file, MSCOREE.DLL, was not found. Are the...
1
by: Eric D. Nielsen | last post by:
I'm in the process of implementing a "monitor this" type feature on a web-application. When something changes on the monitored item an email to the subscriber is generated. I'd like to do this...
20
by: mike | last post by:
I help manage a large web site, one that has over 600 html pages... It's a reference site for ham radio folks and as an example, one page indexes over 1.8 gb of on-line PDF documents. The site...
3
by: Fred Chateau | last post by:
Still working on my XML DataSet... Having moved on past difficult and complex problems, resolved with the assistance of everyone here, I find myself facing yet another problem. My XML document...
11
by: Peter Webb | last post by:
I previously asked about two problems I had with some graphics - the first was that when I drew animation to a picturebox it wouldn't display when the Form loaded. It was suggested to me by...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
8
by: Nick | last post by:
Hi there, I have a GridView in an UpdatePanel, each time the UpdatePanels Load event fires I set the DataSource and call DataBind of the grid view. This works great once, I add an item to the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.