原来是2003 Server的问题

更换url后就可以了获得实例了,于是想到可能是服务器的问题了。把2003 server自带的防火墙关掉后还是不行。只好把新版本发布服务端放到同事的机器上测试,她的是2000 server。追踪进程发现:已经OK了!但路径居然是老的!

再追踪!居然是客户端缓存!只好修改了一下自动更新组件代码了。加了这段:
public void RunThread()
  {
   Debug.WriteLine("APPMANAGER:  Starting Update");

   //Load the AppStart config File
   string ConfigFilePath =Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
   ConfigFilePath = Path.Combine(Directory.GetParent(ConfigFilePath).FullName,"AppStart.config");
   Config = AppStartConfig.Load(ConfigFilePath);
   AppMan.Manifest.State.DownloadSource = AppMan.UpdateUrl;
 ..................

原文地址:https://www.cnblogs.com/babyblue/p/32812.html