Common Return Codes
The following codes are commonly returned by Peer Networking:
||The requested operation could not complete because a duplicate item already exists.
||The local peer is already listening on the network.
||The conversion from a peer name failed. It has an invalid format or is too long.
||One or more of the dependent services could not initialize. The modules pnrpsvc, p2psvc, p2pimsvc, and p2phost must be present. If not present, these modules can be manually initialized.
||The Identity Store has been corrupted. Delete idstore.sst from the %appdata%\peernetworking folder.
||An attempt has been made to create an invitation or issue credentials that are longer than the maximum allowance. Credentials retrieved from the group creator are preferred.
||The invitation has an illegal circular chain. For example, A invites B, and then B invites A.
||The classifier is longer than the maximum allowed.
||There is more than one cloud with the same scope. The cloud must be accessed specifically.
||An attempt to establish a direct connection to yourself has been made.
||A connection to the graph or group has failed, or a direct connection in a graph or group has failed.
||An error has occurred while establishing a connection in a graph or group, or while connecting based on an IP address in a group.
||An attempt to disconnect a direct connection that does not exist has been made.
||The neighbor in the mesh is not accepting connections.
||The contact requested was not found.
||The requested access to the database has been denied.
||An attempt has been made to create a graph with the same graph ID, peer ID, and database name as a graph created previously.
||The database requested was not found.
||Upgrading the application to run on Vista failed as a result of the database used on the previous operating system being unable to load.
||A graph has been opened in the same process with a different database name than it was opened with initially.
||The graph security layer cannot verify the record at this time.
||The local machine is out of disk space.
||An attempt has been made to create a graph with a graph ID previously used in the same process. Creation will require a new graph ID.
||The peer is using an invalid event handle.
||The firewall exception, Windows Peer Collaboration Foundation, is blocked by group policy. Talk to your administrator about enabling this exception.
||The firewall settings explicitly state "no exceptions" to the firewall policy.
||The firewall exception, Windows Peer Collaboration Foundation, is disabled. The exception can be enabled by accepting the People Near Me privacy dialog or directly from within the firewall UI.
||An attempt to delete an identity which has one or more associated groups has been made. The groups must be deleted prior to the removal of the associated identity.
||An attempt to import the graph database has been made while the graph is still connected or listening. The graph must be closed prior to this operation.
||The peer has attempted to perform an operation that requires that requires connectivity, but is not connected to the graph.
||An attempt has been made to import the group database while the group is still connected . The group must be closed prior to this operation. The error is also returned while trying to join a group that is already open.
||This error is returned when not connected to the group while trying to perform an operation that requires connectivity.
||A graph shutdown is in progress. Graph-related operations cannot be performed.
||An identity being used in the operation has been deleted.
||The local peer is using an identity that does not exist.
||The address specified is invalid.
||The format specified for attributes is not correct when adding a record.
||The classifier specified is invalid.
||The classifier in the invitation used while joining the group is invalid.
||An invitation specified for joining the group is invalid.
||The credential information specified is invalid.
||The graph ID in the database being imported is different from the Graph ID found in the path to the database.
||The friendly name specified is invalid.
||An invalid handle to the graph is being used. Use the handle returned after creating or opening the graph.
||The group handle is invalid or the group has been marked for deletion.
||The group properties specified are invalid.
||The format of the peer name specified is invalid.
||The conversion from a DNS name to a peer name has failed. It is possible the format of the DNS name is incorrect.
||The record is invalid.
||The record expiration specified is invalid.
||The record size specified is invalid.
||The role specified is invalid.
||The format specified for a search string is not valid.
||This is returned when the time values supplied during the creation of invitations or credentials are incorrect.
||An application invite has been canceled.
||A response is not available. Wait for the event to be signaled.
||The invitation used to join the group is not valid.
||IPv6 is not installed on this machine. IPv6 is required for the Windows Peer infrastructure.
||The record size exceeds maximum limitations.
||An attempt has been made to access a cloud that does not exist.
||No access is given to the directory where keys are stored.
||No endpoints left.
||A connection to a group has failed because the member found could not accept the connection.
||A connection to a group has failed because there are no active members in the group.
||An attempt has been made to perform a graph node-related operation for a node that does not exist.
||An attempt has been made to perform an unauthorized operation.
||The requested data does not exist.
||The Windows Peer infrastructure is not initialized. Calling the relevant initialization function is required.
||The Windows Peer infrastructure is not licensed to operate on this platform.
||The operation requires the user to be signed in.
||The password specified does not meet group policy password requirements.
||A peer name has been registered more than once in the same cloud.
||The user has chosen not to start People Near Me by declining the privacy dialog. The privacy will appear the next the user attempts sign-in.
||The local peer is using a record that does not exist.
||The Peer Collaboration infrastructure, which includes People Near Me, is not available. This code will also be returned whenever an attempt is made to utilize the Collaboration infrastructure from an elevated process.
||The local peer timed out while trying to connect to the endpoint to subscribe or invite to.
||More attributes than the maximum allowed have been added to a record.
||The system cannot create additional identities.
||The local peer is unable to listen. The port requested may not be available.
||This version is not supported.
||The local peer is already connected to the group or graph.
||The local peer attempted to join a group based on a password more than once.
||The Graph Properties have been created for the graph that was opened. It is important to note that certain operations will be limited until this local node has synchronized with other nodes in the graph.
||The sign-in succeeded, but IPv6 addresses are not available at this time.
||The event data is not present.
||The specified endpoint has already been subscribed to.