none
Microsoft Help View could not connect to http://services.mtps.microsoft.com/ServiceAPI/catalogs/VisualStudio11/en-US. RRS feed

  • Question

  • Microsoft Help View v2.0, v2.1, v2.2 could not connect to http://services . mtps . microsoft . com/ServiceAPI/catalogs/VisualStudio11/en-US. But v2.3 works fine. I tried from browser and the URL "http://services . mtps . microsoft . com/ServiceAPI/catalogs/VisualStudio11/en-US" worked in browser.

    Error:

    An error occurred while checking for updates: Microsoft.VisualStudio.Help.CacheLib.CacheLibWebConnectivityException: Unable to connect to services.mtps. Check your Internet connections. ---> System . Net . WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System . IO . IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System . Net . Sockets . SocketException: An existing connection was forcibly closed by the remote host

    If I manually download all the cab files and then try to update I always get error "cab was not signed by Microsoft"

    An error occurred while updating content on your computer: Microsoft.VisualStudio.Help.CacheLib.CacheLibNonMicrosoftSignatureException

    Tuesday, November 19, 2019 6:03 PM

All replies

  • Hi Trinity Biotech – Primus Diagnostics,

    Welcome to MSDN forum.

    >> But v2.3 works fine.

    ## Do you mean you could connect to the website with Help View v2.3? I’m not sure but new version of Help View maybe fix and improve something and make this connection possible to access.

    >> If I manually download all the cab files and then try to update I always get error “cab was not signed by Microsoft”

    ## Do you use Visual Studio 2012? If yes, you could try to update Visual Studio 2012 to the latest version and check if this issue could be solved. As far as I know this might be an issue that appears in old version of Visual Studio, if possible, could you share us with your steps and help us to reproduce this issue and I will then test in my side.

    We are looking forward to hearing from you.

    Best Regards,

    Tianyu


    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.

    Wednesday, November 20, 2019 7:39 AM
  • Hello Tianyu,

    To answer your questions:

    1) Microsoft Help View v2.3 (which is the document viewer for VS 2017 & 2019) works fine. It can connect to mtps without any issue. But v2.0 (VS 2012), v2.1 (VS 2013) and V2.2 (VS 2015) don't work. I always got the "unable to connect to http : // service . mtps . microsoft . com / ServiceAPI / catalogs / VisualStudio1x / en-US" error. The x is 1, 2 or 4.

    2) I am already running the latest version of VS 2012 (Version 11.0.61219.00 Update 5). I don't think it's Visual Studio issue. It's more of a Microsoft online service issue. Here are the steps to create my local installation source:

    Step 1: Create a folder, such as VisualStudio11 anywhere on the machine.

    Step2: Create HelpContentSetup . msha per "https://blogs . msdn . microsoft . com / thehelpguy / 2012 / 04 / 10 / installing-content-from-downloaded-help-viewer-2-0-cabs /".

    Stepp3: Download all the cab files from "http://service . mtps . microsoft . com / ServiceAPI / catalogs / VisualStudio11 / en-US" into folder VisualStudio11.

    Step 4: Open Help Viewer from VS 2012. And change Installation source to Disk.

    Step 5: Click "Click here to download now" on the status bar. You will see the error "cab was not signed by Microsoft".




    Wednesday, November 20, 2019 2:45 PM
  • Hi Trinity Biotech – primus Diagnostics,

    Thank you for sharing us with the detailed steps.

    I followed your steps and refer to this blog: Installing Content From Downloaded Help Viewer 2.0 you shared above and test in my side using VS 2012.

    I notice that you said “download all the cab files from ….” and from service.mtps…. website I see there are lots of cab files and I download a part of them and test temporarily(if it is necessary, I will go to download all of them and test again).

    The folder I created like you said is as below screenshot, please check it:

    The sample codes of HelpContentSetup.msha folder is as below codes.

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head />
    <body class="vendor-book">
        <div class="details">
            <span class="vendor">Microsoft</span>
            <span class="locale">en-us</span>
            <span class="product">Microsoft Help Content</span>
            <span class="name">Microsoft Help Content</span>
        </div>
        <div class="package-list">
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2(1e31c917-543f-b7d0-3f24-c8e533ec1382).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2(1e31c917-543f-b7d0-3f24-c8e533ec1382).cab</a>
            </div>
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3(91224dba-aa88-6d08-116c-8a942b7c0974).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3(91224dba-aa88-6d08-116c-8a942b7c0974).cab</a>
            </div>
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_6</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_6(db4d3efa-5c89-5aa5-6af1-d61dc5751eec).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_6(db4d3efa-5c89-5aa5-6af1-d61dc5751eec).cab</a>
            </div>
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_10</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_10(4628f95e-baa0-1b46-d89f-a337f38594b1).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_10(4628f95e-baa0-1b46-d89f-a337f38594b1).cab</a>
            </div>
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_11</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_11(6344dfb1-c2fe-1619-39c7-437b25084af5).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_11(6344dfb1-c2fe-1619-39c7-437b25084af5).cab</a>
            </div>
            <div class="package">
                <span class="packageType">branding</span>
                <span class="name">VisualStudio_2011_Branding_en-US</span>
                <span class="deployed">True</span>
                <a class="current-link" href="VisualStudio_2011_Branding_en-US(1bd6e667-f159-ac3b-f0a5-964c04ca5a13).cab">VisualStudio_2011_Branding_en-US(1bd6e667-f159-ac3b-f0a5-964c04ca5a13).cab</a>
            </div>
        </div>
    </body>
    </html> 

    When I try to do the step 5 you mentioned above, I could not find the button or option named “Click here to download now”. I could just find “Add” and I click it then click “Update”,  Visual Studio shows me that “Update succeeded”. I’m not sure if I miss some steps or settings, if yes please feel free to let me know.

    In addition, I follow the blog and copy the sample of HelpContentSetup.msha and modify the corresponding referenced cab files’ name to the cabs’ I downloaded.

    Please point out if I miss anything and hope to hear from you.

    Sincerely,

    Tianyu


    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.

    Thursday, November 21, 2019 6:36 AM
  • Hi Tianyu,

    I think what you can try is to install all the document online first. And then try to download all the cab files and reference all them them in file HelpContentSetup.msha. Then change installation source to Disk. You should then see the button(should say a link on status bar).

    Friday, November 22, 2019 5:32 PM
  • Hi Trinity Biotech - Primus Diagnostics,

    Thank you for your feedback.

    I am trying to download and reference all of the cab files, and this cost much time and I meet an error during this process. So I might need to do more test and  I will inform you if I have any update.

    Sorry for this inconvenience and thank you for your understanding.

    Sincerely,

    Tianyu


    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.

    Thursday, November 28, 2019 8:41 AM
  • Hi Trinity Biotech – Primus Diagnostics,

    Really sorry for delay in reply.

    I have tested in my side to try to download all of the cab files but forgive me, it costs me much time to configure one by one. So I added almost 180 cabs and I reproduced your issue in my side.

    I consider the reason is hidden in the format of the .msha file, I mean you might have noticed that there are several XXXXX_branding_XXXX cab files which are included in this .msha file so that the installed content will have branding, and the content behaviors that are contained in the downloaded cabs will have the appropriate support elements contained in the branding package cab.

    I guess each “XXXXX_branding_XXXX” cab file matches the corresponding cab files. So you might need to format the .msha file like below format:

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head />
    <body class="vendor-book">
        <div class="details">
            <span class="vendor">Microsoft</span>
            <span class="locale">en-us</span>
            <span class="product">Microsoft Help Content</span>
            <span class="name">Microsoft Help Content</span>
        </div>
        <div class="package-list">
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2(1e31c917-543f-b7d0-3f24-c8e533ec1382).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_2(1e31c917-543f-b7d0-3f24-c8e533ec1382).cab</a>
            </div>
            <div class="package">
                <span class="name">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3(91224dba-aa88-6d08-116c-8a942b7c0974).cab">v2visual_studio_2011_fundamentals_b906_vs_110_en-us_3(91224dba-aa88-6d08-116c-8a942b7c0974).cab</a>
            </div>       
            <div class="package">
                <span class="packageType">branding</span>
                <span class="name">VisualStudio_2011_Branding_en-US</span>
                <span class="deployed">True</span>
                <a class="current-link" href="VisualStudio_2011_Branding_en-US(1bd6e667-f159-ac3b-f0a5-964c04ca5a13).cab">VisualStudio_2011_Branding_en-US(1bd6e667-f159-ac3b-f0a5-964c04ca5a13).cab</a>
            </div>
        </div>
    
    
        <div class="package-list">
    
            <div class="package">
                <span class="name">v2Windows Desktop App Development_en-us_vs.85_0</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2Windows Desktop App Development_en-us_vs.85_0(2544b3a3-8118-167b-50be-6c59eb96981e).cab">v2Windows Desktop App Development_en-us_vs.85_0(2544b3a3-8118-167b-50be-6c59eb96981e).cab</a>
            </div>
            <div class="package">
                <span class="name">v2Windows Desktop App Development_en-us_vs.85_1</span>
                <span class="deployed">False</span>
                <a class="current-link" href="v2Windows Desktop App Development_en-us_vs.85_1(5cc0b81e-a594-c2d8-a45f-88ff512bc398).cab">v2Windows Desktop App Development_en-us_vs.85_1(5cc0b81e-a594-c2d8-a45f-88ff512bc398).cab</a>
            </div>
            <div class="package">
                <span class="packageType">branding</span>
                <span class="name">vs2017_Branding2_en-US</span>
                <span class="deployed">True</span>
                <a class="current-link" href="vs2017_Branding2_en-US(2962a50e-bc39-37f4-ae5c-262876af3884).cab">vs2017_Branding2_en-US(2962a50e-bc39-37f4-ae5c-262876af3884).cab</a>
            </div>
        </div>
    
    </body>
    </html> 

    If you have formatted like the codes above and this issue still persists, you could try to remove the cab files the error message said. If you really need these cab files, Since VS 2012 is an old version and some of the functions might not be supported, I’m afraid this function is no longer supported.

    I hope all above could help you.

    Sincerely,

    Tianyu


    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.


    Tuesday, December 3, 2019 9:50 AM