40901

Word not connecting to WebDAV server

I'm currently implementing the Class 2 WebDAV server on my company's MVC / noSQL web app. I'm developing it locally on my machine using visual studio 2013, IIS 8.5, Windows 8.1 and word 365. The documents are stored in the noSQL database.

I've managed to get it working in the past, however recently word refuses to connect to the WebDAV server. When I click the document link it open word and the following error appears:

{ correct web address} cannot connect to server.

I have used your built in logging tool and fiddler to see if any requests are made to the server and there are none.

Are there any steps or suggestion you can make to help me debug this problem.

Answer1:

After reading the documentation a few times and trial and error I found that word was caching in the registry. I followed the instructions and rebuilt my project and it seems to have worked.

http://www.webdavsystem.com/server/documentation/ms_office_read_only

Clear Microsoft Office WebDAV cache in registry. Microsoft Office reads WebDAV server options when connecting to server first time and stores them for later use. If your server settings has changed during development (or you just fixed some server issues) you may need to delete this settings. The Microsoft Office WebDAV cache is stored under the key:

HKEY_CURRENT_USER\Software\Microsoft\Office\\Common\Internet\Server Cache\

To clear cache just delete all keys under this key. In a development environment we suggest always clearing the cache if your WebDAV server class has changed or after authentication scheme has changed. As an alternative to deleting cache, you can just reconfigure your server to run on a different port.

Note that in production environment usually you do not need to clear this cache or change port as soon as you server settings do not change often while Microsoft Office will re-request server options after some time.

Answer2:

As soon as your code worked in the past and now stopped working I guess that the trial period, which is 1 month, of IT Hit WebDAV Ajax Library has ended. Are there any errors in the web browser console? To start a new trial period just redownload it here.

Recommend

  • IE7 stops making network requests after a while
  • Using web client in Silverlight
  • Windows Phone 7 sniffer
  • Generating random numbers directly inside a .htaccess file
  • How do I import an existing Grails 3 (3.0.12) project in IntelliJ 15
  • File extension of zlib zipped html page?
  • jquery validation - waiting for remote check to complete
  • Click on button in another program - FindWindow, C#
  • VSCode change debug shell to bash on windows
  • Detecting null parameter in preprocessor macro
  • Does Apple allow the usage of sysctl.h within iOS applications?
  • Azure webjobs output logs indexing taking very long
  • ThreadStatic in asynchronous ASP.NET Web API
  • How do I display a dialog that asks the user multi-choice questıon using tkInter?
  • Sequential (transactional) API calls in angular 4 with state management
  • Access Android Market through SSH tunnel
  • Webgrid not refreshing after delete MVC
  • How do I get HTML corresponding to current DOM tree?
  • Content-Length header not returned from Pylons response
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • JQuery Internet Explorer and ajaxstop
  • JSON response opens as a file, but I can't access it with JavaScript
  • Moving mysql files across servers
  • Jquery UI tool tip close icon
  • Meteor: Do Something On Email Verification Confirmation
  • Cannot resolve symbol 'MyApi'
  • How to get address from latitude and longitude android google map v2 [duplicate]
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Perl system calls when running as another user using sudo
  • Can I make an Android app that runs a web view in Chrome 39?
  • Change an a tag attribute in JavaScript based on screen width
  • How to make Safari send if-modified-since header?
  • Web-crawler for facebook in python
  • Traverse Array and Display in markup
  • Proper folder structure for lots of source files
  • using HTMLImports.whenReady not working in chrome
  • Qt: Run a script BEFORE make
  • LevelDB C iterator
  • Linking SubReports Without LinkChild/LinkMaster
  • Net Present Value in Excel for Grouped Recurring CF