Hello,
I have a problem with a MergeReplication. I have installed the Publisher and
the Distributor. Then I created a MergePullSubscription.
But when I want to generate the Snapshot I get the error:
Message: Error in the Replication-Agent while creating the folder 'xyz'
Stack: in
Microsoft.SqlServer.Replication.Utilities.CreateDi rectoryWithExtendedErrorInformation(String directory)
in
Microsoft.SqlServer.Replication.Snapshot.SnapshotP rovider.CreateSnapshotFolders()
in
Microsoft.SqlServer.Replication.Snapshot.MergeSnap shotProvider.CreateSnapshotFolders()
in
Microsoft.SqlServer.Replication.Snapshot.SqlServer SnapshotProvider.GenerateSnapshot()
in Microsoft.SqlServer.Replication.SnapshotGeneration Agent.InternalRun()
in Microsoft.SqlServer.Replication.AgentCore.Run() (Quelle: MSSQL_REPL,
errornumber: MSSQL_REPL52026)
Can anyone help me?
John
John,
please check that the sql server agent (or proxy for the snapshot job if you
do it that way) has access to the distribution working folder (repldata
share usually). Also check that there is enough space in the folder to add
files.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
|||Hi Paul,
can you tell me what I have to do, if I want to give access to the
repldata-folder? I gave all permissions to everyone to the folder, but I
still get the error...
"Paul Ibison" wrote:
> John,
> please check that the sql server agent (or proxy for the snapshot job if you
> do it that way) has access to the distribution working folder (repldata
> share usually). Also check that there is enough space in the folder to add
> files.
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
>
>
|||John - double-check that the share has the same permissions. After that, log
on to the box as the same account that is used (probably sql server agent
but could be the proxy). Then try to create a folder using that account in
the snapshot share. BTW are you using a publisher/distributor (one box) or a
remote distributor?
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
|||John, then you don't need to check this. The way you have set things up is
the same as I did - you've mimiced SQL Server 2000 methodology. The
recommendation is not to do it this way and to lock down the security a
little more by using proxies. So, that leads me to the other part of my
post - can you log on as the sql server agent's account and create a
directory in the snapshot share. If this works then I'm out of ideas!
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
|||Paul, I don′t know, where I get the Username and Passwort of the ServerAgent
Account...
"Paul Ibison" wrote:
> John, then you don't need to check this. The way you have set things up is
> the same as I did - you've mimiced SQL Server 2000 methodology. The
> recommendation is not to do it this way and to lock down the security a
> little more by using proxies. So, that leads me to the other part of my
> post - can you log on as the sql server agent's account and create a
> directory in the snapshot share. If this works then I'm out of ideas!
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
>
>
>
>
|||On the server, have a look in the Control Panel, Administrative Tools,
Services, SQL Server Agent - Log On properties.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
|||I found it... the Server Agent starts with an integrated account from the
local system. Should I change this to a specified account?
"Paul Ibison" wrote:
> On the server, have a look in the Control Panel, Administrative Tools,
> Services, SQL Server Agent - Log On properties.
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
>
>
|||If you're replicating to the same box this is fine. If you're going to
another box then it'll need to be a domain account with the correct
priviliges on your pub/dist and the subscriber as long as you are
impersonating it in the sql server agent and not using a proxy (SQL Server
2000 style). However I don't think this is the issue here as the problem is
in the creation of the snapshot folder. My last hope is that the disk is
full and no account can create a folder in the snapshot share - can you just
create a folder there as a test. Also change the sql server account to be a
domain one which is a local administrator on the publisher just to test this
although I don't see that this should make any difference. Am hoping it's a
simple space issue!
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
|||So, now changed the Account of the ServerAgent to the Domain-Admin Account.
When I am logged in to the machine with this account, I can create a folder
in the repldata...
But still the same problem when I want to start the Snapshotagent...
But who knows what I do wrong when I create the distributor/publisher and
the publication...
"Paul Ibison" wrote:
> If you're replicating to the same box this is fine. If you're going to
> another box then it'll need to be a domain account with the correct
> priviliges on your pub/dist and the subscriber as long as you are
> impersonating it in the sql server agent and not using a proxy (SQL Server
> 2000 style). However I don't think this is the issue here as the problem is
> in the creation of the snapshot folder. My last hope is that the disk is
> full and no account can create a folder in the snapshot share - can you just
> create a folder there as a test. Also change the sql server account to be a
> domain one which is a local administrator on the publisher just to test this
> although I don't see that this should make any difference. Am hoping it's a
> simple space issue!
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com
>
>
>
Friday, February 17, 2012
Error while generating Snapshot
Labels:
andthe,
created,
database,
distributor,
error,
generating,
installed,
mergepullsubscription,
mergereplication,
microsoft,
mysql,
oracle,
publisher,
server,
snapshot,
sql
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment