Visual Studio 2017 RC install error 0x80131500 Failed to deserialize packages -
i'm trying install new visual studio 2017 rc on 1 on machines. first attempt failed during download because of not enough free disc space. after each try of install again results in following error/excpetion:
2016-11-17t16:50:08 : error : failed installed product summaries. [installerid: setupengine, error: jsonreaderexception @ bei newtonsoft.json.jsontextreader.readstringintobuffer(char quote) bei newtonsoft.json.jsontextreader.parsestring(char quote, readtype readtype) bei newtonsoft.json.jsontextreader.readstringvalue(readtype readtype) bei newtonsoft.json.jsontextreader.readasstring() bei newtonsoft.json.serialization.jsonserializerinternalreader.readfortype(jsonreader reader, jsoncontract contract, boolean hasconverter) bei newtonsoft.json.serialization.jsonserializerinternalreader.populateobject(object newobject, jsonreader reader, jsonobjectcontract contract, jsonproperty member, string id) bei newtonsoft.json.serialization.jsonserializerinternalreader.createobject(jsonreader reader, type objecttype, jsoncontract contract, jsonproperty member, jsoncontainercontract containercontract, jsonproperty containermember, object existingvalue) bei newtonsoft.json.serialization.jsonserializerinternalreader.populatelist(ilist list, jsonreader reader, jsonarraycontract contract, jsonproperty containerproperty, string id) bei newtonsoft.json.serialization.jsonserializerinternalreader.createlist(jsonreader reader, type objecttype, jsoncontract contract, jsonproperty member, object existingvalue, string id) bei newtonsoft.json.serialization.jsonserializerinternalreader.setpropertyvalue(jsonproperty property, jsonconverter propertyconverter, jsoncontainercontract containercontract, jsonproperty containerproperty, jsonreader reader, object target) bei newtonsoft.json.serialization.jsonserializerinternalreader.populateobject(object newobject, jsonreader reader, jsonobjectcontract contract, jsonproperty member, string id) bei newtonsoft.json.serialization.jsonserializerinternalreader.createobject(jsonreader reader, type objecttype, jsoncontract contract, jsonproperty member, jsoncontainercontract containercontract, jsonproperty containermember, object existingvalue) bei newtonsoft.json.serialization.jsonserializerinternalreader.deserialize(jsonreader reader, type objecttype, boolean checkadditionalcontent) bei newtonsoft.json.jsonserializer.deserializeinternal(jsonreader reader, type objecttype) bei newtonsoft.json.jsonserializer.deserialize[t](jsonreader reader) bei microsoft.visualstudio.setup.serialization.modelserializer`1.deserialize(textreader reader) bei microsoft.visualstudio.setup.cache.instancerepository.getinstance() bei microsoft.visualstudio.setup.cache.cacherepository.<getinstances>d__25.movenext() bei microsoft.visualstudio.setup.installedproductsproviderservice.getinstalledproductsummariesimpl() bei microsoft.visualstudio.setup.installedproductsproviderservice.getinstalledproductsummaries()]
i tried:
- download , run installer again
- manual delete c:\program files (x86)\microsoft visual studio*
- removed new installed components (core framework, win sdk etc.)
- uninstalled visual studio 15 preview
i assume somehow installer can't information products installed. 1 line before excpetion:
2016-11-17t16:50:08 : verbose : getting product summaries. [installerid: setupengine]
i know failed visual studio installations messed os reinstall solves problem. before maybe has solution or hint - "just" json parsing problem ...
orginal solution: https://developercommunity.visualstudio.com/content/problem/2877/install-error-0x80131500-failed-to-deserialize-pac.html
the file mentioned elliot cooley (state.json) found under
%programdata%\microsoft\visualstudio\packages_instances\<instance> "instance" 8 character hex string.
was problem. json parsing error obvious. renamed/deleted file , setup works charm.
Comments
Post a Comment