Friday, March 30, 2012
Peer-to-peer Replication Agent Error
"Could not find a valid Agent Id for the subscription to Publisher
XXXServer, ...
Source: MSSQLServer, Error number: 21758"
This message only happens on the replication between SeverA to ServerB...
ServerB replicates to ServerA just fine...
Any help would be appreciated since the link to Microsoft help says the
error is not documented.
Thanks!
Can you post the exact steps you took to configure this? What you are
describing is not peer-to-peer replication, but seems to be bi-directional
transactional instead.
Mike
Mentor
Solid Quality Learning
http://www.solidqualitylearning.com
"Mick Kowitz" <mkowitz@.cinci.rr.com> wrote in message
news:f%wwf.14644$%D1.9161@.tornado.ohiordc.rr.com.. .
> Does anyone know why if I setup a p2p replication I get:
> "Could not find a valid Agent Id for the subscription to Publisher
> XXXServer, ...
> Source: MSSQLServer, Error number: 21758"
> This message only happens on the replication between SeverA to ServerB...
> ServerB replicates to ServerA just fine...
> Any help would be appreciated since the link to Microsoft help says the
> error is not documented.
> Thanks!
>
|||I actually got it working. The problem was when I was in the peer-to-peer
topology and Adding the SQL Server, I was trying to use Windows
Authentication to connect to the peer, but since I was in a WORKGROUP that
wasn't working. As soon as I made it connect with SQL Authentication it
worked...
I'm wondering if you have any ideas, though, on a new problem...
I have a table in the p2p replication that has an IDENTITY column as the key
and an on INSERT trigger to add a second record. When I replicate, it fails
telling me to turn NOT FOR REPLICATION to NO. I found the MS article
http://support.microsoft.com/?kbid=908711 on this. However, I can't set NOT
FOR REPLICATION to NO in a p2p situation as far as I can tell. It's easily
reproduced. Just create a simple table with primary key as an IDENTITY
column and then an ON INSERT trigger to add a second row. When you create
the publication and try to run the P2P Topology stuff it blows off telling
you that you can't do p2p when set to manual.
Any ideas?
Mick...
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:u9eJiGVFGHA.1028@.TK2MSFTNGP11.phx.gbl...
> Can you post the exact steps you took to configure this? What you are
> describing is not peer-to-peer replication, but seems to be bi-directional
> transactional instead.
> --
> Mike
> Mentor
> Solid Quality Learning
> http://www.solidqualitylearning.com
>
> "Mick Kowitz" <mkowitz@.cinci.rr.com> wrote in message
> news:f%wwf.14644$%D1.9161@.tornado.ohiordc.rr.com.. .
>
|||I actually got it working. The problem was when I was in the peer-to-peer
topology and Adding the SQL Server, I was trying to use Windows
Authentication to connect to the peer, but since I was in a WORKGROUP that
wasn't working. As soon as I made it connect with SQL Authentication it
worked...
I'm wondering if you have any ideas, though, on a new problem...
I have a table in the p2p replication that has an IDENTITY column as the key
and an on INSERT trigger to add a second record. When I replicate, it fails
telling me to turn NOT FOR REPLICATION to NO. I found the MS article
http://support.microsoft.com/?kbid=908711 on this. However, I can't set NOT
FOR REPLICATION to NO in a p2p situation as far as I can tell. It's easily
reproduced. Just create a simple table with primary key as an IDENTITY
column and then an ON INSERT trigger to add a second row. When you create
the publication and try to run the P2P Topology stuff it blows off telling
you that you can't do p2p when set to manual.
Any ideas?
Mick...
"Michael Hotek" <mike@.solidqualitylearning.com> wrote in message
news:u9eJiGVFGHA.1028@.TK2MSFTNGP11.phx.gbl...
> Can you post the exact steps you took to configure this? What you are
> describing is not peer-to-peer replication, but seems to be bi-directional
> transactional instead.
> --
> Mike
> Mentor
> Solid Quality Learning
> http://www.solidqualitylearning.com
>
> "Mick Kowitz" <mkowitz@.cinci.rr.com> wrote in message
> news:f%wwf.14644$%D1.9161@.tornado.ohiordc.rr.com.. .
>
Peer-to-Peer Replication (Programmatic Control and Setup)
I have reviewed the BOL documentation on how to configure Peer-to-Peer replication via T-SQL and how to use the Replication Wizard to implement replication.
What I would like to find out is how do I configure the peer-to-peer replication process to use an existing column on a table that contains a GUID instead of creating an extra column with a uniqueidentifier GUID value. When you use the Wizard each table article has this extra column added to it.
I don't seem to be able to find it in the books-on-line. Can some one point me to the correct article or BOL page.
Thank you.
...cordell...
I do not think that P2P replication adds a uniqueidentifier column to a published table. Transactional queued replicaiton and merge replication will add required columns to a table that you want to publish. Please confirm which type of replication you are trying to use.
A general suggestion is to use the UI to implement the replication scenario that you want, then use the scripting featues in the UI to see the syntax for the new column that was added.
i.e. Merge replication will add the following column to a table that is merge published...
[rowguid] [uniqueidentifier] ROWGUIDCOL NOT NULL CONSTRAINT
Check out this link for more details on how merge replcation adds a rowguid uniqueidentifier column if one does not exist -- http://msdn2.microsoft.com/en-us/library/aa256294(SQL.80).aspx
Hope this helps,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
Peer to Peer 64bit and 32bit question
a 32bit machine without any expected problems or does it also have to be a
64bit machine?
Any direction to resources would be great as well.
Adam P. Cassidy
Adam,
For SQL Server 2000, the issues were summarised as follows:
As the Microsoft Jet engine is not supported, Microsoft Jet push
subscriptions for merge replication are not supported.
Unless the subscriber provides a 64-bit ODBC or OLE DB driver, transactional
or snapshot push subscriptions for ODBC or OLE DB subscribers are not
supported.
Because of the unavailability of 64-bit Data Transformation Services (DTS),
transformable push subscriptions are not supported.
In Peer-to-peer between 64bit and 32bit I am therefore aware of no issues.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
|||This is a tested configuration
"Adam Patrick Cassidy" <apcassidy@.aol.com> wrote in message
news:O%23gjeUCCHHA.4864@.TK2MSFTNGP04.phx.gbl...
> If I have an existing 64bit P2P transactional replication setup, can I
> join
> a 32bit machine without any expected problems or does it also have to be a
> 64bit machine?
> Any direction to resources would be great as well.
> Adam P. Cassidy
>
sql
Tuesday, March 20, 2012
Patching SQL in a Clustered Environment
Cluster setup. Will I run into any issues when attempting
to patch SQL with SQL SP3? Are there any issues I should
be aware of when patching the SQL cluster or any
prerequisite patches that need to be applied before
patching SQL in a cluster?
This is a rather open ended question. Are you talking about a specific
patch or just patches in general
Rand
This posting is provided "as is" with no warranties and confers no rights.
|||I am speaking of a general Serivce Pack 3a update. When dealing with virtual servers, are there any issues when applying the SP3a update?
rp
-- Rand Boyd [MSFT] wrote: --
This is a rather open ended question. Are you talking about a specific
patch or just patches in general
Rand
This posting is provided "as is" with no warranties and confers no rights.
|||Not really anything special. Make sure all nodes are online and are capable
of hosting the service. You will need to run the service pack from the node
hosting the particular instance you wish to update. If you have more than
one instance, you will need to apply the Service Pack to each instance
independantly. It is possible to run different instances at different
service pack and hotfix levels without a problem. Of course all instances
on a particular host will run against the same level MDAC installation. If
you run into any issues, you know where to find help.
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com
I support the Professional Association for SQL Server
www.sqlpass.org
"Bob" <anonymous@.discussions.microsoft.com> wrote in message
news:02068577-4EB9-472E-A36E-D21EF109FC91@.microsoft.com...
> I am speaking of a general Serivce Pack 3a update. When dealing with
virtual servers, are there any issues when applying the SP3a update?
> rp
> -- Rand Boyd [MSFT] wrote: --
> This is a rather open ended question. Are you talking about a
specific
> patch or just patches in general
> Rand
> This posting is provided "as is" with no warranties and confers no
rights.
>
|||Before applying any service pack, always review the readme. For sp3a on a
cluster, see:
811168 INF: SQL Server 2000 Service Pack 3 or Service Pack 3a
Pre-Installation
http://support.microsoft.com/?id=811168
And you should strongly consider applying the MS03-031 security rollup as
well.
Cindy Gross, MCDBA, MCSE
http://cindygross.tripod.com
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi Cindy. I didn't know you had joined Microsoft.
Mike
Principal Mentor
Solid Quality Learning
"More than just Training"
SQL Server MVP
http://www.solidqualitylearning.com
http://www.mssqlserver.com
Wednesday, March 7, 2012
Password Error... while installing SQL SP 3a
error message.
"Setup was unable to validate your password. Press retry to enter password
or press cancel to exit out of setup" "Retry and Cancel" buttons.
I am entering a valid password. What are the reasons that it may throw this
error message?
Also I noticed that My SQL server and SERVER agent are getting stopped while
doing this SP installation.
SQL 2K.
Any comments and thoughts. Thanks you,
Smith
I had a similiar occurance with SP4. My situatiuon was that the service
account for the engine was authenticating to another domain and I was logged
into the domain the machine was in via remote desktop. Once I altered the
service to use the account in the same domain as the machine, all was fine.
needless to say, some of our installs are jacked up.
"Branden Smith" wrote:
> When I try to install SQL Server Service Pack 3a, I am getting the following
> error message.
> "Setup was unable to validate your password. Press retry to enter password
> or press cancel to exit out of setup" "Retry and Cancel" buttons.
> I am entering a valid password. What are the reasons that it may throw this
> error message?
> Also I noticed that My SQL server and SERVER agent are getting stopped while
> doing this SP installation.
> SQL 2K.
> Any comments and thoughts. Thanks you,
> Smith
>
>
>
|||Both the services are running under "LocalSystem" account. After changing to
LocalSystem account I did restart both services. Something is missing here?
Do I have to reboot the computer?
Thanks for your reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> I had a similiar occurance with SP4. My situatiuon was that the service
> account for the engine was authenticating to another domain and I was
logged
> into the domain the machine was in via remote desktop. Once I altered the
> service to use the account in the same domain as the machine, all was
fine.[vbcol=seagreen]
> needless to say, some of our installs are jacked up.
> "Branden Smith" wrote:
following[vbcol=seagreen]
password[vbcol=seagreen]
this[vbcol=seagreen]
while[vbcol=seagreen]
|||Can you login to the server with the credentials you are supplying in QA or EM?
"Branden Smith" wrote:
> Both the services are running under "LocalSystem" account. After changing to
> LocalSystem account I did restart both services. Something is missing here?
> Do I have to reboot the computer?
> Thanks for your reply.
> Smith
>
>
> "Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
> message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> logged
> fine.
> following
> password
> this
> while
>
>
|||Yes. It worked well with EM. I did not test with QA.
I do not know why it is failing for password. Any other thoughts. Thanks for
the reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:D73EDBE1-02EA-4795-A550-E64883E383D9@.microsoft.com...
> Can you login to the server with the credentials you are supplying in QA
or EM?[vbcol=seagreen]
> "Branden Smith" wrote:
changing to[vbcol=seagreen]
here?[vbcol=seagreen]
in[vbcol=seagreen]
service[vbcol=seagreen]
the[vbcol=seagreen]
throw[vbcol=seagreen]
stopped[vbcol=seagreen]
Password Error... while installing SQL SP 3a
error message.
"Setup was unable to validate your password. Press retry to enter password
or press cancel to exit out of setup" "Retry and Cancel" buttons.
I am entering a valid password. What are the reasons that it may throw this
error message?
Also I noticed that My SQL server and SERVER agent are getting stopped while
doing this SP installation.
SQL 2K.
Any comments and thoughts. Thanks you,
SmithI had a similiar occurance with SP4. My situatiuon was that the service
account for the engine was authenticating to another domain and I was logged
into the domain the machine was in via remote desktop. Once I altered the
service to use the account in the same domain as the machine, all was fine.
needless to say, some of our installs are jacked up.
"Branden Smith" wrote:
> When I try to install SQL Server Service Pack 3a, I am getting the following
> error message.
> "Setup was unable to validate your password. Press retry to enter password
> or press cancel to exit out of setup" "Retry and Cancel" buttons.
> I am entering a valid password. What are the reasons that it may throw this
> error message?
> Also I noticed that My SQL server and SERVER agent are getting stopped while
> doing this SP installation.
> SQL 2K.
> Any comments and thoughts. Thanks you,
> Smith
>
>
>|||Both the services are running under "LocalSystem" account. After changing to
LocalSystem account I did restart both services. Something is missing here?
Do I have to reboot the computer?
Thanks for your reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> I had a similiar occurance with SP4. My situatiuon was that the service
> account for the engine was authenticating to another domain and I was
logged
> into the domain the machine was in via remote desktop. Once I altered the
> service to use the account in the same domain as the machine, all was
fine.
> needless to say, some of our installs are jacked up.
> "Branden Smith" wrote:
> > When I try to install SQL Server Service Pack 3a, I am getting the
following
> > error message.
> >
> > "Setup was unable to validate your password. Press retry to enter
password
> > or press cancel to exit out of setup" "Retry and Cancel" buttons.
> >
> > I am entering a valid password. What are the reasons that it may throw
this
> > error message?
> >
> > Also I noticed that My SQL server and SERVER agent are getting stopped
while
> > doing this SP installation.
> >
> > SQL 2K.
> >
> > Any comments and thoughts. Thanks you,
> >
> > Smith
> >
> >
> >
> >
> >|||Can you login to the server with the credentials you are supplying in QA or EM?
"Branden Smith" wrote:
> Both the services are running under "LocalSystem" account. After changing to
> LocalSystem account I did restart both services. Something is missing here?
> Do I have to reboot the computer?
> Thanks for your reply.
> Smith
>
>
> "Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
> message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> > I had a similiar occurance with SP4. My situatiuon was that the service
> > account for the engine was authenticating to another domain and I was
> logged
> > into the domain the machine was in via remote desktop. Once I altered the
> > service to use the account in the same domain as the machine, all was
> fine.
> > needless to say, some of our installs are jacked up.
> >
> > "Branden Smith" wrote:
> >
> > > When I try to install SQL Server Service Pack 3a, I am getting the
> following
> > > error message.
> > >
> > > "Setup was unable to validate your password. Press retry to enter
> password
> > > or press cancel to exit out of setup" "Retry and Cancel" buttons.
> > >
> > > I am entering a valid password. What are the reasons that it may throw
> this
> > > error message?
> > >
> > > Also I noticed that My SQL server and SERVER agent are getting stopped
> while
> > > doing this SP installation.
> > >
> > > SQL 2K.
> > >
> > > Any comments and thoughts. Thanks you,
> > >
> > > Smith
> > >
> > >
> > >
> > >
> > >
>
>|||Yes. It worked well with EM. I did not test with QA.
I do not know why it is failing for password. Any other thoughts. Thanks for
the reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:D73EDBE1-02EA-4795-A550-E64883E383D9@.microsoft.com...
> Can you login to the server with the credentials you are supplying in QA
or EM?
> "Branden Smith" wrote:
> > Both the services are running under "LocalSystem" account. After
changing to
> > LocalSystem account I did restart both services. Something is missing
here?
> > Do I have to reboot the computer?
> > Thanks for your reply.
> > Smith
> >
> >
> >
> >
> > "Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote
in
> > message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> > > I had a similiar occurance with SP4. My situatiuon was that the
service
> > > account for the engine was authenticating to another domain and I was
> > logged
> > > into the domain the machine was in via remote desktop. Once I altered
the
> > > service to use the account in the same domain as the machine, all was
> > fine.
> > > needless to say, some of our installs are jacked up.
> > >
> > > "Branden Smith" wrote:
> > >
> > > > When I try to install SQL Server Service Pack 3a, I am getting the
> > following
> > > > error message.
> > > >
> > > > "Setup was unable to validate your password. Press retry to enter
> > password
> > > > or press cancel to exit out of setup" "Retry and Cancel" buttons.
> > > >
> > > > I am entering a valid password. What are the reasons that it may
throw
> > this
> > > > error message?
> > > >
> > > > Also I noticed that My SQL server and SERVER agent are getting
stopped
> > while
> > > > doing this SP installation.
> > > >
> > > > SQL 2K.
> > > >
> > > > Any comments and thoughts. Thanks you,
> > > >
> > > > Smith
> > > >
> > > >
> > > >
> > > >
> > > >
> >
> >
> >
Password Error... while installing SQL SP 3a
error message.
"Setup was unable to validate your password. Press retry to enter password
or press cancel to exit out of setup" "Retry and Cancel" buttons.
I am entering a valid password. What are the reasons that it may throw this
error message?
Also I noticed that My SQL server and SERVER agent are getting stopped while
doing this SP installation.
SQL 2K.
Any comments and thoughts. Thanks you,
SmithI had a similiar occurance with SP4. My situatiuon was that the service
account for the engine was authenticating to another domain and I was logged
into the domain the machine was in via remote desktop. Once I altered the
service to use the account in the same domain as the machine, all was fine.
needless to say, some of our installs are jacked up.
"Branden Smith" wrote:
> When I try to install SQL Server Service Pack 3a, I am getting the followi
ng
> error message.
> "Setup was unable to validate your password. Press retry to enter password
> or press cancel to exit out of setup" "Retry and Cancel" buttons.
> I am entering a valid password. What are the reasons that it may throw thi
s
> error message?
> Also I noticed that My SQL server and SERVER agent are getting stopped whi
le
> doing this SP installation.
> SQL 2K.
> Any comments and thoughts. Thanks you,
> Smith
>
>
>|||Both the services are running under "LocalSystem" account. After changing to
LocalSystem account I did restart both services. Something is missing here?
Do I have to reboot the computer?
Thanks for your reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> I had a similiar occurance with SP4. My situatiuon was that the service
> account for the engine was authenticating to another domain and I was
logged
> into the domain the machine was in via remote desktop. Once I altered the
> service to use the account in the same domain as the machine, all was
fine.[vbcol=seagreen]
> needless to say, some of our installs are jacked up.
> "Branden Smith" wrote:
>
following[vbcol=seagreen]
password[vbcol=seagreen]
this[vbcol=seagreen]
while[vbcol=seagreen]|||Can you login to the server with the credentials you are supplying in QA or
EM?
"Branden Smith" wrote:
> Both the services are running under "LocalSystem" account. After changing
to
> LocalSystem account I did restart both services. Something is missing here
?
> Do I have to reboot the computer?
> Thanks for your reply.
> Smith
>
>
> "Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
> message news:3DF72A14-2DC6-40A4-9A54-04FFE4869D48@.microsoft.com...
> logged
> fine.
> following
> password
> this
> while
>
>|||Yes. It worked well with EM. I did not test with QA.
I do not know why it is failing for password. Any other thoughts. Thanks for
the reply.
Smith
"Jeffrey K. Ericson" <JeffreyKEricson@.discussions.microsoft.com> wrote in
message news:D73EDBE1-02EA-4795-A550-E64883E383D9@.microsoft.com...
> Can you login to the server with the credentials you are supplying in QA
or EM?[vbcol=seagreen]
> "Branden Smith" wrote:
>
changing to[vbcol=seagreen]
here?[vbcol=seagreen]
in[vbcol=seagreen]
service[vbcol=seagreen]
the[vbcol=seagreen]
throw[vbcol=seagreen]
stopped[vbcol=seagreen]
Saturday, February 25, 2012
password cannot be saved
I have a SSIS package which has SQL2005 as its destination. When I setup the connectionmanager, I'd like to use SQL authentication. But I found that the password field cannot be saved (Checkbox "Save password" is selected).Everytime I open the this package's connectionmanager, that password field is cleard. The result is that my C# application that loads that package to execute failed with "Login failed..."
Did I do something wrong or anybody know how to save that password field?
CheersThe password in a SQL-authenticated connection is considered sensitive data. SSIS wants to encrypt any sensitive data in the package (see ProtectionLevel). By default it does this with your user key. Unless you've changed the ProtectionLevel, you should be able to save the package and reopen it (as the same user) and have it preserve your password. If you're going to be opening it from an application, your best bet for ProtectionLevel is probably to use the "EncryptSensitiveWithPassword" option, which uses a password to encrypt the sensitive data. The application (and any users) will need to supply this password when opening the package.
A good alternative to storing sensitive data in the package is to read the password into the package using a Package Configuration mechanism.
|||
Thanks.
Do you mean I need another password to open my package?
Where can I set the "ProtectionLevel" in the package?
|||See the link that JayH included.|||Thank you.
I will try.