Invalid license data reinstall is required visual studio 2010 как исправить

I’ve tried to install Visual C# 2010 Express edition onto my PC, but whenever I try to run it, I get a error message.

Invalid license data. Reinstall is required.

I’ve already tried reinstalling it, and the message persists.

OS is Vista Home Premium. I already have VC# 2008 Express installed.

DineshDB's user avatar

DineshDB

5,9906 gold badges32 silver badges49 bronze badges

asked Apr 20, 2010 at 7:17

MiffTheFox's user avatar

2

I am using Visual Studio 2013 and I have the same issue but it occurs when I try to open a solution that was made using Visual Studio 2010.

The solution for me is to open the solution file (.sln), using notepad and change this line:

[# Visual Studio 2010]

to this:

[# Visual Studio 2013]

Jan Doggen's user avatar

Jan Doggen

8,74313 gold badges69 silver badges143 bronze badges

answered Apr 22, 2015 at 10:36

GnRSlashSP's user avatar

GnRSlashSPGnRSlashSP

5351 gold badge5 silver badges10 bronze badges

3

I just right-clicked, and opened with Visual Studio XXXX (in my case 2015). Then save it. Done.

answered Mar 2, 2016 at 16:17

user3496060's user avatar

user3496060user3496060

7809 silver badges20 bronze badges

1

I have the same problem with Windows 7 Pro. Have tried everything suggested by the Microsoft people, including uninstalling, cleaning up, reinstalling both from the web installer and the VS2010 Express iso – with the same result every time.

To say it’s frustrating is an understatement and the disinterest from Microsoft in fixing what appears to be a common problem (you can find lots of search engine ‘hits’ for the problem, none for a solution) is quite unbelievable.

Since this is virtually a virgin Win7 install, the only conclusion is that MS have broken their licesing checks again (why check for a license on a free product?).

Edit: Following further investigation I have concluded that the advice given by Microsoft is useless and does not attempt to diagnose the problem. It simply assumes a corrupt installation source. I believe that the problem is in fact corrupt permissions/ownership of registry keys. HKEY_LOCAL_MACHINESOFTWAREClassesLicenses and subkeys needs to be owned by SYSTEM with admins having full access. On my affected system the owner cannot be displayed and no permissions are shown when viewed by admin.

I don’t have the definitive fix for this so far, as I cannot adequately edit the permissions for the affected registry keys.

Re-installing Windows is an almost certain fix, but also an extremely drastic one.

answered Jun 19, 2010 at 17:01

Bill Hoggett's user avatar

7

I have had this EXACT problem with VS2010 Professional Trial / Evaluation download. I can provide clear and concise steps to reproduce:

  1. Set your system clock ahead by 1 day (oops!)
  2. Install the trial software.
  3. Set your system clock back to the correct date.
  4. Start VS2010, you will receive the vague message indicating “Invalid license data. Reinstall is required.”

In my case, the resolution was quite simple – set the clock back ahead to the wrong date. The next day, I was able to set the clock back to the correct date and continue using the product.

Based on other answers to this question, it would appear there are numerous reasons that you could receive this message. This specific issue is most likely to be encountered by someone with a “virgin” install of Windows since it is not so difficult to set the clock incorrectly when setting up a new computer and then fix it later (and if you fix the clock hours after installing the product, it might be hard to put it all together and realize what happened).

Hope this helps someone else.

answered Apr 9, 2011 at 22:43

user700390's user avatar

user700390user700390

2,2771 gold badge19 silver badges26 bronze badges

2

I had this issue but I was able to resolve this by right clicking and using Run as Administrator. This boots up the program just fine.

AlG's user avatar

AlG

14.6k4 gold badges40 silver badges54 bronze badges

answered Jun 27, 2012 at 18:54

TimB's user avatar

TimBTimB

511 silver badge1 bronze badge

I got the problem when instelled MS SQL 2012 with IngegrationService, the MS Visual Studio 2010 (Isolated) was installed from sql installer .

This VS returned error: Invalid license data. Reinstall is required.

I’ve fixed the problem by reinstalling SSDT with MS VS 2012 (Integrated)
http://msdn.microsoft.com/en-us/jj650015

Fallen's user avatar

Fallen

4,4052 gold badges26 silver badges44 bronze badges

answered Aug 21, 2014 at 7:17

Anton's user avatar

AntonAnton

411 silver badge1 bronze badge

1

I had this problem when installing a new SQL Server 2012 standalone Server.

Cause: When installing SQL Managemnt Tools it will install the VS Shell. It seems like this is all you need but this ist not enough! (it actually shows it will install VS)
Strangly the path and the application are shown in windows put you can’t open them without the error.

Fix: You need to also install “SQL Server Data Tools” via Feature Add with the SQL-Server.iso

Hope this helps someone… i took me quite a while.

answered Nov 6, 2014 at 15:54

Johannes's user avatar

0

I get this error only when trying to open older solution files. For instance, I’ve got VS2013 installed and this error message pops up when I double click on a VS2010 solution file.

Getting rid of it is so simple:

  • Launch VS2013

  • Open the old solution file by clicking
    “File->Open->Project/Solution…” from the menu (or simply by
    pressing Shift+Ctrl+O)

  • Save the solution with the new format by clicking “File->Save
    Solution As…” and overwrite the old file.

answered Mar 6, 2015 at 21:18

Sinan ILYAS's user avatar

Sinan ILYASSinan ILYAS

1,1721 gold badge11 silver badges10 bronze badges

It appears that this has been reported as a bug, but has been closed as “Not Reproducible”. One suggestiong from the Microsoft supporter is to redownload and reinstall:

Please try downloading the complete ISO from http://www.microsoft.com/express/Downloads/#2010-All, mount it as virtual drive. Then execute Visual C# setup from the ISO media and select an option to remove the product. Once the Visual C# has been uninstalled, please try installing it again from the ISO media.

It sounds a bit far fetched to me, but you might want to give it a try.

If that does not help you, I would suggest that you either post a new bug report to Microsoft or vote to reopen the existing one (I am not sure if/how this is possible).

answered Apr 20, 2010 at 7:28

Jørn Schou-Rode's user avatar

Jørn Schou-RodeJørn Schou-Rode

37.6k14 gold badges87 silver badges122 bronze badges

2

I have faced this problem when installing the Visual studio 2010 – C# express using the local administrator account, then trying to register the application using another account that doesn’t have Admin privileges, due to corporate polices this account can’t edit in the Registry by any means, so suddenly that’s how I figured out how to solve this issue I open VS 2010 as a local administrator then entered the registration key, and it is worked , I don’t understand how do that Microsoft itself didn’t mention this solution or even try hard to investigate or solve this issue

answered Jul 11, 2010 at 12:46

Muhammed's user avatar

1

I just encountered this problem on a virgin install with a system that has a bad clock battery (when I turn off the power, it resets the date/time. Syncing to time.windows.com again allowed me to run VS2010 successfully.

answered Apr 24, 2011 at 19:47

Layla's user avatar

LaylaLayla

111 bronze badge

It was not the clock for me, and all the hours spent re-downloading and reinstalling were a waste of time (except for the last one, of course….).

Also, for some odd reason, just adding Read permissions to the HKCR node using psexec -i -s regedit did not work by itself.

To fix my problem on Windows 7, I made sure (using psexec -i -s regedit) that my login account had full control permission over every node in the registry and that the everyone group had read permission over every node in the registry, and did all of the steps in the following link (rebooting after each step):

http://windows.microsoft.com/troubleshootwindows7sp1

This is probably overkill, but after spending 10+ hours trying to get this working, I am just happy it works… Good luck!

answered Dec 13, 2011 at 16:51

Robert's user avatar

I was stuck for several days with the same problem. Investigating the registry i found several keys in HKCR were i was denied access even as adminstrator. Among these keys were the Licences key. Tried a lot of things to resolve this access problem but could not fix it.

Finally i worked around this problem with a reinstall of Windows 7 – choosing the Upgrade option when prompted to choose between upgrade or a fresh install. Had to reinstall video drivers but all my programs and user accounts survived.

http://windows.microsoft.com/en-US/windows7/Installing-and-reinstalling-Windows-7

After the upgrade i have access to the HKCRLicenses again and Visual Studio 2010 starts as expected.

answered Jan 11, 2012 at 9:59

Henrik Buch-Larsen's user avatar

I had this problem and finally got passed it. I tried the solutions above to no effect. (I set my license keys to open permissions, set my clock forward, etc.) After two days I gave up…

In the end, I installed VS 2012 Express, which could handle VS 2010 solutions but could not compile 2010 code (without a COFF error). After finding this article on requiring VS 2010 to be installed to compile 2010 solution in VS 2012, I reinstalled VS 2010 even though I assumed it wouldn’t work on its own. I tried opening 2010 anyway and it worked!

Community's user avatar

answered Feb 4, 2013 at 17:23

CharlieP's user avatar

Analysis: as per the previous correct note by reece (and the original workaround author), I used ProcessMonitor to see what devenv.exe tries to do and fails.
Unfortunately, it was attempting to read a number of reg keys which were not under the Licenses node (so it wouldn’t have been enough to take ownership of the latter with subinacl). Furthermore, even after taking ownership, the affected keys still yielded “ACCESS DENIED”. Doing it as Administrator was equally useless. Plus, Visual Studio didn’t fall for any date change nonsense either.

Solution – Don’t try this at home 😀 though: I downloaded pstools and ran psexec -i -s regedit to get System privileges, then I changed permissions on the entire HKCR node to allow Everyone to Read (:P what can I say, viva el comandante).

I want to point out that adding “Everyone” to have read permissions on HKEY_Classes_Root did fix this issue for me.

I am not sure exactly what permission is needed, but this “worked for me” … YMMV

Community's user avatar

answered May 5, 2011 at 16:06

Valentin Gabriel Raduti's user avatar

This may also occur if you are trying to invoke an xml file instead of the exe application.

answered Dec 19, 2013 at 3:35

sweetfa's user avatar

sweetfasweetfa

5,3792 gold badges48 silver badges62 bronze badges

2

If you’re here from Google and are experiencing this issue with GFI MailEssentials’s config export tool, check to make sure you aren’t trying to open WebMon.SettingsImporterTool.exe.xml instead of WebMon.SettingsImporterTool.exe

If you have “hide common file extensions” enabled, you will see the .exe but not the .xml

answered Nov 14, 2017 at 22:58

Jarrod's user avatar

Just happened to me with a new install of Visual Studio 2010 ultimate in a new computer.

This new computer had the internal time correctly set, but the date was set to one day late. I installed Visual Studio 2010 with the incorrect date. Then, I noticed of the incorrect date and changed it by sync’ing with a NTP server, and from that moment Visual Studio 2010 would not work… so I’ll have to stop using Visual Studio 2010 until DateTime.Now > installationDate.

answered May 5, 2011 at 11:35

Francisco Lozano's user avatar

I met the same problem yesterday.And I fixed already.
Please follow the steps:

  • Run setup.exe again; Change or Remove Microsoft Visual Studio 2010;
    Upgrade license Key (Enter new license key); Complete.

GOOD LUCK !

answered May 11, 2012 at 8:39

xiemails's user avatar

xiemailsxiemails

8433 gold badges8 silver badges10 bronze badges

To everyone who has internet connection. Don’t mingle with your
registry it’s just a waste of time. Set your CMOS clock right then
just click on the button that say’s “Obtain registry key online” fill
up the form(two fields are only required) then the registry key would
show up to your screen then just copy and paste it. then everything
works fine. sorry I can’t post any images I still need to earn more points…

Andrew Barber's user avatar

Andrew Barber

39.5k20 gold badges94 silver badges123 bronze badges

answered Jan 31, 2012 at 2:16

pndcck's user avatar

pndcckpndcck

311 silver badge4 bronze badges

Background: Visual Studio 2012 Pro installed by Administrator account.
As “Joe User” (member of Win 7 Users group, but NOT Adminstrators) I got the error message.
On reading this forum I concluded this is a generic error message.
Steps to fix:
As an adminstrator, open HK_CLASSES_ROOT.
Open context menu on the Licenses subkey
Select Permissions…
Set Full Control for all users.

Now log on as “Joe” again.
Voila!

Next, as Administrator change the permission on HKCR/Licenses back to read only for Users.

Two hints for developers.
If you can develop and run an application as an ordinary user, then presumably your poor
clients don’t need admin rights to run it either.

Don’t leak security information in “helpful” error messages. Microsloth are probably following their own advise and giving a vague and unhelpful error message here.

I have no idea why changing the permission to FC then back again to the original setting worked. I can only assume the Visual Studio writes something to that key the first time it runs.

answered Nov 9, 2013 at 6:36

user2971293's user avatar

While none of the above solution worked for me (else than running the application with an other username),Renaming the application folder in %appdata% fixed the porblem for me.
“C:Users…AppDataRoamingMicrosoftMS Project”

answered Jun 1, 2017 at 12:50

Gabriel's user avatar

I had this issue while installing dynamic ax setup in VM, while installing it was showing me to ‘licence is not valid, Reinstall visual studio shell 2010 version’, so i uninstalled the visual studio shell 2010 version and its following component and tried to install again the AX admin it worked.

answered Jun 15, 2017 at 12:40

Shalom's user avatar

I’m having this problem with Visual Studio 2015 installed.

ramonsantana over at forum.unity3d.com had the solution for me: https://forum.unity3d.com/threads/if-anyone-is-having-visual-studio-shell-2010-invalid-license-data-reinstall-is-required.298824/

Copied here for reference

Use regedit go to HKEY_CLASSES_ROOT and look for Visual Studio.DTE
Since i have Visual Studio 2015 CTP installed i have 3 DTE, one is
VisualStudio.DTE, the other Visual StudioDTE.10.0 and
VisualStudio.DTE.14.0 Go to VisualStudio.DTE.14.0 ( or whatever
version of Visual studio you have installed) and click CLSID.

Copy the
Default (Double click Default and Copy the key inside), now go back to
Visua Studio.DTE and double click the Default there and paste the key
you just copied.

Almost there

On VisualStudio.DTE go to CurVer and
double click the key there to Edit it. Change the 10.0 in the end to
12.0 or 13.0 or 14.0, depending on what version of Visual Studio you have and you are done.

answered Sep 7, 2017 at 7:47

Squazz's user avatar

SquazzSquazz

3,8827 gold badges37 silver badges62 bronze badges

Installing SQL server data tools for visual studio 2010 did it for me! SSDT has an VS2010 IDE along with it, which overwrites the required registry entries.
You can find SSDT here.

answered Feb 14, 2019 at 4:09

Shyam Poovaiah's user avatar

Shyam PoovaiahShyam Poovaiah

3341 gold badge2 silver badges9 bronze badges

My problem:

  • VS works fine, but when I create new Solution Setup and Deployment it make Setup file but when I run this Setup file, it say: “Invalid license data. Reinstall is required.”
  • subinacl do not work.

My PC:

  • OS: Windows 7 64bit.
  • Visual Studio 2012

My way:

  • Close Visual Studio
  • Run regedit.
  • Pull down HKEY_CLASSES_ROOT
  • Looking for Licenses
  • Right click on Licenses -> click Permissions… -> click Advanced -> click User you want edit -> click Edit -> choose This key and subkey -> check all Allow: Full Control, Query Value, SetValue, Create Subkey, Enumerate Subkeys, Notyfy, Create Link, Delete, Write DAC, Write Owner, Read Control… -> check Apply these permissions to objects… -> click OK -> click OK -> click OK -> Close Registry Edit
  • Start VS
  • Hope this help

marc_s's user avatar

marc_s

727k174 gold badges1325 silver badges1454 bronze badges

answered May 24, 2015 at 3:16

Thanh Lý's user avatar

This was my problem with my Visual Basic Net 2005.
This is how I got it solved:

  1. Click start :-> type run (Or press win+r)
  2. Type regedit
  3. Click HKEY_CLASSES_ROOT
  4. Click Licenses
  5. Double click (Default)
  6. Clear all text written in Value data field
  7. Press Ok
  8. Run again Microsoft visual studio

tripleee's user avatar

tripleee

173k32 gold badges269 silver badges313 bronze badges

answered Nov 18, 2013 at 8:57

user3004000's user avatar

Believe it or not, I have found cases where this problem occurred due to a build error when the build error was due to an error in xcopy in the pre-build events.

We had this problem at a colleges computer, and after trying everything here we set to forget it and fix the error from xcopy. When this was fixed the Visual Studio 2010 shell error stopped popping up, for some reason.

answered Sep 7, 2017 at 8:32

Squazz's user avatar

SquazzSquazz

3,8827 gold badges37 silver badges62 bronze badges

При запуске Visual Studio 2010 возникает ошибка: “Недопустимые данные лицензии. Требуется переустановка.” или в английском варианте “Invalid license data. Reinstall is required.”

Как воспроизвести ошибку:

  • Установить системную дату, например, на день вперёд.
  • Установить Visual Studio.
  • Установить системную дату на текущее значение времени.
  • Запустить Visual Studio и получить ошибку.

Зачем, вы спросите меня, переставлять дату вперёд? Конечно, этого делать не нужно. Здесь важна причина почему так происходит – а именно, текущая дата ранее чем дата установки. В моём случае это возникло по причине плохой батарейки в материнской плате. После клонирования машины и запуска Visual Studio я увидел подобную ошибку.

Как избавиться от ошибки?

  1. Обычно помогает установка корректной даты, то есть не ранее той, когда установлена Visual Studio.
  2. Если первый вариант не помог, то рекомендую почитать
    • http://habrahabr.ru/qa/4832/, где описаны манипуляции с разделом реестра HKEY_CLASSES_ROOTLicenses, где хранятся данные о лицензиях.
    • http://stackoverflow.com/questions/2673275/how-do-i-fix-an-invalid-license-data-reinstall-is-required-error-in-visual-c, более развёрнутое обсуждение данной проблемы, но на английском.

Я попытался установить Visual C# 2010 Express edition на моем компьютере, но когда я пытаюсь запустить его, я получаю сообщение об ошибке.

недопустимые данные лицензии. Требуется переустановка.

Я уже пробовал переустановить его, и сообщение сохраняется.

ОС-это Vista Home Premium. У меня уже есть VC# 2008 Express установлен.

29 ответов



Я использую Visual Studio 2013, и у меня такая же проблема, но это происходит, когда я пытаюсь открыть решение, которое было сделано с помощью Visual Studio 2010.

решением для меня является открытие файла решения (.sln), используя блокнот и измените эту строку:

[# Visual Studio 2010]

для этого:

[# Visual Studio 2013]

Я просто щелкнул правой кнопкой мыши и открыл Visual Studio XXXX (в моем случае 2015). Затем сохранить. Сделанный.


У меня такая же проблема с Windows 7 Pro. Попробовали все, что предложили люди Microsoft, включая удаление, очистку, переустановку как из веб – установщика, так и из VS2010 Express iso-с тем же результатом каждый раз.

сказать, что это расстраивает, это преуменьшение и незаинтересованность Microsoft в исправлении того, что кажется общей проблемой (вы можете найти много поисковых “хитов” для проблемы, ни для решения), довольно невероятно.

поскольку это фактически установка virgin Win7, единственный вывод заключается в том, что MS снова нарушили свои проверки лицензирования (зачем проверять лицензию на бесплатный продукт?).

Edit: после дальнейшего исследования я пришел к выводу, что советы, данные Microsoft, бесполезны и не пытаются диагностировать проблему. Он просто предполагает поврежденный источник установки. Я считаю, что проблема на самом деле коррумпированные разрешения/право собственности на ключи реестра. HKEY_LOCAL_MACHINESOFTWAREClassesLicenses и подразделы должны принадлежать системе с администраторами, имеющими полный доступ. В моей уязвимой системе владелец не может отображаться, и никакие разрешения не отображаются при просмотре администратором.

У меня пока нет окончательного исправления, поскольку я не могу адекватно редактировать разрешения для затронутых разделов реестра.

переустановка Windows-это почти определенное исправление, но также чрезвычайно радикальное.


У меня была эта точная проблема с профессиональной пробной / оценочной загрузкой VS2010. Я могу предоставить четкие и краткие шаги для воспроизведения:

  1. установите системные часы вперед на 1 день (ой!)
  2. установить программное обеспечение.
  3. установите ваши часы обратно на правильную дату.
  4. Start VS2010, вы получите неопределенное сообщение с указанием ” недопустимые данные лицензии. Требуется переустановка.”

в моем случае разрешение было довольно простым-установить часы назад на неправильную дату. На следующий день я смог установить часы на правильную дату и продолжить использование продукта.

основываясь на других ответах на этот вопрос, похоже, есть множество причин, по которым вы можете получить это сообщение. Эта конкретная проблема, скорее всего, столкнется с кем-то с “девственной” установкой Windows, так как не так сложно установить часы неправильно при настройке нового компьютер, а затем исправить это позже (и если вы исправите часы часов после установки продукта, может быть трудно собрать все это вместе и понять, что произошло).

надеюсь, это поможет кому-то еще.


У меня была эта проблема, но я смог решить ее, щелкнув правой кнопкой мыши и используя Run as Administrator. Это загрузит программу просто отлично.


у меня есть проблема, когда instelled MS SQL 2012 с IngegrationService, MS Visual Studio 2010 (изолированный) был установлен из установщика sql .

это VS возвращенная ошибка:Invalid license data. Reinstall is required.

я исправил проблему, переустановив SSDT С MS VS 2012 (интегрированный)
http://msdn.microsoft.com/en-us/jj650015


У меня была эта проблема при установке нового автономного сервера SQL Server 2012.

причина: при установке SQL Managemnt Tools он установит vs Shell. Кажется, это все, что вам нужно, но этого недостаточно! (на самом деле он показывает, что он установит VS)
Как ни странно, путь и приложение показаны в windows, вы не можете открыть их без ошибки.

Fix: вам также необходимо установить “SQL Server Data Tools” через функцию Add с помощью SQL Server.iso

надеюсь, это кому-то поможет… это заняло довольно много времени.


Я получаю эту ошибку только при попытке открыть старые файлы решение. Например, у меня установлен VS2013, и это сообщение об ошибке появляется, когда я дважды нажимаю на файл решения VS2010.

избавиться от него так просто:

  • запуск VS2013

  • открыть старый файл, нажав кнопку
    “Файл- > Открыть – >Проект / Решение…”из меню (или просто
    прессование Shift + Ctrl+O)

  • сохраните решение в новом формате, нажав ” Файл – >Сохранить
    Решение Как…”и перезаписать старый файл.


похоже, что это было сообщается как ошибка, но был закрыт как “не воспроизводимы”. Одно из предложений от сторонника Microsoft –загрузить и переустановить:

пожалуйста, попробуйте загрузить полный ISO из http://www.microsoft.com/express/Downloads/#2010-All, установите его как виртуальный диск. Затем выполните установку Visual C# на носителе ISO и выберите опцию удаления продукта. Как только Visual C# имеет был удален, попробуйте установить его снова с носителя ISO.

Это звучит немного надуманно для меня,но вы можете попробовать.

Если это не поможет вам, я бы предложил вам либо опубликовать новый отчет об ошибке в Microsoft, либо проголосовать за повторное открытие существующего (я не уверен, что/как это возможно).


Я столкнулась с этой проблемой при установки Visual Studio 2010 с – C#, экспресс-помощью учетной записи локального администратора, затем пытается зарегистрировать приложение под другой учетной записью, которая не имеет админ права, из-за корпоративной политики на этот счет не может вносить изменения в реестр с помощью любых средств, так внезапно, что я придумал, как решить эту проблему я открываю против 2010 как локальный администратор, то ввели регистрационный ключ и он работал , я не понимаю, как это сделать Сама Microsoft не упоминала об этом решении и даже не пыталась исследовать или решить эту проблему


Я только что столкнулся с этой проблемой при установке virgin с системой с плохой батареей часов (когда я выключаю питание, он сбрасывает дату/время. Синхронизация с time.windows.com снова позволил мне успешно запустить VS2010.


это были не часы для меня, и все часы, потраченные на повторную загрузку и переустановку, были пустой тратой времени (за исключением последнего, конечно….).

кроме того, по какой-то странной причине просто добавьте разрешения на чтение к узлу HKCR с помощью psexec -i -s regedit не работает сам по себе.

исправить мою проблему на Windows 7, Я убедился (с помощью psexec -i -s regedit), что моя учетная запись входа имела полное разрешение контроля над каждым узлом в реестре и что каждая группа имела разрешение на чтение каждый узел в реестре и сделал все шаги по следующей ссылке (перезагрузка после каждого шага):

http://windows.microsoft.com/troubleshootwindows7sp1

Это, вероятно, перебор, но, потратив 10+ часов, пытаясь заставить это работать, я просто рад, что это работает… Удачи!


Я застрял на несколько дней с той же проблемой. Исследуя реестр, я нашел несколько ключей в HKCR, мне было отказано в доступе даже в качестве администратора. Среди этих ключей был лицензионный ключ. Пробовал много вещей, чтобы решить эту проблему доступа, но не смог ее исправить.

наконец, я работал над этой проблемой с переустановкой Windows 7-выбор опции обновления при появлении запроса на выбор между обновлением или новой установкой. Пришлось переустановить видеодрайверы, но все мои программы и учетные записи пользователей выжил.

http://windows.microsoft.com/en-US/windows7/Installing-and-reinstalling-Windows-7

после обновления у меня снова есть доступ к HKCRLicenses, и Visual Studio 2010 запускается, как ожидалось.

1

автор: Henrik Buch-Larsen


У меня была эта проблема, и, наконец, она прошла. Я попробовал решения выше безрезультатно. (Я установил лицензионные ключи для открытия разрешений, установил часы вперед и т. д. Через два дня я сдался…

в конце концов, я установил VS 2012 Express, который мог обрабатывать решения VS 2010, но не мог скомпилировать код 2010 (без ошибки COFF). После нахождения в этой статье при необходимости установки VS 2010 для компиляции решения 2010 в VS 2012 я переустановил VS 2010 даже хотя я предполагал, что это не сработает само по себе. Я все равно попробовал открыть 2010, и это сработало!


анализ: согласно предыдущей правильной заметке риса (и оригинального автора обходного пути), я использовал ProcessMonitor, чтобы увидеть, что devenv.exe пытается сделать и терпит неудачу.
К сожалению, он пытался прочитать несколько ключей reg, которые не были под узлом лицензий (поэтому было бы недостаточно взять на себя владение последним с subinacl). Кроме того, даже после принятия права собственности затронутые ключи по-прежнему давали “отказ в доступе”. Делать это как администратор было одинаково бесполезный. Кроме того, Visual Studio также не попала на какую-либо ерунду с изменением даты.

решение-не пытайтесь это дома: D, хотя: Я загрузил pstools и побежал psexec -i -s regedit чтобы получить системные привилегии, я изменил разрешения на весь узел HKCR, чтобы позволить всем читать (: P что я могу сказать, viva el comandante).

Я хочу отметить, что добавление” все”, чтобы иметь права на чтение на ¼ исправлена эта проблема для мне.

Я не уверен точно, какое разрешение необходимо, но это “сработало для меня” … YMMV

1

автор: Valentin Gabriel Raduti


Это также может произойти, если вы пытаетесь вызвать xml-файл вместо exe-приложения.


Если вы здесь из Google и испытываете эту проблему с инструментом экспорта конфигурации GFI MailEssentials, убедитесь, что вы не пытаетесь открыть WebMon.SettingsImporterTool.исполняемый.xml вместо WebMon.SettingsImporterTool.exe

Если у вас есть” скрыть общие расширения файлов ” включен, вы увидите .exe, но не .в XML


просто случилось со мной с новой установкой Visual Studio 2010 ultimate на новом компьютере.

этот новый компьютер правильно установил внутреннее время, но дата была установлена на один день позже. Я установил Visual Studio 2010 с неправильной датой. Затем я заметил неправильную дату и изменил ее путем синхронизации с сервером NTP, и с этого момента Visual Studio 2010 не будет работать… поэтому мне придется прекратить использование Visual Studio 2010 до DateTime.Теперь> installationDate.

0

автор: Francisco Lozano


вчера я столкнулся с той же проблемой.И я уже починил.
Пожалуйста, следуйте инструкциям:

  • настройка выполнить.exe снова; изменение или удаление Microsoft Visual Studio 2010;
    Обновление лицензионного ключа (введите новый лицензионный ключ); завершено.

УДАЧИ !


всем, кто имеет подключение к интернету. Не смешивайтесь с
реестр это просто пустая трата времени. Установите часы CMOS прямо тогда
просто нажмите на кнопку, которая говорит” получить ключ реестра онлайн ” заполнить
вверх по форме (требуется только два поля), тогда раздел реестра будет
покажите на экране, а затем просто скопируйте и вставьте его. тогда все
работать отлично. извините, я не могу опубликовать какие-либо изображения, мне все еще нужно заработать больше очков…


фон: Visual Studio 2012 Pro установлен учетной записью администратора.
Как “пользователь Joe” (член группы пользователей Win 7, но не Adminstrators), я получил сообщение об ошибке.
Читая этот форум, Я пришел к выводу сообщения об ошибке.
Шаги для исправления:
В качестве администратора откройте HK_CLASSES_ROOT.
Открыть контекстное меню в подразделе лицензии
разрешение Select…
Установите полный контроль для всех пользователей.

теперь войдите в систему как ” Джо ” снова.
Вуаля!

далее, как администратор изменить разрешение на HKCR / лицензии обратно для чтения только для пользователей.

две подсказки для разработчиков.
Если вы можете разработать и запустить приложение как обычный пользователь, то предположительно ваш бедный
клиентам также не нужны права администратора для его запуска.

Не утечки информации о безопасности в” полезные ” сообщения об ошибках. Microsloth, вероятно, следуют своим собственным советам и дают смутное и бесполезное сообщение об ошибке здесь.

Я понятия не имею, почему изменение разрешения на FC затем обратно снова сработала исходная настройка. Я могу только предположить, что Visual Studio записывает что-то на этот ключ при первом запуске.


Эй, это была моя проблема с моей Visual basic net 2005
Вот как я его решил:

1.Нажмите кнопку Пуск : – > введите run (или нажмите win+r)
2.Тип regedit
3.Выберите раздел HKEY_CLASSES_ROOT
4.Щелкните Лицензии
5.Двойной щелчок (по умолчанию)
6.очистить текст в поле Значение
6.Нажмите Ok
7.Запустите снова Microsoft visual studio


мой проьлем:
– VS работает нормально, но когда я создаю новую установку и развертывание решения, он делает файл установки, но когда я запускаю этот файл установки, он говорит: “недопустимые данные лицензии. Требуется переустановка.”
– subinacl не работает.

Мой компьютер:
– ОС: Windows 7 64bit.
– Visual Studio 2012

мой путь:
– Закрыть Visual Studio
-Запустите regedit.
-Снести раздел HKEY_CLASSES_ROOT
-Ищу лицензии
– Щелкните правой кнопкой мыши на лицензии- > нажмите разрешения… – >нажмите Addvanced – > нажмите пользователя, которого вы хотите изменить – > нажмите Edit – > выберите этот ключ и подраздел – > проверить все разрешить: полный контроль, значение запроса, SetValue, создать подраздел, перечислить подразделы, Notyfy, создать ссылку, удалить, написать DAC, владелец записи, управление чтением… – >проверьте применить эти разрешения к объектам… – >нажмите OK – > нажмите OK – > нажмите OK – > закрыть редактирование реестра
-Начать против
– Надеюсь, это поможет


хотя ни одно из вышеперечисленных решений не работало для меня (кроме запуска приложения с другим именем пользователя),переименование папки приложения в %appdata% исправило для меня porblem.
“C:Users…AppDataроумингMicrosoftMS Project”


У меня была эта проблема при установке dynamic ax setup в VM, при установке он показывал мне “лицензия недействительна, переустановите версию visual studio shell 2010”, поэтому я удалил версию visual studio shell 2010 и ее следующий компонент и попытался снова установить AX admin он работал.


У меня эта проблема с установленной Visual Studio 2015.

рамонсантана на forum.unity3d.com у меня было решение для меня: https://forum.unity3d.com/threads/if-anyone-is-having-visual-studio-shell-2010-invalid-license-data-reinstall-is-required.298824/

скопировано здесь для справки

используйте regedit перейдите в HKEY_CLASSES_ROOT и найдите Visual Studio.ТЕРМИНАЛЬНОЕ ОБОРУДОВАНИЕ
Поскольку у меня установлена Visual Studio 2015 CTP, у меня есть 3 DTE, один
VisualStudio.DTE, другой визуальный StudioDTE.10.0 и
VisualStudio.ТЕРМИНАЛЬНОЕ ОБОРУДОВАНИЕ.14.0 перейдите в VisualStudio.ТЕРМИНАЛЬНОЕ ОБОРУДОВАНИЕ.14.0 ( или как там
версия Visual studio, которую вы установили) и нажмите CLSID.

скопировать
По умолчанию (дважды щелкните по умолчанию и скопируйте ключ внутрь), теперь вернитесь к
Visua Studio.DTE и дважды щелкните по умолчанию и вставьте ключ
ты только что скопировал.

практически нет

На VisualStudio.DTE перейти к CurVer и
двойной щелчок ключ для его редактирования. Изменить 10.0 в конце концов
12.0 и 13.0 или 14.0, в зависимости от версии Visual Studio вы есть, и вы сделали.


другое решение, которое я нашел для работы, – это упомянутое Mac более чем на суперпользователя: https://superuser.com/questions/651261/how-do-i-fix-an-invalid-license-data-reinstall-is-required-error-in-visual-s

когда просто переустановка оболочки Visual Studio 2010 не работает, он указывает, что установка его через SSMS 2010 может решить проблему:

Я смог решить свою проблему, не делая любые изменения вручную
реестр Windows, установив SQL Server Data Tools 2010, которым
также бесплатно и включает оболочку Visual Studio 2010.

вам не нужно проходить весь процесс установки. Я отменил процесс, когда он был сделан, установив оболочку, и он работал нормально.


Верьте или нет, я нашел случаи, когда эта проблема возникла из-за ошибки сборки, когда ошибка сборки была вызвана ошибкой в xcopy в событиях предварительной сборки.

У нас была эта проблема в колледже, и, попробовав все здесь, мы решили забыть об этом и исправить ошибку из xcopy. Когда это было исправлено, по какой-то причине ошибка оболочки Visual Studio 2010 перестала появляться.


  • Remove From My Forums
  • Question

  • Hi,

    I have recently managed to install VS 2012 on Windows 7 x64 without problem. Earlier I hade VS2010 installed and I had problem uninstalling it properly. I got the message “Microsoft Visual Studio 2010 Tools for Office Runtime (x64) Package failed.” on the
    VS2012 setup. The problem layed in VS 2010 SP1, after successfuly uninstalling this, I could also successfuly install VS 2012. With VS2012 I also have these applications installed under program and functions:

    See screen dumps in this thread (further down in the thread).

    But, now when I try to open an existing VS 2010 project I emediately got the message “Message Visual studio 2010 shell invalid license data. reinstall is required”. Some people on the net i suggesting a reinstall of the SQL Server Data Tools, so I tested
    this, but it doesn’t help. The error still remains.

    Does anyone know the reason for this and how to solve it?


    SWEDEV

    • Edited by

      Wednesday, January 9, 2013 11:10 AM

    • Moved by
      Konrad Neitzel
      Wednesday, January 9, 2013 1:28 PM
      Installation issue (From:Visual Studio General Questions)

Answers

  • Hi,

    I did a reset by starting VS 2012 IDE, entering devenv /ResetSettings. After that I opened my VS 2010 project and that went ok. Though,  warning/error for the x64 deploymentproject within the solution. That did’nt seem compatible with VS 2012.

    Still hope fore answer on my questions above, though. I now asume I can develop in VS 2012 and also hand over the solution to another developer having VS 2010 (as long as I don’t add VS 2012 .NET 4.5 related stuff in my app).


    SWEDEV

    • Edited by
      SWEDEV
      Wednesday, January 9, 2013 4:00 PM
    • Marked as answer by
      SWEDEV
      Thursday, January 10, 2013 8:27 AM

Где храниться лицензионный ключ? Ключик имеется, однако сама среда не запускается и не даёт возможности его ввести, установка чистая.

Сообщает следующее, «Недопустимые данные лицензии. Требуется переустановка.»
Уже и так и сяк переустанавливал, куда копать непонятно.

Решение проблемы.

Скачиваем и устанавливаем утилиту subinacl от майкрософта. Открываем и запускаем её в командной строке со следующими параметрами

раз
/subkeyreg HKEY_CLASSES_ROOTLicenses /setowner=everyone
и два
/subkeyreg HKEY_CLASSES_ROOTLicenses /grant=everyone=f
Внимание если локализация в системе русская, то группа «everyone» заменяется на «Все».

Далее открываем в regedit раздел HKEY_CLASSES_ROOTLicenses и удаляем все ключи в нём. Также заходим в настройки доступа (разрешения) раздела и ставим доступ на запись для системы и всех остальных групп.

Перестанавливаем студию с правами администратора.

Вуаля, всё должно работать.

Для того чтобы не вводить ключ после установки, а прописать его автоматически делаем следующее: находим в установочных файлах файл setup.sdb, находим в нём раздел [Product key] и вставляем в нём свой ключик без пробелов.

Добавить комментарий