Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- From: "Keith" <keith@xxxxxxx>
- Date: Fri, 24 Aug 2007 14:24:35 -0700
Anyone have some thoughts on this?
"Keith" <keith@xxxxxxx> wrote in message
news:e3YF57O5HHA.5160@xxxxxxxxxxxxxxxxxxxxxxx
OK,
This morning I thought "Hey, I bet I can change the instance's registry
values for the tcp ports!" and bypass all this other stuff. I changed
them using regedit and everything seems to work fine, so I wrote some C#
code to do to test it out and
"UnauthorizedAccessException: Cannot write to Registry Key."
StackTrace = " at
System.ThrowHelper.ThrowUnauthorizedAccessException(ExceptionResource
resource)\r\n at Microsoft.Win32.RegistryKey.SetValue(String name,
Object value, RegistryValueKind valueKind)\r\n at
Microsoft.Win32.RegistryKey.SetValue(String name, Object va...
I'm not sure what to do about this since the exception contains no helpful
information.
Suggestions?
.
- References:
- SQL Express: is there a commandline way to set the default static port of a named instance?
- From: Keith
- Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- From: Rick Byham, \(MSFT\)
- Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- From: Keith
- Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- From: Keith
- SQL Express: is there a commandline way to set the default static port of a named instance?
- Prev by Date: RE: How can I remove Public access to SQL Express db's?
- Next by Date: Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- Previous by thread: Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- Next by thread: Re: SQL Express: is there a commandline way to set the default static port of a named instance?
- Index(es):
Relevant Pages
|