Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Friday, March 30, 2012

OPENQUERY and Windows Authentication

We have a SQL Server and an Oracle Instance. I have been using OPENQUERY to run queries on SQL Server to compare datasets on SQL Server with those in Oracle. Yesterday, I switched from using a SQL Server login to using Windows Authentication.
My OPENQUERY returned Msg 7399, "Access Denied". So, I added a new linked server login for my windows username:
EXEC sp_addlinkedsrvlogin
@.rmtsrvname = 'ORAINST',
@.useself = false,
@.locallogin = 'NTDOMAIN\NTGROUP',
@.rmtuser = 'ORAUSER',
@.rmtpassword = 'ORAPWD'
I continued getting the same error, after monkeying with the case of my @.loginlogin info and switching my NTUSER for NTGROUP; I finally opened up the login to all users on the server:
EXEC sp_addlinkedsrvlogin
@.rmtsrvname = 'ORAINST',
@.useself = false,
@.locallogin = NULL,
@.rmtuser = 'ORAUSER',
@.rmtpassword = 'ORAPWD'
I still get the same error. The examples in BOL suggest that setting up a linked server login for a windows user should be the same as for a SQL user. Any ideas what I should try next?You cannot create a mapping for a group...only a user.

But you seem to suggest that even that is not working.
Can you provide the complete error message. 7399 usually is followed by an error from the provider.

This might be a bit obvious but make sure the local login that is being used on the server is infact setup with the login mapping. sys.linked_logins view should give the current settings. Also make sure the oracle user name and password are correctly setup in the sytem catalogs.

Wednesday, March 28, 2012

Opening Solution clears previous queries in SSMS

Yikes!
Does anyone know of a way that I can open a solution but keep my current
query windows open? Every time I go to File -> Open -> Project/Solution, it
kills any query windows I was working in.
And while I'm here, is there a way to set SSMS to open with Solution the way
you can have it open a query window when you connect?
Help is appreciated. Thanks,
Catadmin
--
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)Catadmin wrote:
> Yikes!
> Does anyone know of a way that I can open a solution but keep my current
> query windows open? Every time I go to File -> Open -> Project/Solution,
it
> kills any query windows I was working in.
> And while I'm here, is there a way to set SSMS to open with Solution the w
ay
> you can have it open a query window when you connect?
> Help is appreciated. Thanks,
> Catadmin
Launch another instance of SSMS?
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Yeah, but I'd kinda like to open up the solution in my current instance of
SSMS.
I have a solution where I keep my commonly used code templates to fix data.
During the course of a day, I might be working on new development when
suddenly I get help desk tickets asking for data fixes because someone broke
something. Rather than lose what I've got open, or have to save & reopen it
,
or have to go to the whole Start->Programs hoo-ha (which is a pain when a
running query keeps pulls the focus back to SSMS while I'm trying to get to
something on the Start->Programs path), I'd like to just be able to open my
solution in Solution Explorer and have everything else remain the same.
Plus, if I open up another instance, I have to do cut-n-paste from one
instance to another. Bleargh. There's got to be a better way.
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)
"Tracy McKibben" wrote:

> Catadmin wrote:
> Launch another instance of SSMS?
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Another option is to just keep those scripts in a particular
directory. Then you can create a menu item in SSMS that will
open that particular directory. That's about what I've done
at some places for the same reasons - to get quick access to
fire fighting scripts and not lose whatever else I have
open. Just go to Tools, External Tools and create a new
entry - Command Explorer and Argument of the script
directory. That might work for you.
-Sue
On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:

>Yeah, but I'd kinda like to open up the solution in my current instance of
>SSMS.
>I have a solution where I keep my commonly used code templates to fix data.
> During the course of a day, I might be working on new development when
>suddenly I get help desk tickets asking for data fixes because someone brok
e
>something. Rather than lose what I've got open, or have to save & reopen i
t,
>or have to go to the whole Start->Programs hoo-ha (which is a pain when a
>running query keeps pulls the focus back to SSMS while I'm trying to get to
>something on the Start->Programs path), I'd like to just be able to open my
>solution in Solution Explorer and have everything else remain the same.
>Plus, if I open up another instance, I have to do cut-n-paste from one
>instance to another. Bleargh. There's got to be a better way.|||Sue,
I see what you're talking about with the Tools -> External Tools, but I'm
not clear on what you mean by Command Explorer. Is there a particular .exe
that you're refering to with this?
Thanks,
Catadmin
"Sue Hoegemeier" wrote:

> Another option is to just keep those scripts in a particular
> directory. Then you can create a menu item in SSMS that will
> open that particular directory. That's about what I've done
> at some places for the same reasons - to get quick access to
> fire fighting scripts and not lose whatever else I have
> open. Just go to Tools, External Tools and create a new
> entry - Command Explorer and Argument of the script
> directory. That might work for you.
> -Sue
> On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
> <goldpetalgraphics@.yahoo.com> wrote:
>
>|||Sorry about that - it's not real clear from what I typed.
The exe is Explorer. For the Command, you reference:
%SystemRoot%\explorer.exe
so that it fires off Windows Explorer. It will start in
whatever directory you list for the Arguments.
-Sue
On Mon, 11 Sep 2006 04:36:02 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:
[vbcol=seagreen]
>Sue,
>I see what you're talking about with the Tools -> External Tools, but I'm
>not clear on what you mean by Command Explorer. Is there a particular .exe
>that you're refering to with this?
>Thanks,
>Catadmin
>"Sue Hoegemeier" wrote:
>|||Thank you, Sue, but that's still not quite what I want. This doesn't enable
me to open an entire solution in SSMS while keeping current query windows
open.
If anyone from MS is reading this post, I'm sure there are other people who
would like to do the same thing I want to do (hint, hint).
Catadmin
--
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)
"Sue Hoegemeier" wrote:

> Sorry about that - it's not real clear from what I typed.
> The exe is Explorer. For the Command, you reference:
> %SystemRoot%\explorer.exe
> so that it fires off Windows Explorer. It will start in
> whatever directory you list for the Arguments.
> -Sue
> On Mon, 11 Sep 2006 04:36:02 -0700, Catadmin
> <goldpetalgraphics@.yahoo.com> wrote:
>
>|||No it won't open a solution. Like I said it will allow you
to open scripts in a specific directory but not a solution.
I think it's the only way around not losing what queries you
already have open if you don't want to open another SSMS
session. You could always search the product feedback site
to see if others posted this or post the request yourself:
http://lab.msdn.microsoft.com/productfeedback/
-Sue
On Tue, 19 Sep 2006 03:51:01 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:

>Thank you, Sue, but that's still not quite what I want. This doesn't enabl
e
>me to open an entire solution in SSMS while keeping current query windows
>open.
>If anyone from MS is reading this post, I'm sure there are other people who
>would like to do the same thing I want to do (hint, hint).
>Catadmin

Opening Solution clears previous queries in SSMS

Yikes!
Does anyone know of a way that I can open a solution but keep my current
query windows open? Every time I go to File -> Open -> Project/Solution, it
kills any query windows I was working in.
And while I'm here, is there a way to set SSMS to open with Solution the way
you can have it open a query window when you connect?
Help is appreciated. Thanks,
Catadmin
--
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)Catadmin wrote:
> Yikes!
> Does anyone know of a way that I can open a solution but keep my current
> query windows open? Every time I go to File -> Open -> Project/Solution, it
> kills any query windows I was working in.
> And while I'm here, is there a way to set SSMS to open with Solution the way
> you can have it open a query window when you connect?
> Help is appreciated. Thanks,
> Catadmin
Launch another instance of SSMS?
--
Tracy McKibben
MCDBA
http://www.realsqlguy.com|||Yeah, but I'd kinda like to open up the solution in my current instance of
SSMS.
I have a solution where I keep my commonly used code templates to fix data.
During the course of a day, I might be working on new development when
suddenly I get help desk tickets asking for data fixes because someone broke
something. Rather than lose what I've got open, or have to save & reopen it,
or have to go to the whole Start->Programs hoo-ha (which is a pain when a
running query keeps pulls the focus back to SSMS while I'm trying to get to
something on the Start->Programs path), I'd like to just be able to open my
solution in Solution Explorer and have everything else remain the same.
Plus, if I open up another instance, I have to do cut-n-paste from one
instance to another. Bleargh. There's got to be a better way.
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)
"Tracy McKibben" wrote:
> Catadmin wrote:
> > Yikes!
> >
> > Does anyone know of a way that I can open a solution but keep my current
> > query windows open? Every time I go to File -> Open -> Project/Solution, it
> > kills any query windows I was working in.
> >
> > And while I'm here, is there a way to set SSMS to open with Solution the way
> > you can have it open a query window when you connect?
> >
> > Help is appreciated. Thanks,
> >
> > Catadmin
> Launch another instance of SSMS?
> --
> Tracy McKibben
> MCDBA
> http://www.realsqlguy.com
>|||Another option is to just keep those scripts in a particular
directory. Then you can create a menu item in SSMS that will
open that particular directory. That's about what I've done
at some places for the same reasons - to get quick access to
fire fighting scripts and not lose whatever else I have
open. Just go to Tools, External Tools and create a new
entry - Command Explorer and Argument of the script
directory. That might work for you.
-Sue
On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:
>Yeah, but I'd kinda like to open up the solution in my current instance of
>SSMS.
>I have a solution where I keep my commonly used code templates to fix data.
> During the course of a day, I might be working on new development when
>suddenly I get help desk tickets asking for data fixes because someone broke
>something. Rather than lose what I've got open, or have to save & reopen it,
>or have to go to the whole Start->Programs hoo-ha (which is a pain when a
>running query keeps pulls the focus back to SSMS while I'm trying to get to
>something on the Start->Programs path), I'd like to just be able to open my
>solution in Solution Explorer and have everything else remain the same.
>Plus, if I open up another instance, I have to do cut-n-paste from one
>instance to another. Bleargh. There's got to be a better way.|||Sue,
I see what you're talking about with the Tools -> External Tools, but I'm
not clear on what you mean by Command Explorer. Is there a particular .exe
that you're refering to with this?
Thanks,
Catadmin
"Sue Hoegemeier" wrote:
> Another option is to just keep those scripts in a particular
> directory. Then you can create a menu item in SSMS that will
> open that particular directory. That's about what I've done
> at some places for the same reasons - to get quick access to
> fire fighting scripts and not lose whatever else I have
> open. Just go to Tools, External Tools and create a new
> entry - Command Explorer and Argument of the script
> directory. That might work for you.
> -Sue
> On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
> <goldpetalgraphics@.yahoo.com> wrote:
> >Yeah, but I'd kinda like to open up the solution in my current instance of
> >SSMS.
> >
> >I have a solution where I keep my commonly used code templates to fix data.
> > During the course of a day, I might be working on new development when
> >suddenly I get help desk tickets asking for data fixes because someone broke
> >something. Rather than lose what I've got open, or have to save & reopen it,
> >or have to go to the whole Start->Programs hoo-ha (which is a pain when a
> >running query keeps pulls the focus back to SSMS while I'm trying to get to
> >something on the Start->Programs path), I'd like to just be able to open my
> >solution in Solution Explorer and have everything else remain the same.
> >
> >Plus, if I open up another instance, I have to do cut-n-paste from one
> >instance to another. Bleargh. There's got to be a better way.
>|||Sorry about that - it's not real clear from what I typed.
The exe is Explorer. For the Command, you reference:
%SystemRoot%\explorer.exe
so that it fires off Windows Explorer. It will start in
whatever directory you list for the Arguments.
-Sue
On Mon, 11 Sep 2006 04:36:02 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:
>Sue,
>I see what you're talking about with the Tools -> External Tools, but I'm
>not clear on what you mean by Command Explorer. Is there a particular .exe
>that you're refering to with this?
>Thanks,
>Catadmin
>"Sue Hoegemeier" wrote:
>> Another option is to just keep those scripts in a particular
>> directory. Then you can create a menu item in SSMS that will
>> open that particular directory. That's about what I've done
>> at some places for the same reasons - to get quick access to
>> fire fighting scripts and not lose whatever else I have
>> open. Just go to Tools, External Tools and create a new
>> entry - Command Explorer and Argument of the script
>> directory. That might work for you.
>> -Sue
>> On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
>> <goldpetalgraphics@.yahoo.com> wrote:
>> >Yeah, but I'd kinda like to open up the solution in my current instance of
>> >SSMS.
>> >
>> >I have a solution where I keep my commonly used code templates to fix data.
>> > During the course of a day, I might be working on new development when
>> >suddenly I get help desk tickets asking for data fixes because someone broke
>> >something. Rather than lose what I've got open, or have to save & reopen it,
>> >or have to go to the whole Start->Programs hoo-ha (which is a pain when a
>> >running query keeps pulls the focus back to SSMS while I'm trying to get to
>> >something on the Start->Programs path), I'd like to just be able to open my
>> >solution in Solution Explorer and have everything else remain the same.
>> >
>> >Plus, if I open up another instance, I have to do cut-n-paste from one
>> >instance to another. Bleargh. There's got to be a better way.
>>|||Thank you, Sue, but that's still not quite what I want. This doesn't enable
me to open an entire solution in SSMS while keeping current query windows
open.
If anyone from MS is reading this post, I'm sure there are other people who
would like to do the same thing I want to do (hint, hint).
Catadmin
--
MCDBA, MCSA
Random Thoughts: If a person is Microsoft Certified, does that mean that
Microsoft pays the bills for the funny white jackets that tie in the back?
@.=)
"Sue Hoegemeier" wrote:
> Sorry about that - it's not real clear from what I typed.
> The exe is Explorer. For the Command, you reference:
> %SystemRoot%\explorer.exe
> so that it fires off Windows Explorer. It will start in
> whatever directory you list for the Arguments.
> -Sue
> On Mon, 11 Sep 2006 04:36:02 -0700, Catadmin
> <goldpetalgraphics@.yahoo.com> wrote:
> >Sue,
> >
> >I see what you're talking about with the Tools -> External Tools, but I'm
> >not clear on what you mean by Command Explorer. Is there a particular .exe
> >that you're refering to with this?
> >
> >Thanks,
> >
> >Catadmin
> >
> >"Sue Hoegemeier" wrote:
> >
> >> Another option is to just keep those scripts in a particular
> >> directory. Then you can create a menu item in SSMS that will
> >> open that particular directory. That's about what I've done
> >> at some places for the same reasons - to get quick access to
> >> fire fighting scripts and not lose whatever else I have
> >> open. Just go to Tools, External Tools and create a new
> >> entry - Command Explorer and Argument of the script
> >> directory. That might work for you.
> >>
> >> -Sue
> >>
> >> On Thu, 7 Sep 2006 08:19:02 -0700, Catadmin
> >> <goldpetalgraphics@.yahoo.com> wrote:
> >>
> >> >Yeah, but I'd kinda like to open up the solution in my current instance of
> >> >SSMS.
> >> >
> >> >I have a solution where I keep my commonly used code templates to fix data.
> >> > During the course of a day, I might be working on new development when
> >> >suddenly I get help desk tickets asking for data fixes because someone broke
> >> >something. Rather than lose what I've got open, or have to save & reopen it,
> >> >or have to go to the whole Start->Programs hoo-ha (which is a pain when a
> >> >running query keeps pulls the focus back to SSMS while I'm trying to get to
> >> >something on the Start->Programs path), I'd like to just be able to open my
> >> >solution in Solution Explorer and have everything else remain the same.
> >> >
> >> >Plus, if I open up another instance, I have to do cut-n-paste from one
> >> >instance to another. Bleargh. There's got to be a better way.
> >>
> >>
>|||No it won't open a solution. Like I said it will allow you
to open scripts in a specific directory but not a solution.
I think it's the only way around not losing what queries you
already have open if you don't want to open another SSMS
session. You could always search the product feedback site
to see if others posted this or post the request yourself:
http://lab.msdn.microsoft.com/productfeedback/
-Sue
On Tue, 19 Sep 2006 03:51:01 -0700, Catadmin
<goldpetalgraphics@.yahoo.com> wrote:
>Thank you, Sue, but that's still not quite what I want. This doesn't enable
>me to open an entire solution in SSMS while keeping current query windows
>open.
>If anyone from MS is reading this post, I'm sure there are other people who
>would like to do the same thing I want to do (hint, hint).
>Catadmin

Tuesday, March 20, 2012

open rowset query using windows authentication

Hi I need to do an "open rowset" query from one SQL server to another
(because I don't want to set up a linked server). I want to use windows
authentication, rather than a SQL logon. My windows account has read to
the remote server. Is this possible? If so, what is the syntax?
if I use SQLOLEDB, I cant' figure out how to say sspi or
trusted_connection = true. I can do it with a UID and PWD, but don't
want to, since I don't want to have to create the login, etc.
Anyone?Shelly,
Not sure what version you're using but check out:
OPENROWSET
http://msdn2.microsoft.com/en-us/library/ms190312(SQL.90).aspx
and
OPENDATASOURCE
http://msdn2.microsoft.com/en-us/library/ms179856(SQL.90).aspx
HTH
Jerry
<shelleybobelly@.yahoo.com> wrote in message
news:1147971881.722223.11140@.i40g2000cwc.googlegroups.com...
> Hi I need to do an "open rowset" query from one SQL server to another
> (because I don't want to set up a linked server). I want to use windows
> authentication, rather than a SQL logon. My windows account has read to
> the remote server. Is this possible? If so, what is the syntax?
> if I use SQLOLEDB, I cant' figure out how to say sspi or
> trusted_connection = true. I can do it with a UID and PWD, but don't
> want to, since I don't want to have to create the login, etc.
> Anyone?
>|||Thanks Jerry. I realized I didn't have DBPROP_AUTH_INTEGRATED set to
yes on the server I was querying, so it was blowing up. Also I
couldn't find those articles when I searched MSDN (for some reason).
Thanks again.
Shelley

open rowset query using windows authentication

Hi I need to do an "open rowset" query from one SQL server to another
(because I don't want to set up a linked server). I want to use windows
authentication, rather than a SQL logon. My windows account has read to
the remote server. Is this possible? If so, what is the syntax?
if I use SQLOLEDB, I cant' figure out how to say sspi or
trusted_connection = true. I can do it with a UID and PWD, but don't
want to, since I don't want to have to create the login, etc.
Anyone?Shelly,
Not sure what version you're using but check out:
OPENROWSET
http://msdn2.microsoft.com/en-us/library/ms190312(SQL.90).aspx
and
OPENDATASOURCE
http://msdn2.microsoft.com/en-us/library/ms179856(SQL.90).aspx
HTH
Jerry
<shelleybobelly@.yahoo.com> wrote in message
news:1147971881.722223.11140@.i40g2000cwc.googlegroups.com...
> Hi I need to do an "open rowset" query from one SQL server to another
> (because I don't want to set up a linked server). I want to use windows
> authentication, rather than a SQL logon. My windows account has read to
> the remote server. Is this possible? If so, what is the syntax?
> if I use SQLOLEDB, I cant' figure out how to say sspi or
> trusted_connection = true. I can do it with a UID and PWD, but don't
> want to, since I don't want to have to create the login, etc.
> Anyone?
>|||Thanks Jerry. I realized I didn't have DBPROP_AUTH_INTEGRATED set to
yes on the server I was querying, so it was blowing up. Also I
couldn't find those articles when I searched MSDN (for some reason).
Thanks again.
Shelley

Monday, March 12, 2012

Open File Dialog Like Enterprise Menager ?

Hi, It is possible to open a file dialog directly from another pc
(windows 2000 server sp4, msde sp3) like enterprise manager do when you
try to restaure a database?
I don't want to share folder on my server, and I want to select the
backup file (located on my server) from my application (run on my
computer).
I have try with SQL-DMO but I can find anything.
Thank youThe SQL-NS API expose the dialogs that EM has. Possibly this backup dialog a
s well. Note that SQL-NS
has not been carried forward to 2005.
Another option is do-it-yourself. I have done what you try to do by submitti
ng SQL queries to
enumerate disks, folders, files etc. You'd have to use Profiler to see what
extended stored
procedures that are used by these dialogs by EM, and note that many of these
are not documented =
not supported!
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<blacketik@.gmail.com> wrote in message news:1155222848.934108.285120@.h48g2000cwc.googlegroup
s.com...
> Hi, It is possible to open a file dialog directly from another pc
> (windows 2000 server sp4, msde sp3) like enterprise manager do when you
> try to restaure a database?
> I don't want to share folder on my server, and I want to select the
> backup file (located on my server) from my application (run on my
> computer).
> I have try with SQL-DMO but I can find anything.
> Thank you
>

Open File Dialog Like Enterprise Menager ?

Hi, It is possible to open a file dialog directly from another pc
(windows 2000 server sp4, msde sp3) like enterprise manager do when you
try to restaure a database?
I don't want to share folder on my server, and I want to select the
backup file (located on my server) from my application (run on my
computer).
I have try with SQL-DMO but I can find anything.
Thank youThe SQL-NS API expose the dialogs that EM has. Possibly this backup dialog as well. Note that SQL-NS
has not been carried forward to 2005.
Another option is do-it-yourself. I have done what you try to do by submitting SQL queries to
enumerate disks, folders, files etc. You'd have to use Profiler to see what extended stored
procedures that are used by these dialogs by EM, and note that many of these are not documented =not supported!
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<blacketik@.gmail.com> wrote in message news:1155222848.934108.285120@.h48g2000cwc.googlegroups.com...
> Hi, It is possible to open a file dialog directly from another pc
> (windows 2000 server sp4, msde sp3) like enterprise manager do when you
> try to restaure a database?
> I don't want to share folder on my server, and I want to select the
> backup file (located on my server) from my application (run on my
> computer).
> I have try with SQL-DMO but I can find anything.
> Thank you
>

open enterprise manager

hi I try to open enterprise manager it cannot open it becouse of mmc.exe
problem i upgrade my windows and reinstal sql but I still have that
problem,is there any way I can open enterprise manager whitout format my
windows?
cheers
mahsa
You don't need to format you windows!!!! Simply reinstall your sqlsever 2000
aganin.
"mahsa" <mahsa@.discussions.microsoft.com> wrote in message
news:17A652BD-DC55-4864-89E7-35DE21FE0E47@.microsoft.com...
> hi I try to open enterprise manager it cannot open it becouse of mmc.exe
> problem i upgrade my windows and reinstal sql but I still have that
> problem,is there any way I can open enterprise manager whitout format my
> windows?
> cheers
> --
> mahsa

Wednesday, March 7, 2012

only utilising one processor

i have just set up a sql server on a new windows server 2003. the server has 4x xeon smp's on it. if i look at performance monitor it only seems to be utilising one. any ideas as to where i can find answers ?
thanks.
Well, what kind of queries are you running? Many queries cannot be run in
parallel, so they can only queue on one CPU.
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
>i have just set up a sql server on a new windows server 2003. the server
>has 4x xeon smp's on it. if i look at performance monitor it only seems to
>be utilising one. any ideas as to where i can find answers ?
> thanks.
|||Xref: TK2MSFTNGP08.phx.gbl microsoft.public.sqlserver.server:341487
Hi
You don't say what version of SQL server you are using, this can determine
the number of processes being used see:
http://msdn.microsoft.com/library/de...ar_ts_8dbn.asp
If you have changed the processor affinity then it may favour the one
processor.
You may also be restricted on the number of processors you can use by your
licence.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
> i have just set up a sql server on a new windows server 2003. the server
has 4x xeon smp's on it. if i look at performance monitor it only seems to
be utilising one. any ideas as to where i can find answers ?
> thanks.
|||"Well, what kind of queries are you running? Many queries cannot be run in parallel, so they can only queue on one CPU."
Is "DBCC CHECKDB" a reliable exception, for those who want to test? (Unless you use trace flag 2528, which prevents CHECKDB going multi-processor.)
AIUI, any simple (single-table) query will use only one processor. (And that not much, I suppose, if all it's doing is pulling data from disk and passing it to the network.)
|||the queries are fairly intensive number crunching operations that use #temp tables, sp's calling other sp's etc.
|||hi john,
i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x physical and 4x logical. i'm using standard edition ( i know there is a limitation on it using only 4x cpu's.) but if you could elaborate more on the licensing restrictions i would a
ppreciate it.
|||hi robert. thanks for your reply. most operations are multi table joins/updates on a #temptable. after all data has been changed etc. it get's inserted into a static table.
|||Hi Mike
See http://www.microsoft.com/sql/howtobuy/default.asp for the types of
licences.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:2DF4B315-3791-42FA-B8F9-214F438A04ED@.microsoft.com...
> hi john,
> i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x
physical and 4x logical. i'm using standard edition ( i know there is a
limitation on it using only 4x cpu's.) but if you could elaborate more on
the licensing restrictions i would appreciate it.

only utilising one processor

i have just set up a sql server on a new windows server 2003. the server has
4x xeon smp's on it. if i look at performance monitor it only seems to be u
tilising one. any ideas as to where i can find answers ?
thanks.Well, what kind of queries are you running? Many queries cannot be run in
parallel, so they can only queue on one CPU.
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
>i have just set up a sql server on a new windows server 2003. the server
>has 4x xeon smp's on it. if i look at performance monitor it only seems to
>be utilising one. any ideas as to where i can find answers ?
> thanks.|||Xref: TK2MSFTNGP08.phx.gbl microsoft.public.sqlserver.server:341487
Hi
You don't say what version of SQL server you are using, this can determine
the number of processes being used see:
http://msdn.microsoft.com/library/d...br />
8dbn.asp
If you have changed the processor affinity then it may favour the one
processor.
You may also be restricted on the number of processors you can use by your
licence.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
> i have just set up a sql server on a new windows server 2003. the server
has 4x xeon smp's on it. if i look at performance monitor it only seems to
be utilising one. any ideas as to where i can find answers ?
> thanks.|||"Well, what kind of queries are you running? Many queries cannot be run in
parallel, so they can only queue on one CPU."
Is "DBCC CHECKDB" a reliable exception, for those who want to test? (Unless
you use trace flag 2528, which prevents CHECKDB going multi-processor.)
AIUI, any simple (single-table) query will use only one processor. (And tha
t not much, I suppose, if all it's doing is pulling data from disk and passi
ng it to the network.)|||the queries are fairly intensive number crunching operations that use #temp
tables, sp's calling other sp's etc.|||hi john,
i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x phy
sical and 4x logical. i'm using standard edition ( i know there is a limitat
ion on it using only 4x cpu's.) but if you could elaborate more on the licen
sing restrictions i would a
ppreciate it.|||hi robert. thanks for your reply. most operations are multi table joins/upda
tes on a #temptable. after all data has been changed etc. it get's inserted
into a static table.|||Hi Mike
See http://www.microsoft.com/sql/howtobuy/default.asp for the types of
licences.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:2DF4B315-3791-42FA-B8F9-214F438A04ED@.microsoft.com...
> hi john,
> i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x
physical and 4x logical. i'm using standard edition ( i know there is a
limitation on it using only 4x cpu's.) but if you could elaborate more on
the licensing restrictions i would appreciate it.

only utilising one processor

i have just set up a sql server on a new windows server 2003. the server has 4x xeon smp's on it. if i look at performance monitor it only seems to be utilising one. any ideas as to where i can find answers
thanks.Well, what kind of queries are you running? Many queries cannot be run in
parallel, so they can only queue on one CPU.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
>i have just set up a sql server on a new windows server 2003. the server
>has 4x xeon smp's on it. if i look at performance monitor it only seems to
>be utilising one. any ideas as to where i can find answers ?
> thanks.|||Hi
You don't say what version of SQL server you are using, this can determine
the number of processes being used see:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_ts_8dbn.asp
If you have changed the processor affinity then it may favour the one
processor.
You may also be restricted on the number of processors you can use by your
licence.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:D54A605D-332D-46CE-ADB6-4EF585571365@.microsoft.com...
> i have just set up a sql server on a new windows server 2003. the server
has 4x xeon smp's on it. if i look at performance monitor it only seems to
be utilising one. any ideas as to where i can find answers ?
> thanks.|||"Well, what kind of queries are you running? Many queries cannot be run in parallel, so they can only queue on one CPU.
Is "DBCC CHECKDB" a reliable exception, for those who want to test? (Unless you use trace flag 2528, which prevents CHECKDB going multi-processor.
AIUI, any simple (single-table) query will use only one processor. (And that not much, I suppose, if all it's doing is pulling data from disk and passing it to the network.)|||the queries are fairly intensive number crunching operations that use #temp tables, sp's calling other sp's etc.|||hi john
i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x physical and 4x logical. i'm using standard edition ( i know there is a limitation on it using only 4x cpu's.) but if you could elaborate more on the licensing restrictions i would appreciate it.|||hi robert. thanks for your reply. most operations are multi table joins/updates on a #temptable. after all data has been changed etc. it get's inserted into a static table.|||Hi Mike
See http://www.microsoft.com/sql/howtobuy/default.asp for the types of
licences.
John
"mike" <anonymous@.discussions.microsoft.com> wrote in message
news:2DF4B315-3791-42FA-B8F9-214F438A04ED@.microsoft.com...
> hi john,
> i'm using sql server 2000. affinity as set in em is to use all cpu's. 4x
physical and 4x logical. i'm using standard edition ( i know there is a
limitation on it using only 4x cpu's.) but if you could elaborate more on
the licensing restrictions i would appreciate it.

only sftp is allowed how to sftp from windows

This summary is not available. Please click here to view the post.

Only Public is selected but users can still create tables?

Hi all,
I've come into a situation where there is a Windows domain users group that
has access to a database and can create tables but only has the public
role(?). Is there somewhere else this role is set to allow this? It's for a
third party application. -Thanks, DaveHave you checked the detailed permissions applied to 'public' on that db?
Chris
"dfate" <dfate2001-rock@.yahoo.com> wrote in message
news:uaWHi5pHFHA.3072@.tk2msftngp13.phx.gbl...
> Hi all,
> I've come into a situation where there is a Windows domain users group
> that has access to a database and can create tables but only has the
> public role(?). Is there somewhere else this role is set to allow this?
> It's for a third party application. -Thanks, Dave
>|||"dfate" <dfate2001-rock@.yahoo.com> wrote in message
news:uaWHi5pHFHA.3072@.tk2msftngp13.phx.gbl...

> I've come into a situation where there is a Windows domain users group
that
> has access to a database and can create tables but only has the public
> role(?). Is there somewhere else this role is set to allow this? It's for
a
> third party application. -Thanks, Dave
>
If you've taken the default SQL Server installation for security, there is a
BUILTIN\Administrators group that gives anyone with administrative rights on
the server sysadmin equivalence on SQL Server. Check that those users are
not administrators on the server itself, or are domain admins.
Steve

Monday, February 20, 2012

OnlineClusterResource failed - SQL 2000 on Windows 2003 Server

Hi All,
I'm trying to install SQL 2000 (with SP3A) on a Windows 2003 Clustered
environment (AMD64). This is a two node cluster, and SQL is being
installed as a named instance. I've checked the following:
* Using a domain account that is part of the Local Administrators group
* Changed all Cluster Resources, as per the Microsoft article
http://support.microsoft.com/kb/302491/en-us
* Unregistered / Registered gathercl.dll files
* Created an alias, as per Microsoft Article 815431
* Checked to ensure I have the "Impersonate a Client
AfterAuthentication" User Right".
I am using SQL 2000, which does not appear to be the 2000a version.
I'm trying to get a hold of that version to see if that makes a
difference.
I'm getting the message "The Cluster resource failed to come online. If
extended error information was reported by the clustering service it
can be obtained from the event log."
The following is a snipit from the sqlcstr.log file:
~~~ ClusterResourceStart... tick=24, state=129
~~~ ClusterResourceStart... tick=25, state=129
~~~ ClusterResourceStart... tick=26, state=129
~~~ ClusterResourceStart... tick=27, state=129
~~~ ClusterResourceStart... tick=28, state=129
~~~ ClusterResourceStart... tick=29, state=129
~~~ ClusterResourceStart... tick=30, state=129
~~~ ClusterResourceStart... tick=31, state=2
ClusterGroupEnum(4): enter
ClusterGroupEnum(4): [SQL Server (DEV)]
~~~ XXX OnlineClusterResource starts for SQL Server (DEV)
~~~ ClusterResourceStart... tick=0, state=129
~~~ ClusterResourceStart... tick=1, state=129
~~~ ClusterResourceStart... tick=2, state=129
~~~ ClusterResourceStart... tick=3, state=129
~~~ ClusterResourceStart... tick=4, state=129
.....etc, etc...
~~~ ClusterResourceStart... tick=177, state=129
~~~ ClusterResourceStart... tick=178, state=129
~~~ ClusterResourceStart... tick=179, state=129
~~~ ClusterResourceStart... tick=180, state=4
~~~ XXX OnlineClusterResource failed
[sqlclusterSetup.cpp:1785] : 0xffffffff (-1): <<<FormatMessage failed:
317>>>
[sqlclusterSetup.cpp:1478] : 50049 (0xc381): <<<FormatMessage failed:
317>>>
~~~ DoClusterSetupWork
about to open cluster
calling ClusterGetComputerNames
ClusterGetComputerNames: m_LocalComputerName=[]
ClusterGetComputerNames: calling GetComputerName
And from the sqlstp.log a snipit from the log where the error occurs:
22:40:40 Begin Action : CreateVirtualServerResources
22:44:53 End Action : CreateVirtualServerResources
22:45:04 The cluster resource failed to come online.If extended error
information was reported by the clustering service it can be obtained
from the event log.
22:45:17 DoUnClusterInstance returned: 0
22:45:17 Begin Action : ClusterErrorCleanup
If anyone has come across the same problem or has any further
suggestions, it would be greatly appreciated.
Thanks!
This definitely looks like a lack of SQL 2000a. You are on the right track
for a solution.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"sqlclusterhelp" <misty.pratt@.gmail.com> wrote in message
news:1141903642.020512.35280@.u72g2000cwu.googlegro ups.com...
> Hi All,
> I'm trying to install SQL 2000 (with SP3A) on a Windows 2003 Clustered
> environment (AMD64). This is a two node cluster, and SQL is being
> installed as a named instance. I've checked the following:
> * Using a domain account that is part of the Local Administrators group
> * Changed all Cluster Resources, as per the Microsoft article
> http://support.microsoft.com/kb/302491/en-us
> * Unregistered / Registered gathercl.dll files
> * Created an alias, as per Microsoft Article 815431
> * Checked to ensure I have the "Impersonate a Client
> AfterAuthentication" User Right".
> I am using SQL 2000, which does not appear to be the 2000a version.
> I'm trying to get a hold of that version to see if that makes a
> difference.
> I'm getting the message "The Cluster resource failed to come online. If
> extended error information was reported by the clustering service it
> can be obtained from the event log."
> The following is a snipit from the sqlcstr.log file:
> ----
> ~~~ ClusterResourceStart... tick=24, state=129
> ~~~ ClusterResourceStart... tick=25, state=129
> ~~~ ClusterResourceStart... tick=26, state=129
> ~~~ ClusterResourceStart... tick=27, state=129
> ~~~ ClusterResourceStart... tick=28, state=129
> ~~~ ClusterResourceStart... tick=29, state=129
> ~~~ ClusterResourceStart... tick=30, state=129
> ~~~ ClusterResourceStart... tick=31, state=2
> ClusterGroupEnum(4): enter
> ClusterGroupEnum(4): [SQL Server (DEV)]
> ~~~ XXX OnlineClusterResource starts for SQL Server (DEV)
> ~~~ ClusterResourceStart... tick=0, state=129
> ~~~ ClusterResourceStart... tick=1, state=129
> ~~~ ClusterResourceStart... tick=2, state=129
> ~~~ ClusterResourceStart... tick=3, state=129
> ~~~ ClusterResourceStart... tick=4, state=129
> ....etc, etc...
> ~~~ ClusterResourceStart... tick=177, state=129
> ~~~ ClusterResourceStart... tick=178, state=129
> ~~~ ClusterResourceStart... tick=179, state=129
> ~~~ ClusterResourceStart... tick=180, state=4
> ~~~ XXX OnlineClusterResource failed
> [sqlclusterSetup.cpp:1785] : 0xffffffff (-1): <<<FormatMessage failed:
> 317>>>
> [sqlclusterSetup.cpp:1478] : 50049 (0xc381): <<<FormatMessage failed:
> 317>>>
> ~~~ DoClusterSetupWork
> about to open cluster
> calling ClusterGetComputerNames
> ClusterGetComputerNames: m_LocalComputerName=[]
> ClusterGetComputerNames: calling GetComputerName
> ----
> And from the sqlstp.log a snipit from the log where the error occurs:
> ----
> 22:40:40 Begin Action : CreateVirtualServerResources
> 22:44:53 End Action : CreateVirtualServerResources
> 22:45:04 The cluster resource failed to come online.If extended error
> information was reported by the clustering service it can be obtained
> from the event log.
> 22:45:17 DoUnClusterInstance returned: 0
> 22:45:17 Begin Action : ClusterErrorCleanup
> ----
>
> If anyone has come across the same problem or has any further
> suggestions, it would be greatly appreciated.
>
> Thanks!
>
|||Great thanks.
I've heard that the ssnetlib.dll is the main file that differs between
SQL 2000 and SQL 2000a - do you happen to know if there is anyway to
convert a copy of SQL 2000 to SQL 2000a, so to speak? When I have a
look at my copy of SQL 2000 the dates for this dll file are all 2000
under the x86 install directory. Whereas the ssnetlib.dll file under
SP3a and SP4 are all post 2000. I'm guessing its not possible to
replace the appropriate files from the SP3a directory into the base SQL
2000 directory to perform the base installation!? The only reason I
ask, is because my copy of SQL is actually being provided by a third
party company wherein their application uses Microsoft SQL. The only
version of SQL 2000 they provide is the non-SQL 2000a copy.
Thanks!
|||Actually, the SQL2000a CD is exactly the same as the SQL 2000 CD with that
one file changed. You can copy the file to a folder on your hard disk,
replace that one DLL file, and you are good to go.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"sqlclusterhelp" <misty.pratt@.gmail.com> wrote in message
news:1141996748.942787.222080@.e56g2000cwe.googlegr oups.com...
> Great thanks.
> I've heard that the ssnetlib.dll is the main file that differs between
> SQL 2000 and SQL 2000a - do you happen to know if there is anyway to
> convert a copy of SQL 2000 to SQL 2000a, so to speak? When I have a
> look at my copy of SQL 2000 the dates for this dll file are all 2000
> under the x86 install directory. Whereas the ssnetlib.dll file under
> SP3a and SP4 are all post 2000. I'm guessing its not possible to
> replace the appropriate files from the SP3a directory into the base SQL
> 2000 directory to perform the base installation!? The only reason I
> ask, is because my copy of SQL is actually being provided by a third
> party company wherein their application uses Microsoft SQL. The only
> version of SQL 2000 they provide is the non-SQL 2000a copy.
> Thanks!
>
|||Hmmm... as far as I recall, SQL2000 RTM has always worked for me. You just
have to remember to apply the service pack as soon as you have done the
SQL2000 RTM install. I have not used SQL2000a in any of the enviornment.
Linchi
"sqlclusterhelp" wrote:

> Hi All,
> I'm trying to install SQL 2000 (with SP3A) on a Windows 2003 Clustered
> environment (AMD64). This is a two node cluster, and SQL is being
> installed as a named instance. I've checked the following:
> * Using a domain account that is part of the Local Administrators group
> * Changed all Cluster Resources, as per the Microsoft article
> http://support.microsoft.com/kb/302491/en-us
> * Unregistered / Registered gathercl.dll files
> * Created an alias, as per Microsoft Article 815431
> * Checked to ensure I have the "Impersonate a Client
> AfterAuthentication" User Right".
> I am using SQL 2000, which does not appear to be the 2000a version.
> I'm trying to get a hold of that version to see if that makes a
> difference.
> I'm getting the message "The Cluster resource failed to come online. If
> extended error information was reported by the clustering service it
> can be obtained from the event log."
> The following is a snipit from the sqlcstr.log file:
> ----
> ~~~ ClusterResourceStart... tick=24, state=129
> ~~~ ClusterResourceStart... tick=25, state=129
> ~~~ ClusterResourceStart... tick=26, state=129
> ~~~ ClusterResourceStart... tick=27, state=129
> ~~~ ClusterResourceStart... tick=28, state=129
> ~~~ ClusterResourceStart... tick=29, state=129
> ~~~ ClusterResourceStart... tick=30, state=129
> ~~~ ClusterResourceStart... tick=31, state=2
> ClusterGroupEnum(4): enter
> ClusterGroupEnum(4): [SQL Server (DEV)]
> ~~~ XXX OnlineClusterResource starts for SQL Server (DEV)
> ~~~ ClusterResourceStart... tick=0, state=129
> ~~~ ClusterResourceStart... tick=1, state=129
> ~~~ ClusterResourceStart... tick=2, state=129
> ~~~ ClusterResourceStart... tick=3, state=129
> ~~~ ClusterResourceStart... tick=4, state=129
> .....etc, etc...
> ~~~ ClusterResourceStart... tick=177, state=129
> ~~~ ClusterResourceStart... tick=178, state=129
> ~~~ ClusterResourceStart... tick=179, state=129
> ~~~ ClusterResourceStart... tick=180, state=4
> ~~~ XXX OnlineClusterResource failed
> [sqlclusterSetup.cpp:1785] : 0xffffffff (-1): <<<FormatMessage failed:
> 317>>>
> [sqlclusterSetup.cpp:1478] : 50049 (0xc381): <<<FormatMessage failed:
> 317>>>
> ~~~ DoClusterSetupWork
> about to open cluster
> calling ClusterGetComputerNames
> ClusterGetComputerNames: m_LocalComputerName=[]
> ClusterGetComputerNames: calling GetComputerName
> ----
> And from the sqlstp.log a snipit from the log where the error occurs:
> ----
> 22:40:40 Begin Action : CreateVirtualServerResources
> 22:44:53 End Action : CreateVirtualServerResources
> 22:45:04 The cluster resource failed to come online.If extended error
> information was reported by the clustering service it can be obtained
> from the event log.
> 22:45:17 DoUnClusterInstance returned: 0
> 22:45:17 Begin Action : ClusterErrorCleanup
> ----
>
> If anyone has come across the same problem or has any further
> suggestions, it would be greatly appreciated.
>
> Thanks!
>
|||I have had some issues where SQL 2000 RTM doesn't install well on Windows
Server 2003. Moving to SQL 2000a always has solved the issue. I make it a
point to search all media when I arrive at a place and discard any SQL 2000
RTM disks and replace them with SQL 2000a CDs.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"Linchi Shea" <LinchiShea@.discussions.microsoft.com> wrote in message
news:4DEB7B17-172F-4EE3-8F12-4BCBF1E7C9E6@.microsoft.com...[vbcol=seagreen]
> Hmmm... as far as I recall, SQL2000 RTM has always worked for me. You just
> have to remember to apply the service pack as soon as you have done the
> SQL2000 RTM install. I have not used SQL2000a in any of the enviornment.
> Linchi
> "sqlclusterhelp" wrote:
|||I replaced the ssnetlib.dll in the base 2000 installation path, with
the one that was in the SP4 path. I tried the installation again, it
sat there for about 30 minutes and then displayed "Setup failed to
perform required operations on the cluster nodes." From the SQLSTP
file on Node A i'm getting:
1.sqlsetup=Y
1.copyexe=cnvsvc2.exe
13:10:06 Setup is performing required operations on cluster nodes.
This may take a few minutes...
13:10:06 C:\TEMP\SqlSetup\Bin\remsetup.exe C:\WINDOWS\remsetup.ini
13:41:49 Process Exit Code: (1460) This operation returned because the
timeout period expired.
13:41:49 Begin Action : GetRemsetupRetCode
13:41:49 Installation return status on RYOSAP01 : -1
13:41:49 Installation return status on RYOSAP02 : 0
13:41:49 End Action : GetRemsetupRetCode
#### SQL Server Remote Setup - Start Time 03/11/06 13:10:06 ####
(just taken from the part that seems to be causing the problem).
I've had a look around other posted messages to get a feel for what the
problem might be. I am using an account that is part of the Local
Administrators, i've logged into both machines with this account, i've
changed all TMP and TEMP variables to C:\TEMP (which exists) on both
servers. I've tried pinging the cluster and get a fast response (so
doesn't look like name resolution problems). Trying to look at the
sqlstp7.log file, i'm getting the message "The process cannot access
the file because it is being used by another process". This time it
seems that a MSSQL$DEV service has been created, but all resources in
the cluster have been cleaned up.
I've noticed some other suggestions, ie. add the virtual server to the
HOSTS file (but I don't think I have a name resolution problem), which
I haven't tried yet. I'm using RDP to connect to the servers, do you
think this could cause issues?
I specified I drive for my data files, and under I:\Program Files
(x86)\Microsoft SQL Server\MSSQL$DEV\LOG looking at the ERRORLOG file I
find:
2006-03-11 13:10:49.71 server Using dynamic lock allocation. [2500]
Lock Blocks, [5000] Lock Owner Blocks.
2006-03-11 13:10:49.79 server Attempting to initialize Distributed
Transaction Coordinator.
2006-03-11 13:11:03.41 spid2 Warning ******************
2006-03-11 13:11:03.41 spid2 SQL Server started in single user
mode. Updates allowed to system catalogs.
2006-03-11 13:11:03.42 spid2 Starting up database 'master'.
2006-03-11 13:11:03.44 server Error: 17822, Severity: 16, State: 1
2006-03-11 13:11:03.44 server Could not load Net-Library
'SSNETLIB'..
2006-03-11 13:11:03.44 server Error: 17059, Severity: 18, State: 0
2006-03-11 13:11:03.44 server Operating system error 126: The
specified module could not be found...
2006-03-11 13:11:03.44 server Unable to load any NETLIBs. Server
shutting down.
... and then the installation uninstalls everything...
Do you happen to have any suggestions? I will continue to have a good
look through all the logs, its just that when I saw this errorlog I
presume the install might have failed because I replaced the dll file
(mind you it seemed to get a lot further then it was before).
Thanks!
|||RDP can cause install failures if you don't use the /console option to get
to the physical console.
Geoff N. Hiten
Senior Database Administrator
Microsoft SQL Server MVP
"sqlclusterhelp" <misty.pratt@.gmail.com> wrote in message
news:1142050472.049607.51360@.u72g2000cwu.googlegro ups.com...
>I replaced the ssnetlib.dll in the base 2000 installation path, with
> the one that was in the SP4 path. I tried the installation again, it
> sat there for about 30 minutes and then displayed "Setup failed to
> perform required operations on the cluster nodes." From the SQLSTP
> file on Node A i'm getting:
> 1.sqlsetup=Y
> 1.copyexe=cnvsvc2.exe
> 13:10:06 Setup is performing required operations on cluster nodes.
> This may take a few minutes...
> 13:10:06 C:\TEMP\SqlSetup\Bin\remsetup.exe C:\WINDOWS\remsetup.ini
> 13:41:49 Process Exit Code: (1460) This operation returned because the
> timeout period expired.
> 13:41:49 Begin Action : GetRemsetupRetCode
> 13:41:49 Installation return status on RYOSAP01 : -1
> 13:41:49 Installation return status on RYOSAP02 : 0
> 13:41:49 End Action : GetRemsetupRetCode
> #### SQL Server Remote Setup - Start Time 03/11/06 13:10:06 ####
>
> (just taken from the part that seems to be causing the problem).
> I've had a look around other posted messages to get a feel for what the
> problem might be. I am using an account that is part of the Local
> Administrators, i've logged into both machines with this account, i've
> changed all TMP and TEMP variables to C:\TEMP (which exists) on both
> servers. I've tried pinging the cluster and get a fast response (so
> doesn't look like name resolution problems). Trying to look at the
> sqlstp7.log file, i'm getting the message "The process cannot access
> the file because it is being used by another process". This time it
> seems that a MSSQL$DEV service has been created, but all resources in
> the cluster have been cleaned up.
> I've noticed some other suggestions, ie. add the virtual server to the
> HOSTS file (but I don't think I have a name resolution problem), which
> I haven't tried yet. I'm using RDP to connect to the servers, do you
> think this could cause issues?
> I specified I drive for my data files, and under I:\Program Files
> (x86)\Microsoft SQL Server\MSSQL$DEV\LOG looking at the ERRORLOG file I
> find:
> 2006-03-11 13:10:49.71 server Using dynamic lock allocation. [2500]
> Lock Blocks, [5000] Lock Owner Blocks.
> 2006-03-11 13:10:49.79 server Attempting to initialize Distributed
> Transaction Coordinator.
> 2006-03-11 13:11:03.41 spid2 Warning ******************
> 2006-03-11 13:11:03.41 spid2 SQL Server started in single user
> mode. Updates allowed to system catalogs.
> 2006-03-11 13:11:03.42 spid2 Starting up database 'master'.
> 2006-03-11 13:11:03.44 server Error: 17822, Severity: 16, State: 1
> 2006-03-11 13:11:03.44 server Could not load Net-Library
> 'SSNETLIB'..
> 2006-03-11 13:11:03.44 server Error: 17059, Severity: 18, State: 0
> 2006-03-11 13:11:03.44 server Operating system error 126: The
> specified module could not be found...
> 2006-03-11 13:11:03.44 server Unable to load any NETLIBs. Server
> shutting down.
> ... and then the installation uninstalls everything...
> Do you happen to have any suggestions? I will continue to have a good
> look through all the logs, its just that when I saw this errorlog I
> presume the install might have failed because I replaced the dll file
> (mind you it seemed to get a lot further then it was before).
> Thanks!
>
|||I have been using the /console option for all of the installs, so I
guess that shouldn't be the reason. I'm thinking that perhaps using
the ssnetlib.dll file from the SP4 directory could of caused the
problem. Do you happen to know if Microsoft provides a copy of the
updated ssnetlib.dll file that should be used (ie. the 2000a version -
from the standard x86 install parth, not the SP3a or SP4 versions) to
save having to find a whole new copy of SQL?
I might try and perform an install on one node and then apply SP3a then
install on the second node... its worth a shot! Failing that i'm
thinking of cutting my loses and installing SQL 2005 instead. :-)
|||The other option might be to install the SQL Client on both machines
and then install the SP3a or SP4. Reboot the cluster make sure that
both nodes have the correct alias's setup then try to install the SQL
Server 2000 again. By the way all of the attempts that you have tried
did you do a uninstall or cleanup of the registry? At this point you
might want to think about reinstalling the OS to cleanup the Registry
there may be something messed up there causing the problem.
Chris