<div dir="ltr">Yes, MapProxy runs as ApplicationPoolIdentity which makes a user with an application pool name. In this case - 'mapproxy'. And so there is an IIS worker process (w3wp.exe) run under this user, mapproxy.<div>
For the whole mapproxy folder I gave permissions for IIS_IUSRS group. Before that mapproxy didn't run as it was unable to make log file. I've tried to give other permissions, it didn't work. I guess it's not because of permissions, but because of async access.</div>
<div>I've looked in lock files which mapproxy is making. There is a process id of worker process. So does it mean that it is somehow blocking itself?</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Regards,</div>
<div dir="ltr">Max.<br><div><br></div></div></div>
<br><br><div class="gmail_quote">2013/8/1 Oliver Tonnhofer <span dir="ltr"><<a href="mailto:olt@omniscale.de" target="_blank">olt@omniscale.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<div class="im"><br>
On 30.07.2013, at 13:12, íÁËÓÉÍ èÉÔÒÉΠwrote:<br>
> I've got some strange problem while I'm trying to request first 3 zoom levels within Mapproxy.<br>
> So here it is. There is a MapProxy installed on Windows Server 2008 and working on IIS+isapi_wsgi. When I access one of my layers through the demo page - first 3 zoom levels return blank image and then everything works well. And in the log file there are following errors, saying that permission is denied (although permissions were set):<br>

</div>[...]<br>
<div class="im">> IOError: [Errno 13] Permission denied: 'C:\\inetpub\\wwwroot\\mapproxy\\config\\..\\cache_data\\obl_kart\\hydro_cache_EPSG4326\\tile_locks\\750bd8b52916e702d64473cb1c4512f8-4-4-5.lck'<br>
><br>
> If I run that config with development server everthing works well and if access tiles for those zome levels, wich were failed to load, then they aso will work on IIS.<br>
<br>
</div>Hmm, I'm not a Windows/IIS expert. On Linux it is typical that you run server applications as another user then the user you use for administration. Are you sure that the user that runs MapProxy in IIS also has the same permissions?<br>

<br>
<br>
<br>
Regards,<br>
Oliver<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Oliver Tonnhofer š š| Omniscale GmbH & Co KG š š| <a href="http://omniscale.com" target="_blank">http://omniscale.com</a><br>
<a href="http://mapproxy.org" target="_blank">http://mapproxy.org</a> | <a href="https://github.com/olt" target="_blank">https://github.com/olt</a> š š| @oltonn<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div></div>