Go to the Sites node in IIS Manager and select Add Website in the context menu. Grant permissions on the Storage folder. If your files are stored in the file system, grant Read, Write, and Modify permissions to your Application pool identity in the \Samples\\App_Data\WebDAV\Storage\ folder. In case you experience any issues with your WebDAV server examine your log files for any errors and exceptions logged. Your WebDAV server will create log files in this folder. Grant Read, Write, and Modify permissions to your Application pool identity in the \Samples\\App_Data\WebDAV\Logs\ folder: In case you are using ApplicationPoolIdentity and your application pool name is DavAppPool specify IIS APPPOOL\ DavAppPool in the Enter the object names to select field:Ĭlick OK in the Select Users or Groups dialog. Go to Security tab in Properties dialog and click Edit.
Right-click on the \Samples\\ folder in Windows Explorer and select Properties. Grant Read permissions to your application pool identity in \Samples\\ folder. Grant permissions on the sample root folder. This Windows account is created and managed automatically by IIS, you do not need to create it manually. In case you named your pool 'DavAppPool', the name of the Windows account is ‘IIS APPPOOL\DavAppPool’. The name of the Windows account associated with ApplicationPoolIdentity identity depends on your application pool name. Understanding under which identity your application is running, is important, as you will be granting permissions in the file system to Windows account associated with it at later steps. To verify or change your application pool identity, select the new application pool in Applications Pool list and select Advanced Settings : Net Framework 3.5 and recompile the project.īy default, your WebDAV web application will run under the ApplicationPoolIdentity.
Net 2.0 pool you must set a reference to located in \Program Files (x86)\IT Hit\WebDAV Server Engine\\Server\bin\.Net 3.5\ folder, change the target framework of your project to be the. Net 2.0 Application pool, as well as it supports both Integrated and Classic pool mode, it is recommended to use. Net Framework 3.5 and higher, that is it can run on. While IT Hit WebDAV Server Engine supports both. Fill in the application pool name in the App Pool Dialog and click OK: Go to Application Pools node and select Add Application Pool in the context menu. On the screenshot below you can see ASP.NET 4.5 feature is being enabled on Windows Server 2012: To run your application in IIS, you must have ASP.NET 3.5 or later feature enabled on your computer.
How to Configure Your WebDAV Server in IISīelow we will describe how to configure your WebDAV server in IIS.