You are logged out or have no access to current project. To start working you need to Login to existing server

Discussion of open issues, suggestions and bugs regarding code review tool for Visual Studio – Review Assistant
Post Reply
dthagard
Posts: 2
Joined: Tue 25 Mar 2014 14:23

You are logged out or have no access to current project. To start working you need to Login to existing server

Post by dthagard » Tue 25 Mar 2014 14:39

I've setup and configured ReviewAssistant on a server which we've aliased to reviewassistant.dev.OURCOMPANY.com on port 80 (not the default port of 85). I can connect to the server using the Review Assistant Options -> Connection tab. I can also configure the list of users (via Active Directory), configure a project in source control (using TFS), and add the previously configured users to the project. Other users can create reviews, reviewers, etc for this project. Emails are successfully sent from the server when reviews are created and changed.

The problems I am experiencing are thus:

1. My user can't view the Code Review Board. I am repeatedly shown "You are logged out or have no access to the current project." Clicking "Login" does nothing but reauthenticate me. Clicking "Setup Review Assistant Project" takes me to the current project where I am already a member. Uninstalling/reinstalling ReviewAssistant does nothing. Removing/readding my user to the project does nothing. Changing the membership type to Owner, Member, or Viewer does nothing.

2. Emails sent from the system reference a correct URL, http://reviewassistant.dev.OURCOMPANY.c ... comment=21, however clicking on the link provided returns the error "Failed to open a review URI. Failed to connect to the review server using existing user credentials. Server URL: http://reviewassistant.dev.OURCOMPANY.com:85/show". Clearly this is the incorrect port. Connecting to the aforementioned URL returns the following error in the browser:

Code: Select all

<Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none">
<Code>
<Value>Sender</Value>
<Subcode>
<Value xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:DestinationUnreachable</Value>
</Subcode>
</Code>
<Reason>
<Text xml:lang="en-US">
The message with To 'http://reviewassistant.dev.OURCOMPANY.com/show?project=OURPROJECT&&review=18&&comment=21' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.
</Text>
</Reason>
</Fault>
How can I correct these two errors?

dthagard
Posts: 2
Joined: Tue 25 Mar 2014 14:23

Re: You are logged out or have no access to current project. To start working you need to Login to existing server

Post by dthagard » Tue 25 Mar 2014 16:21

Ok, I was able to resolve the first issue by logging in as the default Admin account and removing/readding my user to ReviewAssistant and not just the project. However, the second issue still exists. Any ideas?

AlexeyN
Devart Team
Posts: 244
Joined: Wed 12 Sep 2012 12:09

Re: You are logged out or have no access to current project. To start working you need to Login to existing server

Post by AlexeyN » Fri 28 Mar 2014 13:08

The issue has been already resolved via Support. Here we provide the correspondence excerpt, containing the solution, for the users who may face the same problem in future.
Ordinal Review Assistant URL looks like 'devartreview://company.local:85/ReviewAssistant/show?project=SomeProject&review=1228'

I suppose, the problem is that you delete 'ReviewAssistant' from the server path while configuring Review Assistant server. Please return 'ReviewAssistant' section and explicitly set the port in the '%ProgramData%\Devart\Review Assistant\settings.xml' at the server side. Also, make sure, that the port you want to use is free.

I created request in our project management system to resolve your issue. Thank you for your kind participation.

Post Reply