AppUpdater Not Working

Anybody else had any troubles getting it working   I've got the folder in IIS set to allow directory browsing, but after AppUpdater.DownloadUpdate() is called, I get this error...


5/10/2004 6:02:47 PM:  UPDATE FAILED with the following error message:
System.Net.WebException: The remote server returned an error: (501) Not Implemented.
   at Microsoft.Samples.AppUpdater.AppDownloader.Download()
   at Microsoft.Samples.AppUpdater.AppDownloader.RunThread()


What the heck does Not Implemented mean   The files with the updated versions sits on a Windows Server 2003 box.  Are there known issues with this   Or am I maybe doing something wrong   I've checked the UpdateUrl property and it is correct.

Thanks!


Answer this question

AppUpdater Not Working

  • NailSR

    in IIS5 (Windows 2000) WebDav is already turned on, so you should just be able to check the "directory browsing" checkbox for the folder and that's it.
  • yves_teissier

    I had the same problem and found that the webdav web service extension was prohibited.
    If you open up IIS manager for the web server you should see a folder 'Web Service Extensions' if you click on that there should be a listing for WebDav that by default is set to prohibit.  If you set this to allow it should work.

    This may not always be the solution but it was in my case.

  • kaja

    Unfortunately no...I'm at TechEd and my notes are at home.  Basically though what you need to do is setup WebDav (not enabled on Win2K3 by default) and check the Directory Browsing Checkbox in IIS for that folder.  I don't remember if there's anything after that.  HTH
  • rw-ral

    yah, i'm really sorry, i forgot to post this, but i found that out.  i'm going to put up a blog entry on everything you need to do to get everything for the appupdater on the server to work correctly

    thanks for the post, btw

  • Fabio

    I'm having this same problem on a 2003 box. Do you have the solution posted anywhere
  • Duncan R. Campbell

    Erik,

    I tried everything on my downloading web server setting and directory security and still not able to get it work when the client application running outside our network. Are you aware of any possible security issues above the iis server  I wonder if any network firewall could cause this problem.  The exact error message I got is: 

    The auto-update of this application failed with the following error message:
    Download of a new update from "http://www.mycompay.com/myapplication/1.2.00/" failed with the network error: the remote server returned a error:(501) Not Implemented.

    Again, if my client user sitting inside of network, everything works fine.

    thanks.

    Pan


  • jschlade

    I had the same problem, and all I had to do was go to IIS and click on Web Server Extentsions and then click on WebDAV and give it the allow permissions.

    After this it worked with no problems.

    Ernie Morin

  • Dale Dufek

    Really get frustrated. I tried all kinds of work around. Setting the download directory as iis application did not work either. I wonder if there is any security setting on iis which I did not find. My appupdater download files are on my web server which is accessed by the client app via an external URL. I an not aware of an difference between a client app inside or outside of our network, but the inside network client get updated fine and the outside network get the “the remote server returned an error: (501) Not implemented.” message.
    Any further idea/suggestion

    Thanks a lot. 

    Pan

  • mbieweng

    Hi,

    I have the same problem you experienced a month ago, so I bet you already know how to fix it. 

    I got the "The remote server returned an error: (501) Not Implemented." message only when the end user access from outside our network. If the end user is inside the network, everything works fine. 

    Would you help me out!

    Thanks,

    PAN

  • Pramod BNS

    How do I do this with IIS 5 on Win2000 server
  • David Emigh

    Definitely a security issue.  Honestly, I'm not really that familiar with the differences myself, but I'm sure if you go into explorer and go to the properties of the folder and go to the security tab you can probably figure something out.  As a test, you can give "Everyone" full permissions and it should work.  Obviously, you'll have to figure out exactly what permissions are needed, but still, that should help you figure it out.
  • Kent Waldrop Fe08

    It's checked, but I still get the ...not implemented... message. 
    Could it have anything to do with front page server extentions  

  • ronks

    No, it shouldn't have anything to do with FP Extensions.  Open up a browser and make sure you can go to that folder and have it show the files and links to them.  If so, um...I'm not sure...maybe play around with making that folder an IIS application   If you do that, you have to go in and tell it to allow downloading of .config files (if you have any in your app).  Honestly though, it's something you're going to have to play around with to figure out.  It's hard to just say "do this" and it'll work  :-| 
  • Nestor N

    I believe that this problem for Windows 2003 Server has to do with WebDAV being Installed and Enabled.  I had the same problem today and WebDAV was installled, but the permissions were Prohibited.
  • AppUpdater Not Working