SpecFlowOSS / SpecFlow

#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
https://www.specflow.org/
Other
2.25k stars 754 forks source link

Machine Name Change - Invalid Token #2281

Closed jl250638 closed 3 years ago

jl250638 commented 3 years ago

SpecFlow Version:

Used Test Runner

Version number: Version 3.5.8+31ea45572e Assembly Version 3.5.0.0 Released 3/3/2015

Project Format of the SpecFlow project

.feature.cs files are generated using

Visual Studio Version

Enable SpecFlowSingleFileGenerator Custom Tool option in Visual Studio extension settings

Are the latest Visual Studio updates installed?

.NET Framework:

Test Execution Method:

<SpecFlow> Section in app.config or content of specflow.json

no files....

Issue Description

I recently setup a SpecFlow account with Visual studio. Due to business tasks, I needed to change the last digit of my machine name from a letter, to a number. Ever since I changed my machine name, SpecFlow has given the error:

Checking activation ProductInstanceId does not match. UserName: '****', MachineName: '***' Invalid activation token.

So my question is, can I delete my account so I can reset-up the activation link? Or can specflow update my machine name? I have emailed support 3 times and received no response.

This needs to be done ASAP. I have contacted Microsoft visual studio as well and have found no solutions.

Steps to Reproduce

  1. Create specflow project
  2. Activate specflow account
  3. Change machine name
  4. Now specflow projects cannot run due to incorrect computer name/invalid token.

Repro Project

nemesv commented 3 years ago

You should locate the following file and delete it:

%localappdata%\SpecFlow\.specflowrunner

This should reset your SpecFlow+Runner environment and you should see a different activation link in the test run output. You can use now this new activation link to activate SpecFlow+Runner for your new machine name.

github-actions[bot] commented 3 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.