Showing posts with label configuration. Show all posts
Showing posts with label configuration. Show all posts

Sunday, February 19, 2012

Documentation of RMO and Merge Replication

Hi there,

In a lot of the Replication documentation it only refers to the merge agent operating in the context of a push or a pull configuration. i.e. if it is push then the merge agent is at the distributor but if it is a pull then the merge agent functions at the subscriber.

I recently joined a project which is configured as a push but it uses RMO for synchronisation. This RMO application is installed on a compeletely separate server. Initially I thought the RMO was just passing requests through to the publisher/distributor/subscriber but the distributor didn't seem to be doing any of the work. It therefore seems that the merging/synchronisation is being performed on this RMO application server and not the distributor or subscriber.

I therefore think it would be good (assuming I am correct of course) that the documentation reflects this caveat

As a general observation Replication programming seems to be quite detached from the rest of the replication documentation. Is this a deliberate decision?

It isn't normally, but I'll ping the writer in charge of this and ask.

Buck Woody

|||

To answer your last question first. Yes, it was a product-wide design decision to put all of the programming API documentation for SQL Server together in a separate node. I agree with you that it isn't ideal. In the next release of SQL Server, we will include the programming content for each component with the rest of the component's conceptual content.

There is no general requirement that an RMO application run on a replication server. SQL Server Management Studio (SSMS) uses RMO to perform administrative tasks in replication, and you can administer replication on remote servers using SSMS. You can also synchronize subscriptions remotely using RMO (MergeSubscription.SynchronizeWithJob in the case of a push subscription), which runs the agent job on the Distributor to asynchronously start the Merge Agent. To run the Merge Agent synchronously (MergeSynchronizationAgent.Synchronize) and receive callbacks (synchronization status events), your application needs to run on the same server as the Merge Agent (the Distributor in your case).

I will see if we can make the RMO documentation more clear on this point.

Best wishes,

Glenn Gailey [MSFT]

SQL Server UE

|||

Hi Glenn & Buck,

Thanks very much for getting back to me.

I am glad to hear that the API docs will be more integrated in katmai.

On the other point I am a little confused. In our setup the merge application using RMO runs on a totally separate server to the distributor but this third machine (distributor is remote to the publisher) has SQL Express installed. We get back all the callbacks and replication is operating. I mention this because I think this kind of setup isn't really referred to in BOL but I also believe it is a permissable setup (although not perhaps a very common one).

Cheers, James

|||Is your RMO application running on the Subscriber server, or on a 4th server totally outside the Pub/Dist/Sub topology?|||

It sits on a completely separate 4th server.

Cheers, James

|||

I checked with the development team, and it is possible to run the Merge Agent remotely (both synchronously and asynchronously) using RMO. I will look into providing this information in the documentation.

Cheers!

|||Is it possible to run application that uses RMO on a server without installing SQL server? From the posts in this thread I assume the 4th server has SQLServer Express 2005 installation just to be able to run RMO app.|||

That is correct. You do need to have at least sql express installed. This is the only way to get the RMO components onto the server.

Cheers, James

Documentation of RMO and Merge Replication

Hi there,

In a lot of the Replication documentation it only refers to the merge agent operating in the context of a push or a pull configuration. i.e. if it is push then the merge agent is at the distributor but if it is a pull then the merge agent functions at the subscriber.

I recently joined a project which is configured as a push but it uses RMO for synchronisation. This RMO application is installed on a compeletely separate server. Initially I thought the RMO was just passing requests through to the publisher/distributor/subscriber but the distributor didn't seem to be doing any of the work. It therefore seems that the merging/synchronisation is being performed on this RMO application server and not the distributor or subscriber.

I therefore think it would be good (assuming I am correct of course) that the documentation reflects this caveat

As a general observation Replication programming seems to be quite detached from the rest of the replication documentation. Is this a deliberate decision?

It isn't normally, but I'll ping the writer in charge of this and ask.

Buck Woody

|||

To answer your last question first. Yes, it was a product-wide design decision to put all of the programming API documentation for SQL Server together in a separate node. I agree with you that it isn't ideal. In the next release of SQL Server, we will include the programming content for each component with the rest of the component's conceptual content.

There is no general requirement that an RMO application run on a replication server. SQL Server Management Studio (SSMS) uses RMO to perform administrative tasks in replication, and you can administer replication on remote servers using SSMS. You can also synchronize subscriptions remotely using RMO (MergeSubscription.SynchronizeWithJob in the case of a push subscription), which runs the agent job on the Distributor to asynchronously start the Merge Agent. To run the Merge Agent synchronously (MergeSynchronizationAgent.Synchronize) and receive callbacks (synchronization status events), your application needs to run on the same server as the Merge Agent (the Distributor in your case).

I will see if we can make the RMO documentation more clear on this point.

Best wishes,

Glenn Gailey [MSFT]

SQL Server UE

|||

Hi Glenn & Buck,

Thanks very much for getting back to me.

I am glad to hear that the API docs will be more integrated in katmai.

On the other point I am a little confused. In our setup the merge application using RMO runs on a totally separate server to the distributor but this third machine (distributor is remote to the publisher) has SQL Express installed. We get back all the callbacks and replication is operating. I mention this because I think this kind of setup isn't really referred to in BOL but I also believe it is a permissable setup (although not perhaps a very common one).

Cheers, James

|||Is your RMO application running on the Subscriber server, or on a 4th server totally outside the Pub/Dist/Sub topology?|||

It sits on a completely separate 4th server.

Cheers, James

|||

I checked with the development team, and it is possible to run the Merge Agent remotely (both synchronously and asynchronously) using RMO. I will look into providing this information in the documentation.

Cheers!

|||Is it possible to run application that uses RMO on a server without installing SQL server? From the posts in this thread I assume the 4th server has SQLServer Express 2005 installation just to be able to run RMO app.
|||

That is correct. You do need to have at least sql express installed. This is the only way to get the RMO components onto the server.

Cheers, James

Friday, February 17, 2012

document map works in preview but not in browser

Hi,
I have a strange issue - the document map works in preview mode but not when
used in the browser. No doubt this is a configuration issue in IE, but I
can't find it. Any ideas?
TIA,
Paul IbisonCan you be more specific? What do you mean it doesn't work? Do you get an
error when you click on a node in the doc map tree? Do you get an error in
the document map frame? Is the document map not showing up at all?
What version of IE are you using?
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:%23mCNCnhWEHA.4032@.TK2MSFTNGP11.phx.gbl...
> Hi,
> I have a strange issue - the document map works in preview mode but not
when
> used in the browser. No doubt this is a configuration issue in IE, but I
> can't find it. Any ideas?
> TIA,
> Paul Ibison
>|||Brian,
the version of IE is 6.0. The document map appears correctly and expands,
contracts etc. However when clicking on a node there is no repositioning of
the main document. Strangely, in the development environment on the same box
it works fine. BTW, the problem applies using either the report manager or
the reports service.
TIA,
Paul Ibison|||Are you seeing any script errors in the browser (check the lower left corner
of the IE window for a warning icon)?
--
This posting is provided "AS IS" with no warranties, and confers no rights
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:u6lXIVjWEHA.712@.TK2MSFTNGP11.phx.gbl...
> Brian,
> the version of IE is 6.0. The document map appears correctly and expands,
> contracts etc. However when clicking on a node there is no repositioning
of
> the main document. Strangely, in the development environment on the same
box
> it works fine. BTW, the problem applies using either the report manager or
> the reports service.
> TIA,
> Paul Ibison
>|||Brian,
no, there aren't any errors or warnings. I've even tried with two textboxes
and no datasets or other complications, with the same result.
TIA,
Paul Ibison

Document Map

Is there any way to control the width of the document map? Is there a
setting in any of the configuration files? Thanks.I think the document map settings are automatic... However the end user can
change the width by dragging with the mouse..( but I do not think you can
change the width settings on the fly, or even as a visible attribute in the
dev environment..)
Although I haven't checked you might be able to set them directly in the RDL.
--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC
I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.
"PD" wrote:
> Is there any way to control the width of the document map? Is there a
> setting in any of the configuration files? Thanks.

Tuesday, February 14, 2012

Do you use the Reporting Services configuration files and if so, how?

Wondering if I could get some feedback from 'you All' on how you use the Reporting Services configuration files.

Specifically, I'm interested in -

1) Have you ever made changes to the configuration files? (Yes/No; if Yes - how often?)

2) What if any operations you commonly do in the files? (list)

3) Do you script or otherwise have automated solutions for updating these files? (Yes/No; if Yes - in what scenarios; if No - did you try to?)

Any other feedback about the configuration files is also welcome.

Thanks,

-Lukasz

Anyone doing this?

-Lukasz

|||

1) Yes. Depending on the requirements.

2)
- Changing web.config to use Forms Authentication
- adding encryption keys to share session cookies with other ASP.NET sites
- adding policies for using custom assemblies
- registering custom extensions: Authentication, Authorisation, Data delivery etc...

3) never used any automation, always manual.