.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Peer-to-Peer Identity Management

Posted By:      Posted Date: September 29, 2010    Points: 0   Category :Sql Server
Is there a way to make identity management work in peer-to-peer replication similar to the way it works in merge replication?

I do not want to be dependent on a central publisher, but I would rather not have to assign arbitrarily large starting identity values.

View Complete Post

More Related Resource Links

Peer Fun: A Peer-To-Peer Work Processing App With WCF


We demonstrate creating a peer-to-peer processing platform where multiple players function together for a common purpose: getting your work done.

Matt Neely

MSDN Magazine June 2009

WCF P2P: How To Design State Sharing in a Peer Network


Learn how you can peer-enable business applications by allowing them to share state in a serverless peer network.

Kevin Hoffman

MSDN Magazine July 2008

Peer To Peer: Harness The Power Of P2P Communication In Windows Vista And WCF


P2P applications face a number of barriers preventing their wide adoption as a productivity solution. Fortunately Windows Vista improves the situation, as you'll learn here.

Justin Smith

MSDN Magazine October 2006

.NET P2P: Writing Peer-to-Peer Networked Apps with the Microsoft .NET Framework


Peer-to-peer applications such as Napster, Gnutella, and Scour that communicate as peers sharing and receiving information are becoming commonplace as a means for users connected on large networks to take advantage of the vast resources available to them. The Microsoft .NET Framework provides a rich platform for building P2P apps. This article explains the concepts that make up peer-to-peer applications. The peer-to-peer application model, discovering other peers, and querying peers for information are discussed. The article goes on to cover the System.Net namespace for the use of Internet protocols, the System.Web.Services namespace for exposing Web Services, and firewall and port issues. Finally, the role of the .NET Framework in simplifying the design of powerful peer-to-peer applications is outlined.

Lance Olson

MSDN Magazine February 2001

peer to peer replication, drop and add article of same name

We have peer-to-peer replication set up on our system (2005 EE). I would like to change the metadata of one of the tables (many of the tables actually, but right now I'm just trying to test out the process with just one table). As this is a high-availability system, I would like to stop the replication, make the changes on one node, verify that the changes are working, make the same changes on the other node, then re-enable replication. The ddl changes to the table are extensive enough that I have to clear them before executing. So I will handle re-populating the tables in a later step. Right now I'm just testing the process of stopping, doing ddl, then restarting. I am trying to implement this using scripts so as to minimize my clicking (and thus potential for mistakes) when doing it for real. I find that if I do the following process using the SSMS interface it goes smoothly with no errors (note that each step is conducted on both nodes unless specified): stop sync agents manually remove article: tblName1 with 'publications properties window' close 'publications properties window' make ddl changes to tblName1 (change column names, add columns etc. to a particular table) manually add article: tblName1 with 'publications properties window' re-enable agents But if I try the following, I get 'Peer-To-Peer topologies require identical articles in publications at all n

Peer to peer chat

Hi,   Are there any examples which illustrate how to perform a simple peer to peer chat program? Basically, all I need is for 2 PCs to be able to send texts to each other. I don't even need any displaying, no acknowledgement needed. All the examples I found are client-server chat room style programs, or WCF peer to peer. Are there any windows form examples? Example: PC-A sends PC-B "Hello". PC-B receives it and processes it (eg. write it into a text file) PC-B sends PC-A "Hi". PC-A does the same thing to process it.    

Peer to peer voice chat

Hi, Does anyone know of any voice chat windows forms examples, that works with windows 7? I have found several examples, which uses TAPI3, and h323, but unfortunately they are all not supported in windows 7. (Or if anyone knows how to get those to work with win 7, that'll be great) Here's an example of what I tried that works perfectly in XP environment but not 7: http://www.socketcoder.com/ArticleFile.aspx?index=2&ArticleID=39 I have enabled Telephony services, but still it doesn't work. I don't really want to reinvent the wheel here, so if anyone knows of any SDKs, or examples with source code that is compatible with win 7, please post them here! I have seen some vendors like conaito, which employs client-server architecture. It's way too comprehensive for me. Just a simple peer to peer will do. Any ideas, anyone?    

Is peer-2peer replication going to be part of Standard Edition?

We currently use merge replication and have had numerous issues with it.  Primarily that there is a single point of failure. We are looking at moving to peer-2-peer transactional replication but we are currently running standard edition and have no plans/budget to upgrade. Will peer-2-peer be available in standard edition in the near future?   Thanks, Paul

Creating a Peer-2-Peer WPF App


I was wondering if anyone knew how or seen examples on how to create 2 WPF apps that connect via IP? I saw one example

however it only works over a LAN and not the internet.


Thank a lot everyone

Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagem


I have a client that has a Named instance of SQL Server 2008 R2, as this can cause issues with the User Profile Service I have deployed the June 2010 CU to this SharePoint Farm. Farm consists of 1 WFE, 1 App and a SQL 2008 R2 cluster. While applying the June I also went ahead and deployed the August 2010 CU. This is a new environment and is still in the design phase.

Well on to the problem.

After these CU's were added we were able to configure the Profile import and everything is importing as expected.

But now the Event logs (Windows Application) are throwing a Forefront Identity Manager Event ID 3, every min, these are coming in groups of 2 with the same ID but slightly different messages.

Message 1:

Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManagerException: Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow, Microsoft.ResourceManagement, Version=4.0.2450.9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Message 2:

Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManagerException: Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow, Microsoft.ResourceManagement, Version=4.0.

Peer to peer applications


Am facing a problem in developing peer to peer appln.

first of all a machine has two ips(one private visible in intranet like and second public ip visible in internet i need to connect to a peer located at remote place with the same criteria(two ips).The problem is i cnt go through the public ip to internal ip.On reading some articles on net i came to know the technique used to connect through public ip to private ip is termed as "HOLE PUNCHING"/"PORT FORWARDING".can some one help me on this issue? r is there any alternative other than this.I have to do it programmatically not manually.



replication peer-to-peer w/o init, source changed before replication


We setup a replciation peer-to-peer source / destination has sperated publisher and distributor each. 

The subscription set without initialize.  But the source db got changed before replication indeed.  Then we find there was something sent by destination distributor which hold all the process for a long time.

The question is: why is it not sent from source to destination? Does the destination try to question the change but very slow, and get the change back very quickly?

SAP NetWeaver Identity Management RMS & SharePoint 2010



In one of our client, they are using SAP Netweaver Identity Managment, and also SharePoint 2010. They wanted to protect Office doucments in SharePoint by integrating with Netweaver. Can someone help me or direct me how to configure that in the SharePoint server.


Index maintenance on peer 2 peer replication


Under normal non-replicated circumstances, we add maintenance plans, scheduled weekly, to rebuild indexs in our SQLServer databases. We have implemented peer to peer replication to run a software project from a major application vendor and the vendor is stating that "index maintenance plans are unsupported" in this implementation. In order to rebuild indexes, we therefore would need to break replication, rebuild indexes, then re-establish replication.

In short, can index maintenance plans be run against all nodes in a peer-to-peer replication scenario without effecting replication?




Peer-to-Peer design for reslient application design


In SQL 2008 R2, I understand that Peer-to-Peer replication can provide a unique opportunity.

I'm currently looking to understand if this capability feeds into an application architecture I'm beginning to research a concept for.

My firm is a medical device manufacturer. We are looking to build a new medical device gateway. This gateway is pretty simple in that medical devices connect to the gateway to transfer device operation information (little (1000 character) XML formatted messages, several hundred messages per minute).

In our legacy design, we have N+1 application servers, load balanced, that the medical devices communicate to. These gateway application servers send and receive XML messages to the device, and persist the messages into an Oracle 10g database (boo hiss!)

The current architecture is redundant at the application server level with load balancing, but the DB is the single point of failure.

In drawing up a concept of a new gateway, I was thinking of a design where each node of the application gateway consisted of the application services for device communications as well as MS SQL 2008 R2 Std  configured as peer to peer replication between each node (two, three, or maybe four nodes max).

So my thought was to use load balancing to have a device connect to a node in my new gateway, transmit the XML statu

Peer-to-Peer Content Distribution?


Is anyone aware of an example, sample or explanation of how to do content distribution across WCF? MS mention "Content Distribution" in the docs on on peer-to-peer but I can't find a concrete example.

Most specifically, a way to handle file-sharing of large data files (> 100MB) that includes handling resumes after connections are lost.


SQL 2008:Peer 2 Peer Replication: Update-Update Conflict on the same node


My environment is comprising of 2 SQL servers setup with P2P replication in SQL 2008, 2 Web servers connect to only one SQL server at a time and make changes to the published tables and 2 Application servers which connects to both the SQL servers all the time but they only read data.

We chose P2P since my app servers are in different locations which read data from both the SQL servers and we use it as HA solution.

Since we are changing data at only one SQL server, thought we should never get update-update conflicts but we are now on the same node.

A conflict of type 'Update-Update' was detected at peer 3 between peer 1 (incoming), transaction id 0x0000000000725ca2 and peer 1 (on disk), transaction id 0x00000000007259e9 (Source: MSSQLServer, Error number: 22815)

We are making changes only at Server A and Server B is my backup server.

I made a varchar field updated in 1 row on a table in server A then it gets replicated to Server B
then I made the same field updated for 160 rows on the same table in Server A then it gets replicated to Server B
then I reverted back the change made to the field on all 160 rows on the same table in Server A then my replication failing with Update-Update conflict.

I'm not sure whats causing this because I'm not making any change

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend