none
Cannot install vs 2017 com

    Question

  • Here is the log:

    [e900:000c][2017-03-11T16:20:12] Error 0x80131500: 
       at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
       at Newtonsoft.Json.JsonTextReader.ParseProperty()
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
       at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
       at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
       at Newtonsoft.Json.JsonSerializer.Deserialize[T](JsonReader reader)
       at Microsoft.VisualStudio.Setup.Serialization.ModelSerializer`1.Deserialize(TextReader reader)
       at Microsoft.VisualStudio.Setup.Cache.InstanceRepository.GetInstance()
       at Microsoft.VisualStudio.Setup.Cache.CacheRepository.<GetInstances>d__27.MoveNext()
       at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
       at Microsoft.VisualStudio.Setup.Engine.VerifyInstallationPath(IServiceProvider services, String installationPath, IInstance instance, IQuery query)
       at Microsoft.VisualStudio.Setup.Engine.Install(Product product, String destination, CancellationToken token)Unterminated string. Expected delimiter: ". Path 'packages[396].version', line 1, position 52853.

    Any idea what the problem is?

    Saturday, March 11, 2017 10:23 PM

All replies

  • Hi markgoldin,

    Welcome to the MSDN forum.

    Refer to the error message, I found a similar issue: https://developercommunity.visualstudio.com/content/problem/2877/install-error-0x80131500-failed-to-deserialize-pac.html and please have a try with andreas.beyer as below:

    The file mentioned by Elliot (state.json) found under

    %ProgramData%\Microsoft\VisualStudio\Packages_Instances\<instance> where "instance" is an 8 character Hex string.

    was the problem. The json parsing error was obvious. I renamed the file, and the setup worked like a charm.

    If not works, please try to uninstall the existing VS 2017 and re-install it. To uninstall the VS 2017, you can click the icon beside ‘Modify’, ‘Launch’ and select ‘Uninstall’ to remove it, then try to manually remove the folder %ProgramData%\Microsoft\VisualStudio\Packages\ and the Visual Studio folder installation folder (normally under %ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community) then reboot the computer.

    Make sure windows update is up-to-date, disable any antivirus software, clean up %temp% folder, then re-run the VS 2007 installer as administrator, it should display as a new installation. If your still meet error, you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Sunday, March 12, 2017 8:45 AM
    Moderator
  • I renamed that file. As soon as I clicked Install it failed.

    There is no option uninstall.

    Sunday, March 12, 2017 12:16 PM
  • Hi markgoldin,

    Thank you for your update.

    When you re-run the VS installer, click the options icon as below. You can also go to Control Panel--Programs and Features, right click the VS 2017 and choose 'Uninstall'.

    If this installation still failed, please collect and share your installation logs, thank you for your support.

    Best regards,

    Sara


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Monday, March 13, 2017 6:27 AM
    Moderator