Server service does not start on Turkish locale

Discussion of open issues, suggestions and bugs regarding code review tool for Visual Studio – Review Assistant
guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Server service does not start on Turkish locale

Post by guru753 » Mon 22 Jul 2013 06:45

I installed the review assistant server on win 8 64 but its service is refusing to start. When I try to start it manually it says "The Devart Assistant service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or program" and logs an event saying "Service cannot be started. Handle is invalid".
What am I suppose to do?
Any help would be appreciated since I really want to try out this product in my dev team.
Last edited by guru753 on Thu 25 Jul 2013 20:27, edited 1 time in total.

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

Re: Server service does not start

Post by AlexeyN » Mon 22 Jul 2013 11:43

It is a very strange problem. I have just tested that at a clean Windows 8 - and all works fine.

Review Assistant stores its data to the '%ProgramData%\Devart\Review Assistant\' folder. Please make sure that you can change something in that folder (e.g. settings.xml) under the current logged user. Then make sure that Review Assistant is running under that user (go to service properties, the Log On tab - and type the credentials into the 'This account' fields).

Another case is that some antivirus software silently blocks the Review Assistant service. Please disable all antivirus software and try again.

If you still encounter the problem, please send us the saved event viewer log for further investigation. You can save it via:
Control Panel -> Administrative Tools -> Event Viewer -> Application and Services Logs -> Right click at the 'Devart Review Assistant' and 'Save all Events As...'

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start

Post by guru753 » Mon 22 Jul 2013 12:44

Nope, it still does not work. Below is the detail of the event log

Code: Select all

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Devart Review Assistant" /> 
  <EventID Qualifiers="0">0</EventID> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2013-07-22T12:35:41.000000000Z" /> 
  <EventRecordID>37</EventRecordID> 
  <Channel>Devart Review Assistant</Channel> 
  <Computer>xxxxxxx</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>Error occurred in Perform at 22.7.2013 15:35:41: Message: Incompatible database Source: ReviewAssistantServer TargetSite: Void #=q7fhM4joaXlWwK5W5EN54tA==(Devart.ReviewAssistant.Data.ReviewAssistantContext) HelpLink: Type: System.InvalidOperationException HResult: -2146233079 Stack: at #=q_EOJz1o5SiwEIYFQnm7uwcXZDWSfj71G2josiCIkIOi9wQFCWTLNnr2OBruonxds.#=q7fhM4joaXlWwK5W5EN54tA==(ReviewAssistantContext #=qcJVF6NbvjEyaMNnj69w42w==) at #=q_EOJz1o5SiwEIYFQnm7uwcXZDWSfj71G2josiCIkIOi9wQFCWTLNnr2OBruonxds.#=qDeIee2GYIoYE$wiGsO_Odg==(Action`1 #=qRRT$Poq6NllwxB55TNtcJA==) Message: Object reference not set to an instance of an object. Source: ReviewAssistantServer TargetSite: Void #=q7fhM4joaXlWwK5W5EN54tA==(Devart.ReviewAssistant.Data.ReviewAssistantContext) HelpLink: Type: System.NullReferenceException HResult: -2147467261 Stack: at #=q_EOJz1o5SiwEIYFQnm7uwcXZDWSfj71G2josiCIkIOi9wQFCWTLNnr2OBruonxds.#=q7fhM4joaXlWwK5W5EN54tA==(ReviewAssistantContext #=qcJVF6NbvjEyaMNnj69w42w==)</Data> 
  </EventData>
  </Event>

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

Re: Server service does not start

Post by AlexeyN » Mon 22 Jul 2013 13:14

Review Assistant tries to upgrade an existing database and fails. I.e., you had already installed Review Assistant earlier.
Please send us your db file: %ProgramData%Devart\Review Assistant\reviewassistant.db, then delete it and try to run the service again. This will force the server to create a new empty database. Reinstall Review Assistant if you want a database with a demo project.

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start

Post by guru753 » Tue 23 Jul 2013 06:49

http://sdrv.ms/19eULmB
Here is the db file. Deleteing it didn't do the trick though. I paused the av and installed the program as a administrator. I gave my admin user credentials to the service and I have all the rights for the its ProgramData folder.
I wonder what is the issue here? It works on my home pc with no issues what so ever. But at the work computer I am trying to install the review assistant, something is blocking the server service from starting.

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

Re: Server service does not start

Post by AlexeyN » Tue 23 Jul 2013 10:28

Have you installed Devart LinqConnect? If you have, please specify the exact version of it.

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start

Post by guru753 » Wed 24 Jul 2013 05:45

I haven't installed any LinqConnect.

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

Re: Server service does not start

Post by AlexeyN » Wed 24 Jul 2013 10:35

We are still unable to reproduce the issue. Please send us the complete EventViewer log, not only the latest record. You can save it via:
Control Panel -> Administrative Tools -> Event Viewer -> Application and Services Logs -> Right click at the 'Devart Review Assistant' and 'Save all Events As...'

Have you installed any other Devart products? If yes, please send their names and exact versions.

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start

Post by guru753 » Wed 24 Jul 2013 13:08

No, I haven't installed any other devart product. Here is the link for the all Devart events:
http://sdrv.ms/1bgzWIW

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

Re: Server service does not start

Post by AlexeyN » Wed 24 Jul 2013 16:10

One of Review Assistant components has an issue with the Turkish locale. We will fix the problem.
As a workaround, you can create a user with the English locale and make the Review Assistant server run under that user. Or change your local system account locale to English.

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start

Post by guru753 » Thu 25 Jul 2013 08:11

I am glad you find the cause of the problem and thank you for your patience and support.

Unfortunately I don't have the rights for creating an user and I can't change my regional settings because that may effect the behavior of some of projects I am working on.

How long do you think it will take your dev team to fix this issue? When are you planing to roll out another version?

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

Re: Server service does not start

Post by AlexeyN » Thu 25 Jul 2013 14:04

The fix will be included to the upcoming Review Assistant version 2.0.
We plan to release a build with fixes for the current Review Assistant version the next week, where we should include the Turkish locale fix.

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

Re: Server service does not start on Turkish locale

Post by AlexeyN » Mon 05 Aug 2013 16:53

Please, download the latest Review Assistant version, where we have fixed the problem. If the issue persists, please let us know.

http://www.devart.com/review-assistant/download.html

guru753
Posts: 8
Joined: Mon 22 Jul 2013 06:31

Re: Server service does not start on Turkish locale

Post by guru753 » Tue 06 Aug 2013 16:39

The new version's service starts alright, but when vs client tries to connect to it, it gets an error saying:
The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

Here is the trace logs: http://sdrv.ms/187WciW

I am not sure if it is still related to Turkish Locale. Would you check it out?

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

Re: Server service does not start on Turkish locale

Post by AlexeyN » Thu 08 Aug 2013 11:48

We have just released the new Review Assistant build, that will solve the issue.
After uninstallation you should delete the broken database file:

%ProgramData%\Devart\Review Assistant\reviewassistant.db

And then install the new Review Assistant build:

http://www.devart.com/review-assistant/download.html

We apologize for the inconvenience and hope for your understanding.

Post Reply