zoukankan      html  css  js  c++  java
  • 智能客户端请教

    最近下载了Updater Application Block V2.0,在实践时,自动更新总是无法成功,更新日志如下,还请高手们指点下:

    [DownloaderManager.RunDownloader] :
        Checking on updates for application 'myApp'.
      

    [ApplicationUpdateManager.StartUpdater] :
        The Updater has started; the target application's name is 'myApp'.  Time started:  2006_03_22_14:18:35.

    [DownloaderManager.IsServerManifestDownloaded] :
          DOWNLOAD STARTED:   Downloading manifest for the application 'myApp'.  Time started: 2006_03_22_14:18:35
      

    [DownloaderManager.IsServerManifestDownloaded] :
          SOURCE FILE:  'http://localhost/AppUpdates/ServerManifest.xml' 
      

    [DownloaderManager.IsServerManifestDownloaded] :
          DEST FILE:  'E:\MyGod\YourApp\ServerManifest.xml' 
      

    [ServerApplicationInfo.Deserialize] :
        Reading Server Manifest file from 'E:\MyGod\YourApp\ServerManifest.xml' to deserialize into a ServerApplicationInfo object.
      

    [DownloaderManager.IsServerManifestDownloaded] :
        Server Manifest successfully downloaded to location 'E:\MyGod\YourApp\ServerManifest.xml'.
      

    [ClientApplicationInfo.Deserialize] :
        Reading the configuration file 'E:\MyGod\YourApp\AppStart.exe.config' to deserialize it into a ClientApplicationInfo object.
      

    [DownloaderManager.ClientMustBeUpdated] :
        The version currently on the client for application 'myApp' is 1.0.0.0 and the version on the server is 2.0.0.0.
      

    [DownloaderManager.BeginFileDownloads] :
        The local files must be updated for the application 'myApp'.
      

    [DownloaderManager.DownloadApplicationFiles] :
        Manifest downloaded, now commencing download of application files for application 'myApp'
      to destination temporary folder 'E:\MyGod\YourApp\temp\'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ApplicationUpdater.xml'
    DEST:   'E:\MyGod\YourApp\temp\ApplicationUpdater.xml'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Interfaces.xml'
    DEST:   'E:\MyGod\YourApp\temp\Interfaces.xml'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ManifestUtility.exe'
    DEST:   'E:\MyGod\YourApp\temp\ManifestUtility.exe'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ManifestUtility.pdb'
    DEST:   'E:\MyGod\YourApp\temp\ManifestUtility.pdb'
      

    [DownloaderManager.BeginFileDownloads] :
        Status updated with job id '1dd202f9-3f6b-48df-9fda-6b70c1ac7b9e' for the application 'myApp'.
      

    [BITSDownloader] :
        The BITS service returned an error for the job with the ID '1dd202f9-3f6b-48df-9fda-6b70c1ac7b9e';
      the job's name and description are 'BITS_Files_Download_Job' and 'BITS_Files_Download_Job'. 
      The BITS service error message for this job is
      'The requested URL does not exist on the server.

    '.
      This job has been canceled, and the DownloaderManager will attempt it again.  If you see this error frequently, you may have a mis-configuration, or another
      administrator process/user is canceling BITS jobs.
      It is also possible that some mis-configuration of the Manifest file is causing BITS to have trouble with a source or destination path;
      be sure that all SOURCE paths are valid URLs, and that all DESTINATION paths are valid LOCAL UNC paths--__shares are not allowed__.

    [DownloaderManager.RunDownloader] :
        Checking on updates for application 'myApp'.
      

    [DownloaderManager.IsServerManifestDownloaded] :
          DOWNLOAD STARTED:   Downloading manifest for the application 'myApp'.  Time started: 2006_03_22_14:20:36
      

    [DownloaderManager.IsServerManifestDownloaded] :
          SOURCE FILE:  'http://localhost/AppUpdates/ServerManifest.xml' 
      

    [DownloaderManager.IsServerManifestDownloaded] :
          DEST FILE:  'E:\MyGod\YourApp\ServerManifest.xml' 
      

    [ServerApplicationInfo.Deserialize] :
        Reading Server Manifest file from 'E:\MyGod\YourApp\ServerManifest.xml' to deserialize into a ServerApplicationInfo object.
      

    [DownloaderManager.IsServerManifestDownloaded] :
        Server Manifest successfully downloaded to location 'E:\MyGod\YourApp\ServerManifest.xml'.
      

    [ClientApplicationInfo.Deserialize] :
        Reading the configuration file 'E:\MyGod\YourApp\AppStart.exe.config' to deserialize it into a ClientApplicationInfo object.
      

    [DownloaderManager.ClientMustBeUpdated] :
        The version currently on the client for application 'myApp' is 1.0.0.0 and the version on the server is 2.0.0.0.
      

    [DownloaderManager.BeginFileDownloads] :
        The local files must be updated for the application 'myApp'.
      

    [DownloaderManager.DownloadApplicationFiles] :
        Manifest downloaded, now commencing download of application files for application 'myApp'
      to destination temporary folder 'E:\MyGod\YourApp\temp\'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ExceptionManagement.Interfaces.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.Interfaces.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.pdb'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.pdb'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ApplicationUpdater.xml'
    DEST:   'E:\MyGod\YourApp\temp\ApplicationUpdater.xml'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ApplicationUpdater.dll'
    DEST:   'E:\MyGod\YourApp\temp\Microsoft.ApplicationBlocks.ApplicationUpdater.dll'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/Interfaces.xml'
    DEST:   'E:\MyGod\YourApp\temp\Interfaces.xml'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ManifestUtility.exe'
    DEST:   'E:\MyGod\YourApp\temp\ManifestUtility.exe'
      

    [DownloaderManager.DownloadApplicationFiles] :
       
    SOURCE: 'http://localhost/AppUpdates/2.0.0.0/ManifestUtility.pdb'
    DEST:   'E:\MyGod\YourApp\temp\ManifestUtility.pdb'
      

    [DownloaderManager.BeginFileDownloads] :
        Status updated with job id 'ea23d11b-0efa-4628-b03f-e426868364cd' for the application 'myApp'.
      

    [BITSDownloader] :
        The BITS service returned an error for the job with the ID 'ea23d11b-0efa-4628-b03f-e426868364cd';
      the job's name and description are 'BITS_Files_Download_Job' and 'BITS_Files_Download_Job'. 
      The BITS service error message for this job is
      'The requested URL does not exist on the server.

    '.
      This job has been canceled, and the DownloaderManager will attempt it again.  If you see this error frequently, you may have a mis-configuration, or another
      administrator process/user is canceling BITS jobs.
      It is also possible that some mis-configuration of the Manifest file is causing BITS to have trouble with a source or destination path;
      be sure that all SOURCE paths are valid URLs, and that all DESTINATION paths are valid LOCAL UNC paths--__shares are not allowed__.
         在Block中提供的例程SelfUpdating也出现同样的问题,不知道是什么问题???
         IIS日志如下:
    #Software: Microsoft Internet Information Services 5.1
    #Version: 1.0
    #Date: 2006-03-22 06:18:42
    #Fields: time c-ip cs-method cs-uri-stem sc-status
    06:18:42 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:18:54 127.0.0.1 HEAD /AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb 404
    06:19:33 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:19:42 127.0.0.1 HEAD /AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb 404
    06:20:38 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:20:47 127.0.0.1 HEAD /AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb 404
    06:21:31 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:22:38 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:22:44 127.0.0.1 HEAD /AppUpdates/2.0.0.0/Microsoft.ApplicationBlocks.ExceptionManagement.pdb 404
    06:23:27 127.0.0.1 GET /AppUpdates/2.0.0.0/ 302
    06:23:27 127.0.0.1 GET /AppUpdates/2.0.0.0/ 200
    06:23:31 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:24:39 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:25:32 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:26:39 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:27:25 127.0.0.1 GET /AppUpdates/2.0.0.0/ 302
    06:27:25 127.0.0.1 GET /AppUpdates/2.0.0.0/ 200
    06:27:32 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:28:40 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:29:34 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206
    06:30:42 127.0.0.1 GET /AppUpdates/ServerManifest.xml 206

  • 相关阅读:
    body标签中l的相关标签
    PostgreSQL&PostGIS完全安装
    PostgreSQL常用函数
    Linux 路由 学习笔记 之一 相关的数据结构
    OSPF学习中的问题
    对TCP重传的进一步认识
    TCP 接收窗口自动调节
    [转]struct 用法深入探索
    Memcached缓存瓶颈分析
    C++的try_catch异常
  • 原文地址:https://www.cnblogs.com/bearhb/p/355845.html
Copyright © 2011-2022 走看看