locked
Reinstallation Problems RRS feed

  • Question

  • I have just reinstalled both Windows 10 and Visual Studio Express 2015 for Windows Desktop.

    I ran VS and opened a project that I have developed over the years and occasionally want to tweak an element but wan I ran it stopped with build errors but the previous build ran just fine.  Before the reinstalls, these errors were not present.

    I have copied and pasted those build errors but the help system for each error gives me no clue on how to solve the problem.  Help would be appreciated translating the garbage into something I can understand.

    Severity

    Code

    Description

    Project

    File

    Line

    Suppression State

    Warning

    Could not resolve COM reference "0002e550-0000-0000-c000-000000000046" version 1.1. Object reference not set to an instance of an object.

    mydata

    Warning

    Could not resolve COM reference "4affc9a0-5f99-101b-af4e-00aa003f0f07" version 9.0. Object reference not set to an instance of an object.

    mydata

    Warning

    Cannot get the file path for type library "831fdd16-0c5c-11d2-a9fc-0000f8754da1" version 2.1. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

    mydata

    Warning

    The referenced component 'OWC10' could not be found.

    mydata

    Warning

    Cannot get the file path for type library "831fdd16-0c5c-11d2-a9fc-0000f8754da1" version 2.1. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

    mydata

    Warning

    The referenced component 'Access' could not be found.

    mydata

    Warning

    Cannot get the file path for type library "831fdd16-0c5c-11d2-a9fc-0000f8754da1" version 2.1. Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))

    mydata

    Warning

    The referenced component 'MSComctlLib' could not be found.

    mydata

    Sunday, April 3, 2016 1:18 PM

Answers

  • BTW I do miss the simplicity of VB3 and VB6 for my simple needs

    VB6 programming continues on Windows 7, 8 and 10 for the lifetime of the operating system (so until at least 2025 for Windows 10). 

    The support statement is here: " https://msdn.microsoft.com/en-us/vstudio/ms788708.aspx "

    The VB6 IDE installs and runs on Windows 7,8 and 10.
    A utility to install VB6 is here:

    " http://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx "

    Microsoft say "Windows is committed to compatibility. The Windows compatibility team has been looking at user telemetry and reacting to feedback from Windows Insiders to ensure that existing apps work well with Windows 10. Windows 10 is designed to run Windows 8.1 and Windows Phone 8.1 software programs. And yes, everyone’s favorite VB6 Runtime will continue to work, too."


    • Edited by VB6 Programming Sunday, April 10, 2016 12:26 PM
    • Proposed as answer by 宝宝徐 Monday, April 11, 2016 1:41 AM
    • Marked as answer by 宝宝徐 Friday, April 15, 2016 3:15 AM
    Sunday, April 10, 2016 12:24 PM
  • Apologies

    I had hoped there might be more comment but will mark as suggested.

    regards

    Colin Reid

    • Marked as answer by Colin Reid Wednesday, June 1, 2016 1:05 PM
    Wednesday, June 1, 2016 1:05 PM

All replies

  • Hi Colin Reid,

    Thank you for posting in MSDN forum.

    It seems that some packages and components fail to load.

    Firstly , please repair your VS :
    1.Go to Control Panel >Programs >Programs and Features
    2.Select Microsoft Visual Studio 2015 and click on 'repair'.

    If the above still doesn't help, I need you installation log file to troubleshoot this issue,
    please use 
    http://aka.ms/vscollectto gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to  https://onedrive.live.com/and share the link here

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Proposed as answer by 宝宝徐 Tuesday, April 5, 2016 6:51 AM
    Monday, April 4, 2016 2:53 AM
  • The repairs did not work as errors were generated during the repair.  The problems remain as my original post.

    I have added  asnap560.jpg at

    https://onedrive.live.com/?id=D5364AF9267420F3%21115&cid=D5364AF9267420F3

    which shows the error message and the fact that the elements I am required to remove are not installed on my computer.

    Before I delve with the log files, have you any further comment?

    BTW I do miss the simplicity of VB3 and VB6 for my simple needs and if you spent as much time writing error messages and web post that explained the error AND how to correct it, life would be simpler.

    Wednesday, April 6, 2016 6:10 PM
  • Hi Colin,

    If the repair doesn't work, I suspect the VS install packages on your machine are not complete. I suggest you re-download a good VS 2015 Express iso, check the hash value and then use the good one repair it again.

    VS 2015 iso Microsoft official download link:
    https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
    VS 2015 iso files SHA-1 Values link:
    https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

    PS: To make sure whether your package is corrupted or not,
    please use FCIV.exe http://support.microsoft.com/kb/841290  to verify hash of the ISO.
    Any discrepancy would indicate that the file was corrupted. Here is a blog for how to use it, you can refer to it: https://blogs.msdn.microsoft.com/heaths/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing/

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Thursday, April 7, 2016 9:51 AM
  • When I try and get the ISO you have given links for, all I get is wdexpress_full_ENU.exe downloaded and using that for a repair does not cure the problem first quoted.

    Where is this ISO files and it is not at the link.

    So I stepped back to your first reply and downloaded the Collect .exe BUT I cannot find the vslogs.cab from %temp% folder and using Win10 search facility yielded no clue as to its location.  But the Repair function referred to log files.  So I ran those and have added it at

    https://onedrive.live.com/?id=D5364AF9267420F3%21117&cid=D5364AF9267420F3

    Is the best way to uninstall VS 2015 completely using Revo Uninstaller to clear the registry and install the missing ISO file.

    I have not followed through on the SHA-1 Values stuff.  The logic for this surely downloading files from your Microsoft leads me to think that the downloaded files will not be corrupted and installed on a clean installation of Windows 10 should not have suddenly generated a problem I did not have before.

    Thursday, April 7, 2016 1:14 PM
  • Hi Colin,

    From the link I mentioned, you could choose "ISO" and download it first, then use FCIV to check if the ISO is complete.

    Besides, if you want to uninstall VS, you still need to make sure the VS install packages on your machine are complete.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Friday, April 8, 2016 9:24 AM
  • https://onedrive.live.com/?id=D5364AF9267420F3%21115&cid=D5364AF9267420F3  contains two screen captures.  The first is for the Windows Community download with the ISO box as you have shown and the second is for the Express Windows for Desktop which is what I have been using without an ISO box.

    I have used Revo Uninstaller to uninstall Express for Desktop including all the leftover registry entries.  Logic dictated that, if the installers are corrupted, there is no way I could ever check they are complete.

    I am thoroughly confused as I have no clear idea what I should download and how to install it so as to get rid of the errors that are reported above and prevent any further tweaking the code. Would it be better to convert my current programme to a Windows 10 app and would that be able to read the Access XP database that is central to the programme?

    Friday, April 8, 2016 12:03 PM
  • BTW I do miss the simplicity of VB3 and VB6 for my simple needs

    VB6 programming continues on Windows 7, 8 and 10 for the lifetime of the operating system (so until at least 2025 for Windows 10). 

    The support statement is here: " https://msdn.microsoft.com/en-us/vstudio/ms788708.aspx "

    The VB6 IDE installs and runs on Windows 7,8 and 10.
    A utility to install VB6 is here:

    " http://nuke.vbcorner.net/Articles/VB60/VisualStudio6Installer/tabid/93/language/en-US/Default.aspx "

    Microsoft say "Windows is committed to compatibility. The Windows compatibility team has been looking at user telemetry and reacting to feedback from Windows Insiders to ensure that existing apps work well with Windows 10. Windows 10 is designed to run Windows 8.1 and Windows Phone 8.1 software programs. And yes, everyone’s favorite VB6 Runtime will continue to work, too."


    • Edited by VB6 Programming Sunday, April 10, 2016 12:26 PM
    • Proposed as answer by 宝宝徐 Monday, April 11, 2016 1:41 AM
    • Marked as answer by 宝宝徐 Friday, April 15, 2016 3:15 AM
    Sunday, April 10, 2016 12:24 PM
  • https://onedrive.live.com/?id=D5364AF9267420F3%21115&cid=D5364AF9267420F3 contains a screen capture of part of my current setup and I cannot see why there are so many SQL, NET and other MS additions.   It makes things very complicated and wastes a lot of space.

    Yes I still have my VB6 discs but that would mean rebuilding a project that has been developed, upgraded and tweaked for some 20 years.  All I was hoping was that you would develop a version that was simple like them.  I suspect I only use 1-2% of the capability of VB2015.  My brother asked if I could recommend a package to relearn Basic.  I said you released the Express version free but could not recommend it as the learning curve was too steep.

    Now to my problem in hand as you seem NOT to be able to cure the problems I have.  If the install routines are corrupted, then there must be a way to totally uninstall VS2015 and get rid of all the parts causing problems.  It does not appear possible as I tried it and on reinstalling my previous default settings were still there.  My only thought was to reinstall Windows 10 again but I cannot thank you for that.  Surely you have someone who understands what the error messages mean and how I can clear them.  If not, it shows how complicated VS2015 has become and how your error messages could just as well be in Klingon for all the help give your poor customer.  I only use the free versions now as I am retired but I did buy all VB versions from VB3 to Visual Studio 2008 for commercial software I developed.

    I am very frustrated and hope you can help.

    Sunday, April 10, 2016 1:22 PM
  • Hi Colin,

    >> there must be a way to totally uninstall VS2015 and get rid of all the parts causing problems

    If you want do a clear uninstall of VS, you need to use uninstall/force command.
    https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/

    Or you may use msiinv to gather information about what is installed on a computer, than use msiexec.exe to uninstall relevant components.
    Reference link :
    http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    • Proposed as answer by 宝宝徐 Tuesday, April 12, 2016 5:41 AM
    • Marked as answer by 宝宝徐 Friday, April 15, 2016 3:14 AM
    • Unmarked as answer by 宝宝徐 Monday, May 30, 2016 7:34 AM
    Monday, April 11, 2016 8:04 AM
  • I like the bit about better understanding customer views added to all your replies. Clearly you are failing this spectacularly. At no time have you attempted to explain the error messages or how to cure them that started this post off.

    In the end I surmised that you were not going to help that I would have to rebuild my project from scratch as the current one will not build until the error messages are cleared. Before contemplating returning and relearning  VB6 or VB.Net 2008, I thought I would see what happen if I tried rebuilding from scratch in VB Express 2015. Having to reconstitute 2 forms with several hundred controls is a pain but all the written code is fine and works when I test each component AGAIN.

    But I have only found one control that is iffy and have not added it.  But I will not thank you for not writing simpler error messages that even and idiot like me can understand and correct.

    I see on one blog that Microsoft is intending to separate VB and C# because VB is rapidly losing market share.  If it is simpler then bring it on.

    Friday, April 15, 2016 5:10 PM
  • To anyone who followed this sad tale, there is an outcome in the following steps

    1.  I gave up on getting any sense from Microsoft on hoe to decode the gobbledegook that supposes to br en error message!

    2.  I opened the Properties page for the programme and removed any references that did not appear in a New Project.  Funnily the stupid error messages disappeared.3.  Slowly added each of the controls I had been using and there were no error messages.

    4.  I googled the problem and amongst the dross a solution appeared on https://www.microsoft.com/en-gb/download/details.aspx?id=3508.  I followed the instructions and download them and registered Microsoft.Office.Interop.Access as detailed in the article.

    5 Sure enough, when I added the "old" Microsoft Access 10.0 Object Library (which I had been using for more than 10 years) again all the silly error messages reappeared.  So I removed all the elements that came with that library and they buggered off

    6.  I added the interop.Access.dll to the references.  And it worked as my programme is now running again with only changes to the code for printing Access reports in VB.

    7.  I worked out that it must have been installing SP2 to Visual Basic 2015 that did the damage.  So, why was there no warning or that as a response to this post?

    8.  I have no doubt that this will be ignoed.

    • Proposed as answer by 宝宝徐 Monday, May 30, 2016 7:35 AM
    Saturday, May 28, 2016 3:41 PM
  • Hi Colin,

    Since you have found the solution, you could mark your own reply as the answer, and thank you very much for sharing your solution and result here.

    Have a nice day :)

    Best Regards,

     

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    Click HERE to participate the survey.

    Monday, May 30, 2016 7:36 AM
  • Apologies

    I had hoped there might be more comment but will mark as suggested.

    regards

    Colin Reid

    • Marked as answer by Colin Reid Wednesday, June 1, 2016 1:05 PM
    Wednesday, June 1, 2016 1:05 PM