If a data adapter receives a 405 "Method not Allowed" response from the Data Replication Server while attepting to upload schema or data, it is possible that the WebDAV module is installed in IIS and needs to be disabled for the Data Replication Server web app. To disable the WebDAVModule, edit the web.config file.


This requires a slight change to the web.config file of the Data Replication Server web app. By default, the location is:

c:\inetpub\wwwroot\DRS\web.config.


Edit the web.config file by editing the <system.webServer> section.

The eventual <system.webServer> section might look something like this:

<system.webServer>

    <httpErrors existingResponse="PassThrough" errorMode="Detailed" />

    <handlers>

      <remove name="WebDAV"/>

      <remove name="ExtensionlessUrlHandler-Integrated-4.0" />

      <remove name="OPTIONSVerbHandler" />

      <remove name="TRACEVerbHandler" />

      <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />

    </handlers>

<modules>

<remove name="WebDAVModule"/>

</modules>

   ...

</system.webServer>


If the Windows feature "WebDAV" is turned on, please see:

https://mico.freshdesk.com/solution/categories/1000124773/folders/1000204953/articles/1000143248-why-do-i-receive-a-403-error-when-accessing-the-data-replication-server-web-app-



Restart the Data Replication Server web application and attempt to upload schema or data again and this error should no longer be encountered.